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.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibilitySkill
- blindspotsSkill
- challengeSkill
- clearSkill
- contentSkill
- critiqueSkill
- decisionSkill
- frameSkill
- handoffSkill
- prSkill
- rippleSkill
- setup-uxSkill
- state-sweepSkill
- user-groundingSkill
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
- Distinctive: line 24
Do not recite these rules to the user unless one of them materially affects the answer.
- Distinctive: line 26
Do not introduce research questions, personas, or discovery work when the user and task are already clear or the missing information would …
- Very specific: line 30
Use .ux/DESIGN-SYSTEM.md when available and inspect authoritative sources such as Storybook, component packages, token definitions, design …
- Distinctive: line 32
Do not assume Figma, Storybook, or code is the source of truth.
- Distinctive: line 44
Do not create a new component merely because the exact visual arrangement is new.
- Distinctive: line 48
If the existing system almost fits, identify the precise missing behavior: state, accessibility behavior, data scale, responsive behavior, …
- Distinctive: line 50
Consider whether the gap is documentation rather than implementation.
- Distinctive: line 56
If the system source cannot be verified, make the recommendation conditional rather than pretending certainty.
≈ “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.
Files
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.mdwhen 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.mdonly 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:
- Reuse — an existing component or pattern already solves the need.
- Compose — existing primitives solve it when combined in an established way.
- Extend — an existing component needs a legitimate new state, behavior, variant, or documentation update.
- Create — the need is meaningfully distinct and reusable enough to justify a new system asset.
- 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
SearchableStationPickercomponent 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?"
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
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.

