agentleFS
shinzoxDshinzoxD/knackbox/skills/coding/design-system-contribution/SKILL.md

design-system-contribution

Skill0 starsChanged 5 months agoApache-2.0View on GitHub

Guide contributions to a design system — component API, accessibility,

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    Prefer composition over mega-components.

    line 51
  2. Distinctive:

    Do not invent brand tokens.

    line 52

≈ “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 Contribution

Design systems succeed on consistency and safe evolution. Components need a stable API, a11y, tokens, and docs — not one-off CSS.

Workflow

  1. Problem: which user/product need; is a primitive missing or a composition?
  2. API: props, variants, slots/composition; avoid prop explosion.
  3. Tokens: color/space/type via tokens, not magic numbers.
  4. A11y: keyboard, name/role, focus, contrast baselines.
  5. Docs: examples, do/don't, accessibility notes, Storybook stories.
  6. Versioning: additive changes preferred; breaking changes flagged.

Output format

## DS contribution: <component>

### API proposal
…

### Tokens
…

### A11y requirements
…

### Docs / stories
…

### Migration / versioning
…

Rules

  1. Prefer composition over mega-components.
  2. Do not invent brand tokens; use or extend the system’s token names.
  3. Ship accessibility with the component, not as follow-up.
  4. Public API needs explicit default and controlled/uncontrolled behavior.
  5. Visual QA across themes/densities when those exist.
  6. Coordinate with product one-offs: promote only when reused.

Edge cases

  • Icons: sizing, aria-hidden vs labeled buttons.
  • Forms: label association and error text.
  • Breaking visual change: major version or explicit migration.

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.