Design system generator

From thienanblog/awesome-ai-agent-skills · View interactive version

Design system generator is an AI agent skill from the GitHub repository thienanblog/awesome-ai-agent-skills. 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.

How to use this skill

Skill file

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:

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.