/opendesigner:opendesigner-extendfrom OpenDesigner
Extends an existing OpenDesigner system by adding new components, themes, or token tweaks while preserving design harmony. Reads DESIGN.md, decisions, and locks before making changes.
Ships in OpenDesigner. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when the project already has an OpenDesigner system and someone wants something new. That means opendesigner/state.json exists, or a root DESIGN.md made by OpenDesigner. Common requests: a new component, a new theme or platform, a token tweak, zooming deeper into an area, or "why is this blue?". The goal is harmony: new work reuses existing values, and every change is recorded.
The engine is scripts/engine.py in this skill when it was installed from a release zip. Otherwise use the sibling opendesigner skill's scripts/engine.py. Run it from the project root; state lives in ./opendesigner/. Stage files, zoom levels, rules, the glossary and the Decision Cards live in <opendesigner>/references/. Talk the way rules.md says: one idea per message, plain words first, and the person's profile.voice.
The opendesigner skill's binding rules hold here too, in every round and after a context reset: tokens only; one question per call; show every round; every change ends with engine.py review and a re-read of DESIGN.md; owner corrections go to engine.py feedback "<the rule>" --kind note.
engine.py status. It prints the Now line from opendesigner/PROTOCOL.md: the step, what waits for the owner and the next command. In a host without the start-of-session hook (anything but the Claude Code plugin), then run engine.py checkin: what changed since the last check-in, what is still open and the one next step; relay it in two or three lines (<opendesigner>/references/rules.md section 13). If it lists the hand-off as not answered, ask about it once, in its own message (engine.py handoff yes --quote "<their words>" or handoff no). Then read, in order:
DESIGN.md and PRODUCT.md (project root). Note each section's zoom line.opendesigner/PROTOCOL.md and opendesigner/RULES.md (the owner's repeated notes).opendesigner/state.json (profile.voice, zoom, answers, locks, hooks).opendesigner/decisions.md (newest entries last), including the open questions in its newest ## Open items entry. Ask the ones that block what the person wants now; carry the rest forward (<opendesigner>/references/rules.md section 7).opendesigner/tokens/.git log --oneline -15 -- opendesigner/ DESIGN.md, if the project uses git.DESIGN.md.hand-edited exists, someone edited the generated file by hand. Offer to turn each edit into a decision.engine.py version. It compares the system with this installed copy of OpenDesigner, never with releases online. If the system was built with an older release, say so in one line, run engine.py build, and show what changed. If it was saved with a newer release, tell the person before you change anything: this copy may miss features, so they should update OpenDesigner first (the main skill's "Versions" says how).engine.py validate. It checks the system and reports the house standards version. If it says OpenDesigner's house standards are newer than this system's, say so in one line, run engine.py standards --update, then engine.py build, and show what changed by area. Their overrides and project standards stay as they are.engine.py review. If it reports errors or drift, say so first. Fixing them may be the real task. Its "User research" lines say whether the users were researched: when not, offer it once, the first time the work touches audience, density, text size, navigation or voice; when the research is old, offer to run it again (<opendesigner>/references/research.md). Its guard lines catch the accidental reverts: a missing system file (a branch that lacks the design work), a token file edited after the last build, tokens older than state.json (a decision recorded without a build, or a merge that brought in another state.json; tokens that differ only because the engine is newer are a note), and a locked decision whose value changed (often a merge that took the older side of state.json). Never "fix" a guard line by picking a value yourself: show both values and ask which is right.
engine.py status says the hand-off was answered yes but AGENTS.md or CLAUDE.md no longer holds the OpenDesigner note, say so in one line and offer to write it back; on their yes, engine.py handoff yes --quote "<their words>".In a chat-only host, ask the person to upload state.json, decisions.md and DESIGN.md before changing anything.
| Request | Treat it as | Do |
|---|---|---|
| "Add a date picker / pricing table / settings page" | New component or pattern | Build it from existing tokens only. List the tokens it uses. Add states and keyboard behavior. Before you design it, check the optional component library (<opendesigner>/references/library.md): offer a library part only as that file says (one pick for a novice; for a designer, only when the library has that part in a matching style and they have none of their own), and only if profile.library is not "declined" |
| A new screen or flow that shows data: a list, a total, a status, progress against a limit | New screen with states | Build it like a new component, and offer to list its states first in opendesigner/STATES.md (copy <opendesigner>/assets/output/STATES.md the first time): each state's words, tone and next step, and the rows below, at and above each threshold. Build the states the person wants. When someone flags one wrong state, list every state of that feature before fixing the one named. For engineers, the template's "Building from it" offers one function per screen that returns the state's words |
| "Make buttons a bit rounder", "denser tables" | One decision | Find the question in the stage file. Show the current value and the options (section 4, step 1), then set the one they pick |
| "Let's define colors properly", "more detail on type" | Zoom in | Run the next zoom level for that area (<opendesigner>/references/zoom.md), then record it, for example set zoom.color '"defined"' |
| "Build the landing page", "redo this section", "show me some options" | A page built with the system | Follow <opendesigner>/references/making.md: one round at a time, options on a review copy of the page with the current version kept, every value from the tokens, and a check of the rendered page before you show it |
| "Show me what my system really does", "what's inconsistent?", "clean up the code to match the system" | The system as built | Run engine.py audit-page --open and show it. It reports only: each token with where the code uses it, then each inconsistency with file:line evidence and options previewed with their values. Act on the OD:fix and OD:waive lines they copy (<opendesigner>/references/rules.md section 9), each as a ledger item (section 5) |
| "Make it more like this site", "adapt it to this reference" | Adapt from a reference | Ask for the site or file if they have not given one. Measure it with opendesigner-extract (css_scan.py --json), then engine.py adapt <file> --open: what would change and what stays, side by side. Identity never carries over (no logo, brand hue, typeface, imagery or copy) unless they follow a Taste Index of it. Record only the OD:accept lines they copy |
| "These sections don't match", "it doesn't feel like one page" | A page that does not hang together | Change nothing yet. Run the cohesion audit (<opendesigner>/references/making.md section 4, with <opendesigner>/assets/output/COHESION-AUDIT.md), then build the directions they choose as options |
| "New brand color", "dark mode", "add Android" | An area reopened | Ask that area's questions at its current zoom level |
| "Make it feel more playful", a new direction | A challenge | It touches most decisions. Say what would move (graph.json), offer safe choices and risks, and change nothing without a clear yes |
| "It looks dull", "this screen is wrong", a marked screenshot, a comment on a built screen | Feedback on what was built | Follow <opendesigner>/references/rules.md section 7, "Feedback on what was built": answer every numbered part, read for the intent, check the decisions first, treat one example as a class, and say the smallest change and what stays before you touch anything. After two rejected tries, follow the reference instead of inventing |
| "Which style directions can I pick?", "which look would you go with?" | Choosing a direction | Follow the opendesigner skill's taste flow (references/taste.md): answer from engine.py show option-gallery --json first, including its subtitle's red lines; use engine.py style search <words> only for more choices. Both order by the taste index and mark or leave out red lines. Recommend only from what they show |
| "Why is X like this?" | A question | Answer from decisions.md, the standards (engine.py standards) and the cards. Change nothing |
| "Follow this guide", "use this article as a rule", a link to learn from | A new source | <opendesigner>/references/rules.md section 12: agree its weight, read it with consent, keep the rules they pick |
| A value that doesn't exist yet | A token addition | Add it through the engine with a reason (section 4, "Add a token"). Never hard-code it |
| "Remove the divider lines", "never show that banner again" | A removal | Remove it everywhere it appears (never an accessibility floor: focus rings, labels, alt text, reduced motion, contrast, target sizes), then record it the same day: engine.py removed add "<what, and where>" --why "<their words>" --instead "<what replaces it>". Add --pattern <regex> when code that brings it back can be found line by line; first search the code, and make sure nothing matches except survivors marked od-ignore: <why>. The engine refuses a pattern that matches a line carrying a floor: narrow it to the thing that was removed. --force is only for a false alarm the person confirmed, and it is marked in decisions.md. Without a pattern, it becomes a check by hand on each screen |
state.json → locks (brand colors, contrast target, reduced motion, anything the owner locked) changes only with explicit consent. Name the lock and ask.--set-by delegated.engine.py removed restore <R-id> --why "<their words>". An audit, a research note or a reference product that shows a removed thing does not count as asking.opendesigner/decisions.md (it is append-only). For state.json, keep the side with the newer decisions, then record the other side's decisions again with engine.py set, and its removals with engine.py removed add. Never hand-merge tokens or exports: run engine.py build, then engine.py review --strict. In a UI file, keep the design side and re-apply the logic change on top.STD-... or project PRJ-...) changes only when the person explicitly asks to improve, remove or change that standard. Restate the rule and its reason once. Then their words pick the route:
engine.py standard override <id> --why "<their words>" --path <path> [--value <json>] (it releases only that value; without --path, every value the standard sets). engine.py standard restore <id> undoes it.engine.py standard add ... --beats STD-... (<opendesigner>/references/rules.md section 12).engine.py set --force never changes a value a standard holds. It is only for locks the person set.<opendesigner>/references/rules.md section 12).engine.py standards lists what applies, what was overridden and why, and any pending house updates.graph.json). Use a template from <opendesigner>/assets/templates/ when the host can show one.
engine.py set <path> <value> --dry-run or engine.py pick <Q-id> <value> --dry-run. It lists each token's old and new value and any check the value would break, and writes nothing. For corners, engine.py show radius also puts the options side by side.set: each one is a permanent entry in decisions.md. Record only the value the person picks, or the one you recommend when they asked for a single change.engine.py set <Q-id or path> <value> --why "...". Add --lock if the owner wants it locked. --force is for person locks, never standards: use it only with the owner's consent to change a value they locked. A value a standard holds changes only through standard override (section 3, "Standards").engine.py build. It generates, validates (fix errors first), and rewrites the exports, DESIGN.md and the preview.git diff --stat opendesigner/ DESIGN.md and a short table of changed values. Refresh opendesigner/RATIONALE.md if a big decision changed.When the work needs a value the system doesn't have, first check that no existing token fits: reuse beats a near-duplicate. Then add it with a plain name for its role, in the same family as its neighbors:
engine.py set size.row.md 36 --why "table rows in the jobs list"
engine.py set color.bg.highlight '"#fff4c2"' --why "highlighted search matches"
engine.py set dark:color.bg.highlight '"#3a3000"' --why "the same highlight in dark mode"
engine.py set compact:space.inset.md 10 --why "tighter cards in compact mode"
dark:, compact:) changes one mode of a token that already differs by mode, such as a color or a spacing step. Without a prefix, a change to a spacing or control-size token changes the default density only.engine.py build and fix what validate reports.Before building, open a ledger round: engine.py ledger start "<what this round builds>" --items <items>. Items are the building blocks it covers (comp.action.button, from ontology-slim.json, fill block coverage), the audit issues they chose (A-space-01) or your own names. As you go: ledger done <item>, ledger broke <item> --note "what broke", and ledger waive <item> --why "..." --by owner --quote "<their words>" for anything skipped on purpose. review --strict fails while an item is neither done nor waived; ledger close ends the round, and DESIGN.md shows it. Files that break the system on purpose (a demo of mistakes) are marked once, after asking the owner: engine.py exempt <folder> --why "..." --by owner.
After building anything with the system (a page, a component, a refactor). Review reads code and cannot see the page, so also check the page as rendered (<opendesigner>/references/making.md section 5):
engine.py review (add --project <folder> to scan a specific folder; --strict makes findings fail the run).bg token, text gets a text token, a border gets a border token, a hover transition gets the feedback transition. The nearest value alone can pick the wrong role. Add a token if the value is genuinely new. Apply only what the person approves.od-ignore: <why, at least two words> on the line, then record their yes with engine.py keep "<the reason>" --quote "<their words>". Until then review counts those lines as open; never add od-ignore to make review pass. Review notes a bare od-ignore. With a reason the comment also keeps a removed thing on that line; a bare one does not. It is not a way past a standard or an accessibility floor: review shows a standard broken on that line as a note (not counted for now, while it is open whether a reason can excuse a standard in a test or story), and it never reports a line that carries a floor as removed. When the same reason shows up three times, it is probably a missing token or a rule to change: ask the person. Or make the value a token instead (engine.py set).engine.py review --strict. Its last line is Review: ok when nothing is left, and that includes the errors engine.py validate reports; quote that line in the change note.End with a change note that can be read in 20 seconds:
Design system change, <date>
What changed: <decision, old -> new>
Why: <reason in the owner's words>
Affects: <tokens and components>
Validation: pass | <warnings with reasons>
Checked: <each command that ran and its result, for example "engine.py review --strict: Review: ok">
Not verified: <what nobody ran or looked at, riskiest first> | none
Check by hand: <numbered, riskiest first: where, one action, what should happen, what must not> | none
Skipped: <what, and why> | none
Ledger: <round: done, broken, waived (who decided)> | no round
Decision log: opendesigner/decisions.md, D-<nnnn>
Open questions: <numbered, each with the default that holds until answered> | none
Keep "written", "built" and "verified" apart (<opendesigner>/references/guardrails.md section 5). A check by hand is needed whenever the change moves, answers a touch, or can only be judged on the screen or device it is for; mark a step "not seen yet" when nobody has watched it run.
If a question, option or building block was missing, or a step confused the person, follow <opendesigner>/references/improve.md (engine.py feedback ... --kind gap|bug|confusing|idea). Nothing is posted without their OK.
If profile.tracking is on, log the steps as <opendesigner>/references/rules.md section 11 says. If it is not set, don't ask here: the log question belongs to a first run.
What SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/opendesignerCreates or sets up a design system (tokens, theme, colours, fonts, DESIGN.md). Use for "make my app look good", a look like a brand's, a landing page, an app or a redesign. One question at a time./opendesigner-exportExports an OpenDesigner system to CSS variables, Tailwind, DTCG, Swift, Compose, Figma or Paper, and writes it into Figma or Paper when connected. Use for "export tokens" or "put it in Figma"./opendesigner-extractLearns a look from a website, screenshot, Figma file, repo CSS or brand book. Measures it, maps it to dials, or writes a taste index. Copies structure and quality, never a brand's identity.npx claudepluginhub ckryptickunal/opendesigner --plugin opendesignerOther plugins' skills for the same job