agentleFS
Tranz007Tranz007/ux-skills/skills/system-fit/SKILL.md

system-fit

Skill45 starsChanged 3 months agoMITView on GitHub

Decide whether a UX need should reuse, compose, extend, or create a design-system component or pattern. Use when a designer asks whether something needs a new component, how a design fits the current system, or what design-system contribution a feature should make.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not recite these rules to the user unless one of them materially affects the answer.

    line 24
  2. Distinctive:

    Do not introduce research questions, personas, or discovery work when the user and task are already clear or the missing information would …

    line 26
  3. Very specific:

    Use .ux/DESIGN-SYSTEM.md when available and inspect authoritative sources such as Storybook, component packages, token definitions, design …

    line 30
  4. Distinctive:

    Do not assume Figma, Storybook, or code is the source of truth.

    line 32
  5. Distinctive:

    Do not create a new component merely because the exact visual arrangement is new.

    line 44
  6. Distinctive:

    If the existing system almost fits, identify the precise missing behavior: state, accessibility behavior, data scale, responsive behavior, …

    line 48
  7. Distinctive:

    Consider whether the gap is documentation rather than implementation.

    line 50
  8. Distinctive:

    If the system source cannot be verified, make the recommendation conditional rather than pretending certainty.

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

System Fit

Prevent accidental design-system sprawl without forcing every problem into an existing component.

Always

  • Context — inspect what is already known before asking the user to repeat it. Use .ux/INTENT.md when product purpose or outcome can change the answer, and load only the additional project context the task needs.
  • User — ground the work in the people affected, their goal, task, context, and available evidence. Do not invent user needs, behaviors, or personas.
  • Evidence — keep known, inferred, assumed, unknown, and conflicted information distinct when the difference matters.
  • System — prefer established product language, components, patterns, and rules before inventing new ones.
  • Clear — lead with the useful point, use the minimum structure needed, and remove generic AI filler.
  • Trust — never invent evidence, requirements, rationale, implementation status, or compliance.
  • Outcome — for substantial multi-step work, keep intent active, use a small .ux/STATE.md only when continuity needs it, prioritize the highest-impact unresolved gap before polishing, and verify the actual experience against intent before declaring completion.

Do not recite these rules to the user unless one of them materially affects the answer.

Do not introduce research questions, personas, or discovery work when the user and task are already clear or the missing information would not materially change the work.

Inspect the real system

Use .ux/DESIGN-SYSTEM.md when available and inspect authoritative sources such as Storybook, component packages, token definitions, design documentation, implementation examples, and contribution rules. Load other project context only when it can change the system-fit decision.

Do not assume Figma, Storybook, or code is the source of truth. Use the project's documented hierarchy or flag the ambiguity.

Classify the fit

Prefer this order:

  1. Reuse — an existing component or pattern already solves the need.
  2. Compose — existing primitives solve it when combined in an established way.
  3. Extend — an existing component needs a legitimate new state, behavior, variant, or documentation update.
  4. Create — the need is meaningfully distinct and reusable enough to justify a new system asset.
  5. Feature-local — the solution is too specific to become a shared system component.

Do not create a new component merely because the exact visual arrangement is new.

Check the gap

If the existing system almost fits, identify the precise missing behavior: state, accessibility behavior, data scale, responsive behavior, content rule, interaction, or API.

Consider whether the gap is documentation rather than implementation.

Output

Lead with the classification and recommendation. Name the existing assets involved, the gap, and any design-system contribution that should accompany the feature.

If the system source cannot be verified, make the recommendation conditional rather than pretending certainty.

Contrast example

Bad:

Create a new SearchableStationPicker component because the design system does not have that exact component today.

Good:

Compose. The existing Autocomplete handles station search and the existing selection/chip pattern handles chosen values. The gap is not a new component; it is documented behavior for no-results, async loading, and keyboard selection. Add those states to the existing pattern before proposing a new system component.

Why: the good response identifies the actual missing behavior and prefers composition over component proliferation.

Examples

  • "Does this need a new component?"
  • "Can we build this from what the design system already has?"
  • "Should this state go back into Storybook?"

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.