agentleFS
robertbradley-ossrobertbradley-oss/skills/design-system-fit/SKILL.md

design-system-fit

Skill2 starsChanged 2 months agoMITView on GitHub

Implement or adapt a UI feature to an existing product's visual and component conventions using representative screens and source evidence. Use when fitting an established system, not inventing a new brand direction.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    If the user requests visual change, follow that scope rather than treating the old system as immutable.

    line 22

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

Make the requested feature feel native to its product. Learn the system from evidence, distinguishing intentional conventions from isolated defects and legacy inconsistencies.

Establish the reference set

Inspect documented tokens, shared components, recent analogous screens, and the requested feature's task. Choose references for structural relevance, not merely proximity. Read references/comparison-guide.md to build a small working map of conventions and uncertainty.

Prefer explicit current design guidance and supported primitives. When documentation and rendered behavior conflict, inspect implementation and version context before choosing. Ask only when the conflict materially affects the feature. Do not copy a visibly broken pattern for consistency or infer a global rule from one screen.

Implement in the existing language

Map the feature to existing composition, density, typography, color roles, spacing, control hierarchy, vocabulary, and state patterns. Use semantic tokens and existing components where they serve the task. Avoid a second styling system or new dependency merely to approximate what already exists.

Preserve usable product character: dense operational tools need not become spacious marketing pages. Reuse behavior as well as styling, including navigation, focus, validation, loading, and recovery. Where no suitable precedent exists, extend the smallest relevant pattern and label the choice as a new local decision.

If the user requests visual change, follow that scope rather than treating the old system as immutable. Do not expand an isolated feature into a repository-wide normalization pass.

Verify fit and function

Compare the rendered feature against selected references using representative content and comparable dimensions. Inspect the normal state, an important non-default state, and a narrow layout where relevant. Check the underlying tokens/components as well as screenshots: similar pixels can hide incompatible duplicated styles.

Exercise the feature's main interaction, keyboard behavior, and affected shared components. Report a static-only comparison when runtime inspection is unavailable. Distinguish observed mismatches from taste preferences and explain why a proposed deviation helps the task.

Deliver the implementation and concise verification evidence. Do not claim a design-system audit or exact visual match beyond the inspected references and states.

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.