Hey all, Looking for real-world setups here. Our corporate design system and component library live in a central web project; that’s our absolute source of truth. I want AI coding agents (specifically tools like Claude Code) to strictly stick to it. If I ask it to review a frontend PR or write a new feature, I need it to use our exact components and design tokens. Zero rogue CSS, zero custom hex codes, no weird margins. The solution has to be portable. We have a bunch of separate repos, and I want to be able to drop a config or a script into any new project so the AI is instantly boxed into our design rules. Standard prompt engineering or stuff like CLAUDE.md feels way too fragile and prone to hallucinations as things scale. How are you actually handling this? Are you auto-generating local JSON schemas/tokens for the AI to read? Setting up brutal linters that reject the AI’s code if it tries to cheat? Or is there a cleaner way to hook an agent into a remote web project? Appreciate any insights or workflows that save you from constantly babysitting the AI’s CSS. Thanks! submitted by /u/EntropyGoAway
Originally posted by u/EntropyGoAway on r/ClaudeCode
