agentleFS
mmccallammccalla/coding-agent-skill-library/skills/design-system-practice/SKILL.md

design-system-practice

Skill4 starsChanged 5 months agoApache-2.0View on GitHub

Maintains consistent, accessible design systems using tokens, components and documented patterns. Use when creating or evolving a shared UI component library or design tokens.

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    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:

    Use this skill when creating or modifying design tokens, component libraries, shared UI patterns, typography, spacing, colour usage, …

    line 10
  2. Distinctive:

    Create a coherent design system that reduces UI inconsistency, improves accessibility, speeds delivery and avoids one-off interface …

    line 14
  3. Distinctive:

    Use existing tokens, components and patterns before adding new ones.

    line 19
  4. Distinctive:

    Document usage, accessibility notes and examples.

    line 22
  5. Distinctive:

    Keep variants small and meaningful.

    line 23
  6. Distinctive:

    Update tests, stories or examples where available.

    line 24
  7. Distinctive:

    Avoid breaking existing component contracts without migration guidance.

    line 25
  8. Distinctive:

    Do not introduce new colours, spacing values or typography styles ad hoc.

    line 29
  9. Distinctive:

    Do not create a component variant for a single unproven use case.

    line 30
  10. Distinctive:

    Do not make design tokens encode business state unless intentional.

    line 31
  11. Distinctive:

    Do not create inaccessible visual-only states.

    line 32
  12. Distinctive:

    Prefer reusable primitives over copied UI fragments.

    line 33
  13. Distinctive:

    Keep design-system components domain-neutral unless deliberately building a domain component library.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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 Practice

When to use

Use this skill when creating or modifying design tokens, component libraries, shared UI patterns, typography, spacing, colour usage, component variants, interaction standards, layout systems or frontend conventions.

Objective

Create a coherent design system that reduces UI inconsistency, improves accessibility, speeds delivery and avoids one-off interface decisions.

Procedure

  1. Identify whether the change belongs in the design system or a feature-specific component.
  2. Use existing tokens, components and patterns before adding new ones.
  3. Define tokens for colour, spacing, typography, radius, elevation and motion where applicable.
  4. Define component variants based on real usage.
  5. Document usage, accessibility notes and examples.
  6. Keep variants small and meaningful.
  7. Update tests, stories or examples where available.
  8. Avoid breaking existing component contracts without migration guidance.

Rules

  • Do not introduce new colours, spacing values or typography styles ad hoc.
  • Do not create a component variant for a single unproven use case.
  • Do not make design tokens encode business state unless intentional.
  • Do not create inaccessible visual-only states.
  • Prefer reusable primitives over copied UI fragments.
  • Keep design-system components domain-neutral unless deliberately building a domain component library.

References

Verification

  • Design-system artefacts changed listed.
  • Tokens or components added or updated with rationale.
  • Accessibility notes and examples or tests updated.
  • Residual consistency risks stated.

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.