agentleFS
thienanblogthienanblog/awesome-ai-agent-skills/skills/design-system-generator/SKILL.md

design-system-generator

Skill68 starsChanged 7 months agoApache-2.0View on GitHub

Create or revise a project design system covering tokens, components, accessibility, motion, and visual verification. Use when the durable design-system document is the deliverable, rather than a one-off UI edit.

4 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

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

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run in the main conversation by default.

    line 12
  2. Distinctive:

    Read existing design docs, brand references, representative screens, shared components, theme configuration, tokens, and build tooling.

    line 16
  3. Very specific:

    Use TEMPLATE_DESIGN_SYSTEM.md as a menu of topics.

    line 22
  4. Distinctive:

    Keep statements actionable and project-specific.

    line 34
  5. Distinctive:

    If discoverability needs an instruction-file link, use the minimal pattern in examples/AGENTS.patch.md, preserving any existing …

    line 40
  6. Distinctive:

    Check documented paths, token names, component APIs, and build claims against their owners.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 4 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

Produce a concise design system grounded in the product's actual stack and visual language. Document decisions that make future UI work consistent.

Delegation

Run in the main conversation by default. Delegation can increase usage: obtain explicit approval for the proposed agent count and scope before using subagents. Reuse that approval within its bounds; ask again before expanding the approved count or scope.

Inspect before proposing

Read existing design docs, brand references, representative screens, shared components, theme configuration, tokens, and build tooling. Infer framework, CSS approach, themes, browser support, and export formats from those sources. Ask only about unresolved product choices that materially affect the document.

Preserve an established coherent system. For a new product, recommend one suitable direction within the user's constraints; compare alternatives only when useful or requested. Do not add a component library or migrate build tooling merely to match this skill's examples.

Write the project contract

Use TEMPLATE_DESIGN_SYSTEM.md as a menu of topics. Omit inapplicable sections and replace examples with verified project decisions. Cover the relevant:

  • surfaces, themes, devices, and language or RTL constraints;
  • token ownership, typography, color, spacing, layout, and motion;
  • shared components and the interaction states each actually supports;
  • extension rules for tokens, components, utilities, and local exceptions;
  • keyboard interaction, visible focus, contrast targets, semantic markup, and reduced motion;
  • visual verification at comparable states and viewports;
  • asset loading and cache invalidation responsibilities when the design system owns them.

Link to existing build or deployment guidance for pipeline details. Hashed filenames and manifests are one cache strategy, not a required new build system. Avoid documenting support for frameworks or themes the product does not use.

Keep statements actionable and project-specific. The document serves the product team; omit prompt-writing advice and generic framework tutorials.

Outputs

Update the existing design-system owner or create DESIGN_SYSTEM.md at the repository's conventional location. Export CSS or JSON tokens only when requested or needed by the agreed implementation. Read examples/tokens.css and examples/design-tokens.json only for those formats; examples/manifest.example.json is relevant only to a manifest-based pipeline.

If discoverability needs an instruction-file link, use the minimal pattern in examples/AGENTS.patch.md, preserving any existing AGENTS.md/CLAUDE.md ownership or symlink. Do not add duplicate instruction files or repeated design rules.

Verify

Check documented paths, token names, component APIs, and build claims against their owners. Inspect representative rendered components when making visual decisions or changing tokens; report when visual validation could not run. Remove placeholders, contradictions, and duplicate sources of truth.

Report the document and any exports, the material decisions, verification performed, and unresolved choices.

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.