/c2d2c:ds-governfrom c2d2c
Governs design system dimensions (radius, shadows, color, spacing, motion) by converging variants onto tokens, migrating code, adding lint gates, and removing dead code.
Ships in c2d2c. 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.
None: SKILL.md is the whole skill.
Resolve parameters from C2D2C.md at the repo root (fallback: .claude/c2d2c.md); if absent, offer to bootstrap one from the template at ../../templates/C2D2C.template.md (plugin root; standalone installs without that file fetch https://raw.githubusercontent.com/BIAsia/c2d2c/main/templates/C2D2C.template.md). This skill uses TOKEN_HOME, SPEC_HOME, GATE_HOME, LAW_HOME, DS_ROUTE, TOKEN_EXPORT, GATES.
Core mental model: governance = convergence + freezing. Convergence without freezing drifts back within months; freezing without cleanup leaves two systems that mislead everyone who comes later. One governance pass must complete all five moves: single source, full migration, gate, dead-code removal, written rule.
Trigger signals: the third hand-written variant of the same style; reviews correcting the same class of mistake repeatedly; a restore job discovering "this value exists five ways in the codebase". Scope first: which dimension (radius/shadow/color/spacing/a component API), which directories, which areas are exempt (demos/marketing pages/vendored code, usually).
rg every current spelling of the dimension into a list: each form × occurrence count × representative file.Write the system doc in SPEC_HOME, covering:
field-shell.ts, tone.ts).Get the user's sign-off before touching code.
TOKEN_HOME (one value often registers in several places: CSS variable + theme alias + class ladder + design-side export; put the "adding a rung = N edits" list in the spec).className), ending caller overrides.check:<system> into GATE_HOME: scan for banned spellings, skip exempt areas, match the allowlist exactly (file + pattern), fail everything else with a fix hint in the error message ("use X instead").GATES runs it too.GATES to confirm nothing dangles.LAW_HOME: one-sentence rule + pointer to the spec + gate name, so future agents get it right without reading the spec.DS_ROUTE preview page for the new ladder (token visualization + component state matrix).TOKEN_EXPORT to sync the token changes to the design side (the token flow described in c2d2c:c2d).What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (biasia/c2d2c) — no native marketplace selected
npx claudepluginhub p/biasia-c2d2c3 skills in this plugin
/c2dc2d2c c2d pipeline — the rules and process for exporting anything from code INTO Figma (code-to-design), UI components, state matrices, and design tokens/variables alike, and for keeping the token snapshot and its CI gate honest when tokens change. Use whenever the user wants code state reflected in Figma — "export/write/sync this component (or these tokens) to Figma", "update the Figma variables", "I changed a token, regenerate the snapshot", "the figma-variables gate is red". Not for implementing code from Figma designs (that is c2d2c:d2c)./d2cc2d2c d2c pipeline — the standard eight-step workflow for implementing or updating UI from Figma designs. Use EVERY time the user provides figma.com/design/... links asking to build, update, restyle, or restore a UI to match a design. Covers survey → plan review → spec extraction → 1:1 build → regression page → motion review → screenshot acceptance → cleanup + MR. Not for exporting code INTO Figma (that is c2d2c:c2d).Other plugins' skills for the same job