agentleFS
weg-9000weg-9000/Lime-design/skills/ds-doc/SKILL.md

ds-doc

Skill0 starsChanged 5 months agoMITView on GitHub

Build and maintain DESIGN.md (methodology P4) — regenerate the scaffolded token/accessibility tables from the SSoT and write the narrative sections (Principles, Do/Don't, Voice & Tone) with the user.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. MooseDesign1/DDD-DesignDrivenDevelopment★ 9same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

Files
SKILL.md

Purpose

DESIGN/DESIGN.md is the human- and agent-readable face of the design system (it also feeds /ds-push's guidelines/ bundle). Its data tables are generated from the token SSoT; its narrative sections are authored here.

Windows note: always python -X utf8 ….

Workflow

1 — Refresh the generated skeleton

python -X utf8 ${CLAUDE_PLUGIN_ROOT}/scripts/scaffold_design_md.py --tokens DESIGN/design-tokens.json --out DESIGN/DESIGN.md --profile design.profile.yml --check
  • --check exit 1 means the tables drifted from the SSoT. If DESIGN.md has no hand-written content yet, regenerate outright (drop --check). If it has narrative content, regenerate to a temp file and merge: generated tables replace old tables, narrative sections are preserved verbatim.

2 — Author the narrative sections

Fill the standard sections with the user (short, concrete, example-driven — these lines are consumed by AI design agents with limited context):

  • Principles — 3–5 rules that decide real disputes ("density over decoration", "one primary action per view").
  • Do / Don't — pair each Don't with the token/component to use instead; literal hex or px in an example must sit on a line with a whitelist keyword (Don't, hardcoded, …) or the reference gate will flag it.
  • Voice & Tone — microcopy rules: capitalization, error-message shape, empty-state tone.

3 — Gate the result

python -X utf8 ${CLAUDE_PLUGIN_ROOT}/scripts/validate_design.py --doc DESIGN/DESIGN.md --profile design.profile.yml --out reports --format both

Fix any D-R01/R02/R03 findings (usually an example missing its whitelist keyword).

4 — Regenerate the agent-facing surface

python -X utf8 ${CLAUDE_PLUGIN_ROOT}/scripts/gen_llms_txt.py --tokens DESIGN/design-tokens.json --design-md DESIGN/DESIGN.md --out llms.txt --profile design.profile.yml

llms.txt is how coding agents outside this plugin discover the design system — keep it in lockstep with DESIGN.md. Then remind the user: /ds-push re-publishes the guidelines to Claude Design.

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.