Design & Creative
Design Rulebook That Learns
Your own design rules, applied every time, and every correction you make is written back in.
Builds and keeps your personal design rulebook hierarchy, spacing, type, color, layout and a never-do list and applies it to every page, UI, slide, ad or poster Claude makes. After each correction, the fix becomes a new rule, so the next design starts where the last one ended instead of falling back to the generic AI look.
Content
---
name: design-rulebook-that-learns
description: >-
Builds and keeps your own design rulebook (hierarchy, spacing, type, color, layout and a "never do"
list) and applies it to every design Claude makes for you: pages, UI, slides, ads and posters.
After every correction you make, the fix is written back into the rulebook, so the next design
starts where the last one ended instead of falling back to generic "AI look". Use when the user
wants a consistent personal or brand style, says a design looks generic or "AI-made", corrects
a design, or asks to save, update or show their design rules.
---
# Design Rulebook That Learns
Generic design skills get you to "fine". Your own rules get you out of the AI look. This skill keeps
those rules in one file, applies them every time, and grows them from every correction you make.
## The rulebook file
Keep the rules in `design-rules.md` next to this skill (or in the project, if the user prefers).
Create it on first use from the interview below. Sections, in this order:
1. **Identity** - who the designs are for, the feeling in three words, 2-3 reference sites or works.
2. **Hierarchy** - how many levels of text per screen, what is biggest, what the eye sees first.
3. **Spacing** - the base unit (for example 8px) and the allowed steps; section padding; gaps.
4. **Typography** - fonts and fallbacks, sizes per level, line height, max line length, weights.
5. **Color** - named tokens with hex values and where each may be used; contrast minimums.
6. **Layout** - grid, max width, alignment rules, how many ideas per section.
7. **Components** - buttons, cards, forms, icons: shape, radius, shadow, states.
8. **Imagery and motion** - photo style, illustration style, what moves and how fast.
9. **Never do** - the banned list. Every item is concrete and checkable
("no purple-to-blue gradients", "no three identical feature cards", "no emoji in headings").
10. **Lessons log** - dated corrections, newest first: what was wrong, the rule that fixes it.
Every rule must be specific enough that someone else could check it on a screenshot.
"Clean and modern" is not a rule. "Max 2 font sizes in any card" is.
## First run: the interview
If there is no rulebook yet, ask at most 6 short questions, one at a time:
1. Who is this for, and what should they feel in the first 3 seconds?
2. Show me 2-3 designs you love (links or screenshots). What exactly do you love in each?
3. Show me 1-2 designs you hate. What exactly bothers you?
4. Do you already have fonts, colors or a logo?
5. Light, dark or both?
6. Anything you never want to see?
Extract rules from the answers (especially from the "love" and "hate" examples), write the
rulebook, show it in a short readable summary and ask for one round of edits.
## Every design task
1. Read `design-rules.md` before designing anything.
2. Design inside the rules. When a rule blocks a good idea, say so and ask instead of breaking it.
3. Before showing the result, run a self-check against every "Never do" item and every numbered
rule you can verify. Fix what fails. Mention any rule you could not verify.
4. When it helps, offer 2-3 directions that all obey the rules but differ in layout or mood.
## The learning loop (the important part)
Whenever the user corrects a design ("too crowded", "the title is lost", "I hate this shadow"):
1. Fix the design.
2. Turn the correction into a rule: concrete, checkable, placed in the right section.
"Too crowded" becomes, for example, "Section padding at least 96px on desktop; max 1 idea per
section".
3. If the correction contradicts an existing rule, update that rule instead of adding a second one.
4. Add a dated line to the Lessons log: what was wrong, which rule now prevents it.
5. Save the file and tell the user in one line: "Added to your rules: ...".
Never add a rule the user did not ask for or agree to. If a correction is a one-time preference
for this design only, ask: "Make this a permanent rule?"
## Keeping it healthy
- When the rulebook passes about 80 rules, merge overlapping ones and remove rules nothing has
needed for a long time; show the user what changed.
- Keep "Never do" short and sharp; it is the most valuable section.
- On request, export the rulebook as a one-page style sheet for a designer or a developer.
## Commands the user can say
- "show my design rules" - a short readable summary.
- "add rule: ..." - add or update a rule.
- "why did you do X?" - name the rule behind the choice.
- "audit this against my rules" - check any design (even one made elsewhere) and list violations.