r/ChatGPTCoding • u/Longjumping_War_8480 • 2h ago
Resources And Tips I need your help — trying to stop AI coding agents from generating generic UI slop without bloating context
Every time I let an AI coding agent build a frontend with no design instructions, it outputs the exact same purple-gradient SaaS template. When I paste a huge style guide into system rules instead, it ignores half of it and quality actually drops.
To fix this, I've been putting together an open-source stage router that splits UI work into 7 stages (direction, tokens, copy, layout, motion, and a final browser check) so the agent only reads 3–5 focused design files per step instead of hundreds of rules at once.
The 3 screenshots above are what it produced, and I genuinely need outside eyes to improve it:
Where do these 3 builds still look obviously "AI-generated" to you?
What UI rules or edge cases do your coding agents constantly mess up that I should add to the checklist?
If anyone wants to test the repo on their own project and tell me what breaks, let me know in the comments and I'll drop the link.



1
u/Longjumping_War_8480 2h ago
Thanks in advance for any feedback! Here is the open-source repo (MIT, free):
https://github.com/landie3310-bot/Design-master
Install in one command:
`npx skills add landie3310-bot/Design-master`
1
u/Ok_Woodpecker_9104 8m ago
mine went wrong most in the tokens step, i built a thing that pulls a design system off a live site. tailwind pads every box-shadow with rgba(0,0,0,0) 0px 0px 0px 0px rings, so if you read computed styles those land in your shadow scale as real layers
picking the background by luminance is another one. a dark page with a few white cards came out white, sentry and shopify and resend all did. text colors by luminance gave black on black. pick by contrast against the background the viewport actually shows
and if the tokens step writes a tailwind v4 theme block, --spacing-4 is the value behind p-4 and gap-4, so if you write that key it resizes every utility in the app