agentleFS
vmobifystudiovmobifystudio/app-dev-team/skills/design-system/SKILL.md

design-system

Skill5 starsChanged 8 days agoMITView on GitHub

On an app-dev-team project, use when defining or extending docs/13-design-tokens.md and docs/14-components.md, or the moment a value would be hardcoded or a one-off component created; also when specifying or reviewing motion (§Motion). Used by product-designer, tech-lead and the /app-build design-QA pass.

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 10 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

    create-stories

    Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.

    Also in 13 projects that use this

  • lilangMaxSkill

    story-done

    End-of-story completion review. Reads the story file, verifies each acceptance criterion against the implementation, checks for GDD/ADR deviations, prompts code review, updates story status to Complete, and surfaces the next ready story from the sprint.

    Also in 13 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

  • +6 more from lilangMax
  • +1 more from CoralGame

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 175 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before adding anything, in this order: use the existing component → extend it with a prop → compose two existing ones → add a new one.

    line 37
  2. Distinctive:

    Do not invent a duration. Use the token, and use the shortest one that reads:

    line 48

“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

A design system is not a document, it is a constraint that holds at build time. Tokens nobody is forced to use are a colour list.

Three layers, in this order

  1. Primitive — the raw values. blue-600 #2563EB, space-4 16, dur-fast 150ms. No screen ever references a primitive directly.
  2. Semantic — what it means. text/primary, surface/elevated, semantic/error, motion/enter. Screens reference these and only these.
  3. Component — what a component uses. button/primary/background → semantic/action.

Skipping layer 2 is the failure: a dark mode, a rebrand or a contrast fix then edits every screen.

The rules

  • A hardcoded colour, spacing, radius, duration or font size in a screen is a defect, not a style preference. Name it or use the token that already exists.
  • Every semantic token names its dark-mode value at the same time. A token added light-only is a dark-mode bug already merged.
  • A new component needs a reason the existing ones cannot compose it. Write the reason in docs/14-components.md. "It looked different in the mock" is not one.
  • Every component declares its states — default, pressed, disabled, loading, error, empty where applicable — and its minimum touch target (44pt iOS / 48dp Android).
  • Contrast is checked when the token is defined, not when accessibility is audited. Text pairs meet 4.5:1, large text and non-text 3:1. A token failing contrast never ships and is never "fixed downstream".

Extending versus forking

Before adding anything, in this order: use the existing component → extend it with a prop → compose two existing ones → add a new one. Stop at the first that works. The third is where most teams stop too early and the fourth is where design systems die.

Motion

Motion has one job: tell the user what just happened and where they are now. Motion that decorates costs battery, costs frames, and costs the users who cannot tolerate it.

Durations

Do not invent a duration. Use the token, and use the shortest one that reads:

TokenUse
fast 150ms ease-outstate feedback — press, toggle, ripple, checkbox
base 250ms ease-in-outelement enters or leaves within a screen
slow 400msfull-screen transition, only when it carries spatial meaning

Anything longer than 400ms is not motion, it is a wait — and a wait needs progress, not an animation.

Feedback timing

ElapsedThe interface owes the user
< 100msnothing — it feels instant
100ms–1simmediate visual acknowledgement that the input landed
1s–10sa determinate progress indicator if progress is knowable, an indeterminate one if not
> 10sthe ability to leave and come back, and a way to cancel

A spinner with no cancel on a long operation is a trap; that is a reliability finding as much as a design one.

Rules

  • Motion must be interruptible. A user tapping during an animation is answered immediately, not after it finishes.
  • Position must be preserved. An element that moves animates from where it was; an element that is replaced cross-fades. Getting this backwards is what makes an interface feel arbitrary.
  • Respect reduce-motion. UIAccessibility.isReduceMotionEnabled / Settings.Global.ANIMATOR_DURATION_SCALE / prefers-reduced-motion. The reduced path replaces movement with a cross-fade or an instant change — it never removes the feedback itself, which would leave those users with no indication anything happened.
  • Nothing animates on first paint except what the user's own action caused.
  • No animation loops indefinitely except a genuine indeterminate progress indicator.

Motion output

One ## Motion section in docs/14-components.md: per component, what animates, which token, and what the reduced-motion path is. A component with no reduced-motion line is not specified.

Output

Tokens go in docs/13-design-tokens.md, components in docs/14-components.md. Both are single-owner files — product-designer writes them, everyone reads them. An IC that needs a change asks; it does not edit.

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.