agentleFS
chatquillchatquill/claude-code-websites/.claude/skills/design-system/SKILL.md

design-system

Skill1 starsChanged 24 days agoMITView on GitHub

Writes the design system: component inventory, variants, states and usage rules derived from the feature specs and UX flows, mapped to shadcn/ui when the stack uses it. Use after the brand guide exists, when new components keep appearing ad hoc, or before building UI.

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-engine, team-level and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    setup-engine

    Configure the project's game engine and version. Pins the engine in CLAUDE.md, detects knowledge gaps, and populates engine reference docs via WebSearch when the version is beyond the LLM's training data.

    Also in 14 projects that use this

  • CoralGameSkill

    team-level

    Orchestrate level design team: level-designer + narrative-director + world-builder + art-director + systems-designer + qa-tester for complete area/level creation.

    Also in 13 projects that use this

  • lilangMaxSkill

    asset-spec

    Generate per-asset visual specifications and AI generation prompts from GDDs, level docs, or character profiles. Produces structured spec files and updates the master asset manifest. Run after art bible and GDD/level design are approved, before production begins.

    Also in 11 projects that use this

  • lilangMaxSkill

    create-control-manifest

    After architecture is complete, produces a flat actionable rules sheet for programmers — what you must do, what you must never do, per system and per layer. Extracted from all Accepted ADRs, technical preferences, and engine reference docs. More immediately actionable than ADRs (which explain why).

    Also in 11 projects that use this

  • lithStudySkill

    banner-design

    Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.

    Also in 46 projects that use this

  • +2 more from lilangMax

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When stack.styling is tailwind-shadcn, spawn tailwind-shadcn-specialist to map each primitive to a shadcn/ui component (or "custom: built …

    line 42
  2. Very specific:

    Add global rules: one primary action per view, spacing scale only, icon sizes, dark-mode behaviour, responsive breakpoints, and the process …

    line 59

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

Produces docs/design/design-system.md: the components the product actually needs, each with variants, states, accessibility behaviour and usage rules. It does not write tokens (/design-tokens) or component code (that happens in /dev-story via ui-engineer and tailwind-shadcn-specialist).

Inputs

  • docs/design/brand-guide.md (required; if missing, suggest /brand-identity and stop)
  • docs/design/tokens.json if present (components reference token names)
  • docs/design/ux/*.md and docs/specs/features/*.md UX sections (what screens need)
  • project.yaml: stack.styling, stack.frontend, a11y.standard
  • Existing docs/design/design-system.md when the argument is update

Phases

Phase 1: Inventory what the product needs

Grep the UX docs and feature specs for screens, controls and patterns. Build a table: component → where it is needed (file + section) → priority (MVP / later). Group into: foundations (layout, grid, typography), primitives (button, input, select, checkbox, radio, switch, textarea, label), feedback (toast, alert, dialog, tooltip, skeleton, progress, empty state), navigation (header, nav, tabs, breadcrumbs, pagination, command menu), data display (card, table, badge, avatar, list, stat), forms (field + error + hint pattern, form layout), and domain components (pricing table, checkout summary, editor, etc.).

Show the inventory and ask the user to confirm MVP scope.

Phase 2: Map to the component library

When stack.styling is tailwind-shadcn, spawn tailwind-shadcn-specialist to map each primitive to a shadcn/ui component (or "custom: built from Radix X") and note customisation needed. Otherwise spawn lead-frontend to map to the project's library or to native elements.

Phase 3: Specify each component

Spawn ui-designer and accessibility-specialist in parallel. For each MVP component record:

  • Purpose and when not to use it
  • Variants (e.g. button: primary, secondary, ghost, destructive, link) and sizes
  • States: default, hover, focus-visible, active, disabled, loading, error, selected
  • Token usage (colour roles, radius, spacing, motion) by token name
  • Accessibility: element/role, keyboard behaviour, focus management, labelling
  • Content rules with copywriter (button verbs, error message pattern)
  • Library mapping from Phase 2

Add global rules: one primary action per view, spacing scale only, icon sizes, dark-mode behaviour, responsive breakpoints, and the process for adding a new component (proposal to design-director with need, variants, states).

Phase 4: Approve and write

Show the document and ask "May I write this to docs/design/design-system.md?" On update, show only the diff of added or changed components.

Output

docs/design/design-system.md from .claude/docs/templates/design-system.md.

Rigor

  • minimal: primitives and feedback only; states listed briefly.
  • standard: full MVP inventory with states and accessibility notes.
  • full: as standard, plus DD-SYSTEM verdict from design-director.

Next step

/design-tokens if tokens.json is missing, otherwise /ux-flow or /feature-spec.

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.