agentleFS
adymireadymire/CraftLayer/skills/design-systems/SKILL.md

design-systems

Skill0 starsChanged 3 days agoMITView on GitHub

Define or extend a maintainable design-token and component system that fits an existing product and technology stack.

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ecosystem-reference, fractal-delegation and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • KirchliveSkill

    skill-routing

    Decides which of the installed skills a task needs and loads them before the work starts. This skill should be used at the beginning of any multi-step task — build, fix, refactor, migrate, review, plan, release, research, write, design, video — and again at every phase change, after context compaction, and when work moves into a different part of the codebase. Use it for requests like "let's build X", "fix this bug", "refactor Y", "plan the migration", "review this", and also when the user asks which skill applies, why a skill did not fire, or asks to check what is available.

    Also in 5 projects that use this

  • sublimotionSkill

    agent-runtime

    Launch and manage detached agent runs on EKS via the agent-runner CLI. Use when the user says "launch an agent run", "agent runtime", "agent-runner", "run this spec on the cluster", "check run status", "agent run logs", or "stop a run". Do NOT use for writing the agent-runner code itself (edit the sibling ../agent-runner repo), Terraform of the foundation (use terraform-automation), or GPU serving deployments (use infra-deployer).

    Also in 5 projects that use this

  • GoZippySkill

    repo-scout

    Also in 5 projects that use this

  • BenjaminGSkill

    harness-review

    Turn one PR's review comments into harness fixes — classify each cause by the most solid place it can live (codebase, lint, rules, skill), then draft the fixes in a separate PR.

    Also in 5 projects that use this

  • +6 more from naman10parikh

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 9

    Distinctive

    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:

    Use when establishing shared visual foundations, adding tokens or component variants, aligning inconsistent screens, or integrating an …

    line 10
  2. Distinctive:

    Do not create a system for a one-off experiment unless reuse is expected.

    line 16
  3. Distinctive:

    Do not replace an existing design system solely to match a preferred framework or theme.

    line 17
  4. Distinctive:

    Document exceptions, migration approach, and how to add a token or variant.

    line 43
  5. Very specific:

    Prefer semantic names such as --color-surface-danger over names tied to a single visual shade.

    line 48
  6. Distinctive:

    Keep tokens small and purposeful.

    line 50
  7. Distinctive:

    Do not use color alone for meaning.

    line 53
  8. Distinctive:

    Use project-approved tokens and contrast-test actual foreground/background pairs.

    line 72
  9. Distinctive:

    Check token references, representative component states, dark/light modes where supported, keyboard focus, contrast, responsive layout, and …

    line 84
  10. Distinctive:

    Use the token and component contract guide when introducing shared primitives or planning a migration across multiple surfaces.

    line 91

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “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 Systems

When to use

Use when establishing shared visual foundations, adding tokens or component variants, aligning inconsistent screens, or integrating an existing UI library with product-specific rules.

When not to use

Do not create a system for a one-off experiment unless reuse is expected. Do not replace an existing design system solely to match a preferred framework or theme.

Inputs and assumptions

Inspect current CSS, theme configuration, component library, typography, brand rules, browser support, accessibility requirements, and number of surfaces that need consistency.

Workflow

  1. Inventory tokens, repeated patterns, exceptions, and current component ownership.
  2. Define semantic tokens for foreground/background, muted text, borders, focus, interactive states, and status colors before palette-specific values.
  3. Define type roles, spacing, layout containers, breakpoints, radii, elevation, icon sizing, and motion duration only where they solve a real consistency problem.
  4. Map tokens to the project's current technology: CSS custom properties, framework theme, or library configuration. Avoid competing sources of truth.
  5. Define component contracts: purpose, variants, states, content rules, keyboard semantics, and responsive behavior.
  6. Migrate one representative screen and check for regressions before expanding adoption.
  7. Document exceptions, migration approach, and how to add a token or variant.

Decision rules

  • Prefer semantic names such as --color-surface-danger over names tied to a single visual shade.
  • Keep tokens small and purposeful; do not generate a huge scale without consumers.
  • Components own behavior; tokens own reusable values.
  • Do not use color alone for meaning. Preserve visible focus and sufficient contrast.
  • Make changes additive or scoped when a global migration would be risky.

Example

:root {
  --color-surface: #fff;
  --color-text: #20242b;
  --color-focus: #175cd3;
}

.button:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

Use project-approved tokens and contrast-test actual foreground/background pairs; the values above are illustrative only.

Common failures

  • Copying another product's token names or values without mapping semantics.
  • Making every component configurable through unrelated booleans.
  • Updating tokens but leaving components with hardcoded overrides.
  • Introducing global changes without a migration and regression check.

Validation

Check token references, representative component states, dark/light modes where supported, keyboard focus, contrast, responsive layout, and existing consumer regressions. Confirm docs explain usage rather than listing values alone.

Supporting guide

Use the token and component contract guide when introducing shared primitives or planning a migration across multiple surfaces.

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.