agentleFS
tanbopptanbopp/ai-development-framework/.agents/skills/design-system-generator/SKILL.md

design-system-generator

Skill1 starsChanged 19 days agoMITView on GitHub

Generates a per-project design system (tokens, typography, spacing, motion) from the PRD tone and approved stack, exported in the stack's format. Use after STACK.md is approved. design-taste-frontend is the only design generator.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After STACK.md is approved.

    line 11
  2. Very specific:

    Read the PRD, STACK.md, and .agents/rules/02-design-principles.md.

    line 14
  3. Very specific:

    If adopting a brand library from .agents/vendor/design-taste-frontend/, choose exactly ONE library and record the reason in DESIGN.md.

    line 18
  4. Very specific:

    Write docs/project/DESIGN.md and the token files.

    line 19
  5. Distinctive:

    Stop and request user approval (GATE 3).

    line 20

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Design System Generator

Trigger

After STACK.md is approved.

Process

  1. Read the PRD, STACK.md, and .agents/rules/02-design-principles.md.
  2. Identify the tone/brand from the PRD (formal, playful, clinical, editorial, etc.).
  3. Choose or create consistent tokens: color palette, typography (font, scale, weight hierarchy), spacing, radius, shadow, motion.
  4. Export tokens in the format the stack needs (CSS variables, Tailwind config, Style Dictionary, etc.).
  5. If adopting a brand library from .agents/vendor/design-taste-frontend/, choose exactly ONE library and record the reason in DESIGN.md.
  6. Write docs/project/DESIGN.md and the token files.
  7. Stop and request user approval (GATE 3).

Output Contract

DESIGN.md containing full tokens, the hard floor, soft preferences, and a brand justification for every override.

Checklist

  • Contrast of every text/background pair is at least 4.5:1
  • Three or more typography levels
  • Component states defined (default, hover, focus, disabled, loading, error)
  • Reduced-motion behavior defined
  • Overrides carry written justification

Prohibitions

  • Reusing another project's tokens because it is easier.
  • Adding colors or fonts after approval without updating DESIGN.md.
  • Using Hallmark or unslop to generate design (they audit only).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.