Help us improve
Share bugs, ideas, or general feedback.
From devops-skills
Generates a project-specific DESIGN_SYSTEM.md with design tokens, component rules, accessibility gates, and production guidance for SPAs, traditional sites, or hybrid systems.
npx claudepluginhub thienanblog/awesome-ai-agent-skills --plugin project-development-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/devops-skills:design-system-generatorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill generates a project-specific **`DESIGN_SYSTEM.md`** that enforces consistent UI/UX across:
Applies agentic design patterns to frontend design token management, component scaffolding, multi-tenant theming, Keycloak exports, and accessibility UI generation.
Generates token-bound web components from design tokens and aesthetic intent, implementing with Tailwind/CSS and React/Vue/Svelte patterns while enforcing no hardcoded design values.
Reads a DESIGN.md file (open standard from Google Labs) and builds brand-consistent UI from its design tokens. Use when a DESIGN.md is present or user provides one.
Share bugs, ideas, or general feedback.
This skill generates a project-specific DESIGN_SYSTEM.md that enforces consistent UI/UX across:
The design system must be component-based, portable, and practical for real implementation.
When to use this skill:
Ask these questions before generating the document:
1. Project type: SPA / Traditional / Hybrid
2. Primary framework(s): React/Vue/Svelte/Angular/None + backend/framework
3. Existing UI/template/design system already in use? (yes/no)
4. CSS approach preference:
a) Tailwind/utility-first
b) SCSS/SASS
c) CSS Modules
d) styled-components/emotion
e) Component library (MUI/Ant/etc.)
5. Do you need light mode only, light+dark, or multi-theme?
6. Accessibility target (recommend WCAG AA) and keyboard support expectations
7. Browser/device support constraints
8. i18n/RTL requirements (if any)
9. Do you want design tokens exported? (CSS vars / JSON / both)
Reply examples:
- Short: `1a 2b 3no 4a 5b 6aa 7modern 8no 9both`
- Detailed: `SPA with Vue 3, no existing design system, using Tailwind, light+dark theme, WCAG AA, modern browsers only, no RTL, export both CSS vars and JSON`
If the project already uses a template or styling system, adapt to it.
Do not provide 3-5 "options" unless the user requests comparison. Pick one approach and commit.
DESIGN_SYSTEM.mddesign-tokens.jsontokens.cssfont-display: swap, limit weights)DESIGN_SYSTEM.md is a team artifact:
Generate a tailored document using this structure:
Include an explicit section stating:
After generating DESIGN_SYSTEM.md, also output a short patch snippet to add to AGENTS.md and/or CLAUDE.md:
## Design System
All UI components and pages must follow `DESIGN_SYSTEM.md`:
- Use design tokens (no hardcoded colors/sizes).
- Implement component states (hover/focus/disabled/loading/error).
- Meet accessibility and performance requirements.
Before generating DESIGN_SYSTEM.md, read these reference files:
TEMPLATE_DESIGN_SYSTEM.md - Use this as the base structure for generationexamples/tokens.css - Reference for CSS variable token formatexamples/design-tokens.json - Reference for JSON token export formatexamples/manifest.example.json - Reference for asset manifest structureexamples/AGENTS.patch.md - The exact snippet to add to AGENTS.md/CLAUDE.mdDESIGN_SYSTEM.md is tailored to the user's stack and constraintsAGENTS.md / CLAUDE.md patch snippet referencing DESIGN_SYSTEM.mdThis skill is part of the awesome-ai-agent-skills community library.