code-from-design
Skill2 starsChanged 14 days agoMITView on GitHub
Map a design to the repo's components and tokens, with what's missing, states the design omits, and accessibility gaps, for /plan
In this repository81 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- add-languageSkill
- audit-a11ySkill
- audit-archSkill
- audit-ciSkill
- audit-debtSkill
- audit-doc-driftSkill
- audit-flagsSkill
- audit-infraSkill
- audit-perfSkill
- audit-readinessSkill
- audit-securitySkill
- audit-slopSkill
- audit-testsSkill
- audit-tokensSkill
- audit-verifySkill
- backup-patternsSkill
- bash-patternsSkill
- claude-code-mods-patternsSkill
- code-challengeSkill
- code-contractSkill
- code-deep-reviewSkill
- code-evaluateSkill
- code-historySkill
- code-host-patternsSkill
- code-impactSkill
- code-migrateSkill
- code-tourSkill
- code-visualSkill
- depsSkill
- django-patternsSkill
- docker-patternsSkill
- drf-patternsSkill
- engineering-fundamentalsSkill
- fastapi-patternsSkill
- git-patternsSkill
- go-patternsSkill
- graphql-patternsSkill
- investigateSkill
- javascript-patternsSkill
- kit-rulesSkill
- logging-patternsSkill
- meta-conventionsSkill
- meta-promptSkill
- meta-refreshSkill
- meta-retroSkill
- meta-skillSkill
- monitoring-patternsSkill
- next-app-router-patternsSkill
- nuxt-patternsSkill
- opentofu-patternsSkill
- pr-descriptionSkill
- pr-publishSkill
- pr-queueSkill
- pr-replySkill
- pr-reviewSkill
- python-patternsSkill
- react-patternsSkill
- report-formatSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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
- Very specific: line 15
Read a design through the design tool's connector and map it to what the repo already has: the components and tokens that cover it, what's …
- Distinctive: line 28
Read the design per reference/design-connectors.md, the outline first, then the chosen nodes.
- Distinctive: line 48
Read-only on the repo and in the design tool.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
/code-from-design
Read a design through the design tool's connector and map it to what the repo already has: the components and tokens that cover it, what's missing, the states it leaves out, and its accessibility gaps. The report feeds /plan. Read-only, writes no code.
Loading this skill isn't enough. Before the step a row names, read its file.
| Before | Read |
| Step 2, reading the design | reference/design-connectors.md |
| Step 4, mapping elements and values | reference/mapping.md |
| Step 5, states and accessibility | reference/states-and-gaps.md |
Procedure
- Inputs. No URL, ask. The service comes from the URL's domain and its connector by
skills/kit-rules/reference/tooling.mdsection 4. None, ask for an export or a screenshot and work from that, saying so. - Read the design per reference/design-connectors.md, the outline first, then the chosen nodes. Raw responses go to the report's sibling folder.
- Inventory the repo, its components, stories, token sources (the audit-tokens skill's
reference/token-files.md), and design-to-code mapping files, with the stack's pattern skill loaded. - Map each element and value per reference/mapping.md.
- States, breakpoints, and accessibility per reference/states-and-gaps.md. Contrast from
kit contraston resolved values, criteria by the wcag-audit skill.
Report
Load the report-format skill and use its format, written to the path kit scratch-dir from-design <design-slug> prints, with these narrowings:
- The TL;DR's first bullet is the coverage in place of the health word:
<covered> covered, <extend> to extend, <new> new, <omitted> states omitted. - A Mapping table with the design element, its result, the repo component or token, and the files it would touch.
- A Missing tokens table with the design value and the nearest existing token.
- The last section lists candidate
/plansteps, one perextendornewitem.
Reply
The report path and the coverage line.
Stop
Read-only on the repo and in the design tool. No code, no comments on the design.
Arguments: $ARGUMENTS
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.

