From devops-skills
Generates or updates a project-specific DESIGN_SYSTEM.md for consistent UI/UX across SPAs, server-rendered sites, and hybrid systems. Covers design tokens, component rules, accessibility gates, visual QA, and Playwright screenshot guidance.
How 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:
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.
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.
Before generating or updating DESIGN_SYSTEM.md, inspect existing UI source of truth:
AGENTS.md, CLAUDE.md, equivalent)Do not invent tokens, classes, wrappers, animation rules, or component architecture when a project-owned source already defines them.
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).
- Reuse shared components, wrappers, utilities, and motion rules before creating new ones.
- Implement component states (hover/focus/disabled/loading/error).
- For UI changes, capture the target element/region before full-page screenshots.
- 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.
npx claudepluginhub thienanblog/awesome-ai-agent-skills --plugin devops-skillsArchitects design systems with tokens, components, documentation, and governance. Use when building or scaling a component library, design tokens, theming, or Figma-to-code pipelines.
UI design system creation and management. Use for design tokens, component specs, color palettes, typography scales, spacing systems, and visual consistency audits.
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.