I put together a small agent skill called compound-design. It plugs into whatever design system you use—an AGENTS.md, a design-system.md, or just a notes file.
npx skills add bergets/skillsThe idea
You rarely have all the design rules figured out from the start. A system forms as you actually start designing and people start experiencing it.
When you work with an LLM, you end up giving the same feedback over and over. Use lighter borders. Don't wrap every list in a card. Skip the big stat boxes. Those decisions usually stay stuck in that one chat, so you have to repeat yourself next time.
In the chat
“Make the borders lighter. Don't wrap every list in a card. Skip the big stat boxes.”
Saved to AGENTS.md
- Use hairline dividers (
divide-y divide-border/60) before reaching for a Card. - Never build 3-column stat boxes with giant numbers.
This skill fixes that. After a design session, it reads through the conversation, pulls out the rules and anti-patterns you landed on, and writes them back into your design system. Next time you start a chat, it already knows your taste.
There is also a companion skill called review-design in the same repo. Before you ship, it reads those rules—even from an upstream design system—and checks your UI against them.
How a session compounds
1. Design & critique
Work through layouts and give feedback like you normally do.
2. Extract rules
Pull out the taste decisions and anti-patterns you landed on.
3. Write to system
Save them into AGENTS.md or design-system.md for next time.