Design System Maintainer
Creates and maintains tokens, components, variants, usage rules, and documentation for scalable UI systems.
Skill summary
Copy-ready skill file
Paste this into your assistant rules file
Recommended targets: AGENTS.md, CLAUDE.md, .cursorrules, .windsurfrules
# Design System Maintainer ## Purpose Creates and maintains tokens, components, variants, usage rules, and documentation for scalable UI systems. ## When to Use - **"design system"** — Covers define tokens. - **"component library"** — Covers document components. - **"design tokens"** — Covers unify UI patterns. - **"variant API"** — Covers define tokens. ### AGENTS.md ```markdown # Design System Maintainer — AI Assistant Rules # Place this file in your project root as AGENTS.md Creates and maintains tokens, components, variants, usage rules, and documentation for scalable UI systems. ``` ## Operating Instructions 1. Collect the existing system — type scale, spacing, colour roles, component states 2. State the job the screen does and who uses it before drawing anything 3. Lay out on the shared grid and spacing scale rather than freehand positions 4. Design the empty, loading, long-content and error states alongside the happy path 5. Check contrast against the real background and the real type size 6. Hand off with numbers: sizes, weights, line heights, spacing, and the full state list ## Example Prompts - `"design system"` - `"component library"` - `"design tokens"` ## Verification Checklist - [ ] Every value used exists on the scale, or there is a stated reason it does not - [ ] Empty, loading, error and overflow states are all specified - [ ] Contrast was measured on the actual background at the actual size - [ ] The handoff includes realistic content lengths, not lorem - [ ] The skill file is placed at `AGENTS.md` in the project root - [ ] Tested with Windsurf to confirm the rules load and fire ## Integration Guide Use alongside **UI Guidelines Auditor** to validate designs against standards, or with **React Composer** to implement component patterns. ## Primary Use Cases - Define tokens - Document components - Unify UI patterns ## Difficulty **Advanced** — assumes deep familiarity with the domain; expect to edit the rules rather than accept them.
With the Design System Maintainer rules in AGENTS.md, ask:
“design system”
The assistant then takes on define tokens — the approach, the checks and the shape of the answer are fixed by the file before the first token is written.
What it is for
- Define tokens
- Document components
- Unify UI patterns
4 ways to trigger it
Skills in this category start from a system rather than a screen. Type scale, spacing rhythm, colour roles and component states are decided first, and the individual interface inherits them. That order matters: it is why the output tends to be a spec with numbers in it rather than a mood board described in adjectives.
Practices that matter in Design work
- Fix the spacing scale before you design the screen. Eight values used consistently beat twenty used arbitrarily.
- Design the empty, loading and error states. They are the ones users see first and the ones nobody demos.
- Test with realistic content lengths, including the longest string a real user could enter.
- Check contrast against the actual background, not the one in the mockup. Translucent layers change it.
- Hand off with numbers: sizes, weights, line heights, spacing, and the states that exist. Ambiguity becomes inconsistency later.
Start with AGENTS.md.
| Assistant | Rules file |
|---|---|
| Windsurf | .windsurfrules |
| OpenCode | AGENTS.md |
| Cline | .clinerules |
| GitHub Copilot | .github/copilot-instructions.md |
| Continue | .continuerc.json |
| Aider | .aider.conf.yml |
| Cody | .cody.json |
| Amazon Q | .amazon-q.json |
| CodeGPT | .codegpt.json |
| Replit | .replit |
| Claude | CLAUDE.md |
CLAUDE.md.cursorrules.windsurfrules- What does the Design System Maintainer skill do?
- Creates and maintains tokens, components, variants, usage rules, and documentation for scalable UI systems. The copy-ready file above carries the full rule set, the trigger phrases and the checks the assistant runs before it hands work back.
- How do I trigger the Design System Maintainer skill?
- Ask for the work using one of its trigger phrases — for example “design system”, “component library”, “design tokens”. Once the rules file is in place, assistants that read it also pick the skill up without the phrase.
- Which files should hold the Design System Maintainer skill?
- AGENTS.md, CLAUDE.md, .cursorrules, .windsurfrules. AGENTS.md is the one to start with; the rest exist so the same rules load in whichever assistant your team uses.
- Which assistants support the Design System Maintainer skill?
- Windsurf, OpenCode, Cline, GitHub Copilot, Continue, Aider, Cody, Amazon Q, CodeGPT, Replit, Claude. Any assistant that reads a plain-text rules file can use it, so the format matters more than the product.
- Is the Design System Maintainer skill hard to set up?
- It is rated advanced. It assumes deep familiarity with the domain, and you will probably edit the rule set rather than accept it as-is.
- What can I actually use the Design System Maintainer skill for?
- The documented jobs are define tokens, document components, unify ui patterns. Beyond those it still works — the rule set is instructions, and assistants follow it past the examples you give it.
- Does the Design System Maintainer skill send my code anywhere?
- No. The file is static text in your repository. What happens to your code afterwards depends on the assistant you run it in and that provider's own data policy.
Related Skills
Frontend Designer
Creates distinctive, production-grade frontend interfaces — typography, color, motion, spatial composition, and backgrounds that avoid generic AI aesthetics.
View skillUI Guidelines Auditor
Reviews UI code against web interface guidelines — accessibility, design quality, UX best practices, and compliance with modern standards.
View skillAccessibility Engineer
Audits and fixes accessibility issues for semantics, labels, focus, keyboard use, contrast, and screen readers.
View skillDashboard UX Designer
Designs dense, scannable dashboards for operational workflows, data comparison, filtering, and repeated action.
View skill