[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M757Q3J3NKMJTYYC7TS49A9E":3,"skill-same:01M757Q3J3NKMJTYYC7TS49A9E":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M757Q3J3NKMJTYYC7TS49A9E","design-system-governance",null,"Reference-grade operating manual for running a design system as a versioned product — operating models, contribution and release process, Figma↔code token parity, documentation, adoption metrics, and the anti-patterns that kill systems.","jpoindexter\u002FVanta","jpoindexter","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2729617?v=4","01M72VRRYY1CP7RPF3B7GHH0CR","01M757GWDBT6RD147ZZ79N4MEX",4,"MIT","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fdesign-system-skills\u002Fdesign-system-governance\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: design-system-governance\ndescription: Reference-grade operating manual for running a design system as a versioned product — operating models, contribution and release process, Figma↔code token parity, documentation, adoption metrics, and the anti-patterns that kill systems.\ntags: [design-systems, governance, documentation, versioning, process]\n---\n# Design System Governance & Operations\n\nGovernance is the difference between a component library and a design *system*. A library is a folder of components; a system is a product with users (your product teams), a roadmap, a release cadence, owners, and rules for change. This skill is the operating manual: how to structure ownership, run contribution, ship versions, keep design and code in sync, document, and measure adoption — without over-building before anyone uses it.\n\n> **First principle.** A design system is infrastructure for *other people's* work. Every decision is graded by one question: does this make product teams ship faster, more consistently, and more accessibly? If a governance rule does not, cut it.\n\n---\n\n## 1. What a design system actually is\n\nIt is **not** a UI kit. It is the full stack below; skipping layers is the #1 reason systems stall.\n\n| Layer | What it is | Lives in |\n|---|---|---|\n| **Principles** | The values that resolve arguments (e.g. \"accessible by default\", \"boring on purpose\") | Docs site, README |\n| **Tokens** | Named design decisions — color, space, type, radius, motion, elevation | JSON source → Figma variables + code |\n| **Components** | Coded, accessible, themeable UI primitives + their Figma equivalents | Code repo + Figma library |\n| **Patterns** | Reusable compositions solving recurring problems (forms, empty states, data tables) | Docs + recipes |\n| **Guidelines** | Content\u002Fvoice, a11y, layout, do\u002Fdon't usage rules | Docs |\n| **Tooling** | Token pipeline, linters, CI, visual tests, release automation | Repo + CI |\n| **People & process** | Owners, contribution model, intake, support, RFCs | This document |\n\n**Maturity model** — diagnose honestly before choosing governance weight:\n\n| Stage | Symptom | Governance need |\n|---|---|---|\n| **0 Chaos** | Every team reinvents buttons; 12 grays in prod | None yet — just inventory the drift |\n| **1 Library** | Shared components exist, no tokens, no versioning | Add semver + a changelog |\n| **2 Managed** | Tokens, docs, releases, an owner | Add contribution model + adoption tracking |\n| **3 Integrated \u002F Holistic** | Design↔code parity, tokens are single source of truth, adoption measured, multi-brand theming | Federated contribution, deprecation policy, ROI reporting |\n\nMatch governance to stage. A 3-person startup at Stage 1 does not need RFCs; a 200-engineer org at Stage 3 dies without them.\n\n---\n\n## 2. Operating models\n\nWho owns and builds the system. Pick deliberately — the wrong model for your org size is a slow failure.\n\n| Model | How it works | Best for | Failure mode |\n|---|---|---|---|\n| **Centralized (solitary)** | One dedicated team builds everything; product teams consume | \u003C ~150 engineers, early systems | Becomes a bottleneck; backlog grows; teams fork in frustration |\n| **Federated \u002F distributed** | A small core curates; contributors come from product teams part-time | Large orgs, mature systems | Inconsistent quality, no clear ownership, \"who decides?\" paralysis |\n| **Hybrid** | Small core team owns architecture, releases, quality bar + reviews; product teams contribute components under that bar | Most orgs past Stage 2 | Best default; needs a real contribution process or collapses to centralized |\n\n**Team shape (hybrid core, minimum viable):** a **DS lead** (roadmap, stakeholders, funding), 1–2 **design-system designers** (Figma library, tokens, patterns), 2–3 **DS engineers** (component code, pipeline, CI), and **part-time contributors** from product. Even solo: separate the \"system\" hat from the \"feature\" hat explicitly.\n\n**Funding & buy-in** — the silent killer. A system needs a budget line and an executive sponsor, or it is the first thing cut. Tactics: tie it to a top-down initiative (rebrand, a11y compliance, design-to-code velocity), show ROI early (§8), and never frame it as \"the design team's side project.\"\n\n**Top-down vs bottom-up.** Top-down (mandated, funded, sponsored) gets resources but risks building what teams don't want. Bottom-up (grassroots, proven by adoption) earns trust but starves for resources. The durable path is **bottom-up to prove value, then secure top-down funding** before the maintainers burn out. Watch for the classic trap: a system built by volunteers in their spare time that becomes load-bearing with no budget — that is a Stage-1 system with Stage-3 dependencies, and it fails the moment a volunteer leaves.\n\n---\n\n## 3. Documentation — docs-as-product\n\nUndocumented components are not adopted; people copy-paste and fork. Docs are a product with its own UX.\n\n**Per-component page (the canonical template):**\n\n- **Anatomy** — labeled diagram of parts.\n- **Usage** — when to use, when *not* to, and what to use instead.\n- **Do \u002F Don't** — visual pairs, not prose. The single highest-leverage doc artifact.\n- **Props \u002F API** — every prop, type, default, required flag — auto-generated from source, never hand-maintained.\n- **Variants & states** — default, hover, focus, disabled, error, loading.\n- **Accessibility** — keyboard map, ARIA roles, focus order, contrast notes, screen-reader behavior.\n- **Code + design together** — live interactive example, copy-paste snippet, link to the Figma component.\n- **Content guidelines** — labels, capitalization, tone for this component.\n\n**Site-level pages:** principles, getting started (install + first component in \u003C 5 min), contribution guide, changelog, design tokens reference, accessibility statement, roadmap, support\u002Fcontact.\n\n| Tool | Strength | Watch out |\n|---|---|---|\n| **Storybook** | Lives next to code; stories = the source of truth; addons for a11y, interactions, visual tests | Needs effort to be *designer*-friendly |\n| **zeroheight** | Designer-friendly, pulls from Figma + Storybook, great for guidelines | Another surface to keep in sync |\n| **Supernova** | Token + docs pipeline, code connect | Heavier; tool lock-in risk |\n| **Figma (pages)** | Where designers already are | Not a substitute for usage\u002Fa11y docs |\n\n**Rule:** props and tokens are **generated**, prose is **authored**. Hand-maintained prop tables rot within one sprint.\n\n---\n\n## 4. Versioning & releases — treat it like an API\n\nA design system is a public API for your org. Use **semver** with intent.\n\n| Bump | Meaning | Examples |\n|---|---|---|\n| **Major (breaking)** | Consumers must change code | Removed prop, renamed component, changed default, token deleted |\n| **Minor (feature)** | Additive, backward-compatible | New component, new optional prop, new token |\n| **Patch** | Bug\u002Fvisual fix, no API change | A11y fix, style correction, internal refactor |\n\n**Core policies:**\n\n- **Additive by default.** Add the new path before removing the old. Breaking changes are expensive for *every* consumer simultaneously — earn them.\n- **Deprecation = mark → migrate → remove.** Never delete in one step. (1) Mark deprecated (console warn, doc banner, `@deprecated` JSDoc), (2) ship a migration path + guide, (3) remove only in the *next major* after a stated grace period.\n- **Changelogs are user-facing.** Group by Added \u002F Changed \u002F Deprecated \u002F Removed \u002F Fixed. Every breaking change gets a \"how to migrate\" line. Automate via conventional commits + `semantic-release`\u002FChangesets so the changelog can't drift from reality.\n- **Codemods for big breaks.** If a rename touches 50 call sites, ship a codemod (jscodeshift\u002Fast-grep). The migration *guide* tells humans; the *codemod* does the work.\n- **Cadence + canary.** Predictable releases (e.g. minor every 2 weeks, majors quarterly with a migration window). Ship a `next`\u002Fcanary tag so teams can test ahead of a stable major.\n\n> **Conventional commits → automated release** is the modern default: `feat:` → minor, `fix:` → patch, `feat!:`\u002F`BREAKING CHANGE:` → major. The tool computes the version, tag, and changelog. No human guesses the number.\n\n---\n\n## 5. Figma structure & hygiene\n\nFigma is the design source of truth and must be governed as strictly as the code repo.\n\n- **Library files** — one (or a few) *published* libraries, separate from product files. Product files *consume*, never define.\n- **Components, variants, properties** — one component, variants for state\u002Fsize\u002Ftype, component properties (boolean\u002Ftext\u002Finstance-swap) instead of dozens of separate components. A button is one component with properties, not 40 frames.\n- **Variables + modes** — tokens live as Figma **variables**; **modes** drive theming (light\u002Fdark, brand A\u002FB, density). This is the Figma half of design↔code token parity.\n- **Naming conventions** — match token names to code 1:1 (`color\u002Fbg\u002Fsurface`, `space\u002F200`). Slash-grouping organizes the panel. Divergent names between Figma and code is the parity gap in disguise.\n- **Branching** — use Figma branches for library changes; review and merge like code. No edits to `main` library without review.\n- **Linting \u002F audits** — run detached-style and hardcoded-value audits (Design Lint, or the Figma API). Track **detach rate** as a hygiene metric. Sweep for orphan components, duplicate styles, and off-token colors regularly.\n\n---\n\n## 6. Design ↔ code parity — tokens are the bridge\n\nThe \"design system gap\" is the drift between what's in Figma and what ships. **Tokens** close it: one source of truth, transformed to every target.\n\n```\ntokens.json (source of truth, W3C DTCG format)\n      │  Style Dictionary \u002F Tokens Studio\n      ├──▶ CSS variables \u002F Tailwind theme \u002F JS  (code)\n      ├──▶ iOS \u002F Android resources               (native)\n      └──▶ Figma variables (via Tokens Studio sync) (design)\n```\n\n- **Single source of truth = the token JSON**, not Figma and not CSS. Both are *outputs*. Pick the source, generate the rest.\n- **Three token tiers:** *primitive* (`blue-500`, `space-4`) → *semantic* (`color-action`, `space-inset-md`) → *component* (`button-bg`). Product code and Figma consume **semantic\u002Fcomponent** tokens, never primitives. Re-theming = swap the semantic layer.\n- **Style Dictionary** (or Tokens Studio + transforms) builds platform outputs from one JSON. **Tokens Studio** syncs that JSON ↔ Figma variables so designers and engineers share names.\n- **Visual regression = the enforcement layer.** **Chromatic** (or Playwright\u002FLoki) snapshots every Storybook story per PR and flags pixel diffs. This catches the drift that code review misses and is non-negotiable past Stage 2.\n- **Code Connect** (Figma) links a Figma component to its real code snippet, so designers hand off the *actual* API.\n\n**Theming & multi-brand** (when a second consumer actually exists — not before): theming is a *token* concern, never a component fork. Each component reads semantic tokens; a theme is a set of token *values*; a brand or mode is a swap of that set. In Figma this is **modes** on variables; in code it is a CSS-variable scope or theme object. Add density and dark mode the same way — as modes, not forks. The test of a good token architecture: shipping a new brand touches **zero component code**, only the semantic token layer.\n\n---\n\n## 7. Contribution model\n\nWithout a defined path, contributions are either rejected (teams fork) or merged carelessly (quality erodes). Define the funnel.\n\n**Intake → promotion funnel:**\n\n1. **Intake \u002F proposal** — a lightweight issue template: problem, who needs it, evidence of recurrence, screenshots. Not every request becomes a component.\n2. **Rule of 3 (promotion gate).** A pattern earns a place only after **3 real, distinct uses**. Before that it lives as a local one-off. This single rule prevents the snowflake-component explosion. Track: one-off → documented pattern → promoted component.\n3. **RFC for anything cross-cutting** — new token category, breaking API, new pattern, theming model. A one-page written proposal (problem, proposed change, alternatives considered, blast radius on existing consumers, reversibility), a fixed comment period (e.g. 1 week), and a **recorded decision** with rationale. The RFC trail *is* your bus-factor insurance and your \"why is it like this?\" answer six months later.\n4. **Build + review** against the **Definition of Done**.\n5. **Promotion** — merged, documented, versioned, announced in the changelog.\n\n**Intake triage outcomes** — not every request is a yes: **accept** (meets Rule of 3, build it), **defer** (valid but \u003C 3 uses → keep as a local one-off, revisit), **redirect** (already solvable with existing primitives — show how), **decline** (out of scope, against principles — say so with reasoning). Saying no with a reason is governance; saying yes to everything is how the surface area explodes.\n\n**Definition of Done (quality bar — a component is not \"done\" until all true):**\n\n- [ ] Accessible: keyboard, focus, ARIA, contrast verified (axe + manual SR pass)\n- [ ] Themeable: consumes semantic tokens, no hardcoded values\n- [ ] All states: default\u002Fhover\u002Ffocus\u002Factive\u002Fdisabled\u002Ferror\u002Floading\n- [ ] Responsive + RTL-safe\n- [ ] Tested: unit + visual snapshot + a11y in CI\n- [ ] Documented: usage, do\u002Fdon't, props (generated), a11y notes\n- [ ] Figma component published with matching name + properties\n- [ ] Changelog entry + correct semver bump\n\n**Support cadence:** weekly **office hours**, a public channel, and triaged issues. The core team's job is half building, half unblocking — budget for it.\n\n---\n\n## 8. Adoption & measurement\n\nA system nobody uses is a cost center. Measure adoption or you can't defend the budget.\n\n| Metric | What it tells you | Target direction |\n|---|---|---|\n| **Adoption \u002F coverage** | % of UI built from DS components (via code scan \u002F Figma analytics) | ↑ |\n| **Detach rate** (Figma) | How often designers break from the library | ↓ |\n| **Component usage** | Which components are used \u002F ignored | informs roadmap |\n| **Duplication** | Count of non-DS one-off buttons\u002Finputs in prod | ↓ |\n| **Time-to-first-component** | Onboarding friction | ↓ |\n| **Issue resolution time** | Is the core team a bottleneck? | ↓ |\n\n**Driving adoption:** make the system the path of least resistance (great docs, easy install, codemods for migration), **evangelize** (demos, release notes, wins), **onboard** new hires through it, and actively **deprecate one-offs** (find non-DS components, file migration tickets). Adoption is a campaign, not a launch.\n\n**ROI framing for stakeholders:** hours saved per feature (don't rebuild buttons), defects avoided (a11y\u002Fvisual bugs caught once), faster onboarding, consistent brand. Translate to dollars\u002Fvelocity — that's what funds next year.\n\n---\n\n## 9. Quality: accessibility, testing, performance\n\n- **Accessibility is built-in, not a checklist at the end.** Every component ships keyboard-operable, focus-visible, ARIA-correct, AA-contrast. Bake `axe-core` + jest-axe into CI; do manual screen-reader passes on interactive components. A DS that ships inaccessible components multiplies the harm across every team.\n- **Test pyramid:** many unit (logic, props), fewer integration (component interactions), a few E2E. Plus **visual regression** (Chromatic) and **a11y** (axe) as their own gates.\n- **Linting:** ESLint + Stylelint; a custom lint to ban hardcoded colors\u002Fspacing (force token use). Figma-side: detached-style audits.\n- **Performance budgets:** track bundle size per component; enforce tree-shaking (named exports, `sideEffects: false`); set a gzipped budget and fail CI on regression. A 200KB design system that every page imports is a tax on every product.\n- **Drift audits:** periodically scan prod for color\u002Ftype\u002Fspacing values not in the token set. Drift is entropy; audit it back to zero.\n\n---\n\n## 10. Anti-patterns & common mistakes\n\n| Anti-pattern | Why it kills the system | Do instead |\n|---|---|---|\n| **\"Build it and they'll come\"** | No adoption plan → shelf-ware | Co-design with a pilot team; ship for one real consumer first |\n| **No governance** | Inconsistent quality, no decisions, forks | Define ownership + contribution + DoD early |\n| **No versioning** | Every change breaks consumers silently | Semver + changelog + deprecation policy from day one |\n| **Design↔code drift** | Figma and prod disagree; trust evaporates | Tokens as single source; visual regression in CI |\n| **Snowflake components** | One-offs explode the surface area | Rule of 3 before promotion; track one-offs |\n| **No docs \u002F undocumented** | Copy-paste forking, repeated questions | Docs-as-product; generated props; do\u002Fdon't pairs |\n| **Over-engineering before 3 uses** | Months building abstractions nobody needs | Ship the concrete thing; generalize on the 3rd use |\n| **Centralized bottleneck** | Backlog grows, teams route around it | Move to hybrid\u002Ffederated; enable contribution |\n| **No adoption metrics** | Can't prove value → budget cut | Coverage + detach rate + ROI reporting |\n| **Bus factor of 1** | One person leaves, system dies | Document decisions, share ownership, RFC trail |\n| **Premature theming\u002Fmulti-brand** | Complexity tax with no consumer | Add the second brand when the second brand exists |\n\n---\n\n## Quick reference — governance checklist\n\n- [ ] Maturity stage diagnosed; governance weight matched to it\n- [ ] Operating model chosen (default: **hybrid**); owner + sponsor named\n- [ ] Tokens are the single source of truth → generated to code + Figma\n- [ ] Semver + automated changelog + deprecation (mark→migrate→remove)\n- [ ] Contribution funnel with **Rule of 3** + Definition of Done\n- [ ] Docs-as-product: per-component anatomy\u002Fusage\u002Fdo-don't\u002Fa11y\u002Fprops\n- [ ] CI gates: unit + visual regression + a11y + token-lint + bundle budget\n- [ ] Figma governed: published libraries, variables+modes, naming = code, branch review\n- [ ] Adoption measured (coverage, detach rate) and reported as ROI\n\n> **The one rule that prevents most failures:** *additive by default, deprecate gracefully, and never promote a component until its third real use.* Everything else is scaffolding around that discipline.\n","# Design System Governance & Operations\n\nGovernance is the difference between a component library and a design *system*. A library is a folder of components; a system is a product with users (your product teams), a roadmap, a release cadence, owners, and rules for change. This skill is the operating manual: how to structure ownership, run contribution, ship versions, keep design and code in sync, document, and measure adoption — without over-building before anyone uses it.\n\n> **First principle.** A design system is infrastructure for *other people's* work. Every decision is graded by one question: does this make product teams ship faster, more consistently, and more accessibly? If a governance rule does not, cut it.\n\n---\n\n## 1. What a design system actually is\n\nIt is **not** a UI kit. It is the full stack below; skipping layers is the #1 reason systems stall.\n\n| Layer | What it is | Lives in |\n|---|---|---|\n| **Principles** | The values that resolve arguments (e.g. \"accessible by default\", \"boring on purpose\") | Docs site, README |\n| **Tokens** | Named design decisions — color, space, type, radius, motion, elevation | JSON source → Figma variables + code |\n| **Components** | Coded, accessible, themeable UI primitives + their Figma equivalents | Code repo + Figma library |\n| **Patterns** | Reusable compositions solving recurring problems (forms, empty states, data tables) | Docs + recipes |\n| **Guidelines** | Content\u002Fvoice, a11y, layout, do\u002Fdon't usage rules | Docs |\n| **Tooling** | Token pipeline, linters, CI, visual tests, release automation | Repo + CI |\n| **People & process** | Owners, contribution model, intake, support, RFCs | This document |\n\n**Maturity model** — diagnose honestly before choosing governance weight:\n\n| Stage | Symptom | Governance need |\n|---|---|---|\n| **0 Chaos** | Every team reinvents buttons; 12 grays in prod | None yet — just inventory the drift |\n| **1 Library** | Shared components exist, no tokens, no versioning | Add semver + a changelog |\n| **2 Managed** | Tokens, docs, releases, an owner | Add contribution model + adoption tracking |\n| **3 Integrated \u002F Holistic** | Design↔code parity, tokens are single source of truth, adoption measured, multi-brand theming | Federated contribution, deprecation policy, ROI reporting |\n\nMatch governance to stage. A 3-person startup at Stage 1 does not need RFCs; a 200-engineer org at Stage 3 dies without them.\n\n---\n\n## 2. Operating models\n\nWho owns and builds the system. Pick deliberately — the wrong model for your org size is a slow failure.\n\n| Model | How it works | Best for | Failure mode |\n|---|---|---|---|\n| **Centralized (solitary)** | One dedicated team builds everything; product teams consume | \u003C ~150 engineers, early systems | Becomes a bottleneck; backlog grows; teams fork in frustration |\n| **Federated \u002F distributed** | A small core curates; contributors come from product teams part-time | Large orgs, mature systems | Inconsistent quality, no clear ownership, \"who decides?\" paralysis |\n| **Hybrid** | Small core team owns architecture, releases, quality bar + reviews; product teams contribute components under that bar | Most orgs past Stage 2 | Best default; needs a real contribution process or collapses to centralized |\n\n**Team shape (hybrid core, minimum viable):** a **DS lead** (roadmap, stakeholders, funding), 1–2 **design-system designers** (Figma library, tokens, patterns), 2–3 **DS engineers** (component code, pipeline, CI), and **part-time contributors** from product. Even solo: separate the \"system\" hat from the \"feature\" hat explicitly.\n\n**Funding & buy-in** — the silent killer. A system needs a budget line and an executive sponsor, or it is the first thing cut. Tactics: tie it to a top-down initiative (rebrand, a11y compliance, design-to-code velocity), show ROI early (§8), and never frame it as \"the design team's side project.\"\n\n**Top-down vs bottom-up.** Top-down (mandated, funded, sponsored) gets resources but risks building what teams don't want. Bottom-up (grassroots, proven by adoption) earns trust but starves for resources. The durable path is **bottom-up to prove value, then secure top-down funding** before the maintainers burn out. Watch for the classic trap: a system built by volunteers in their spare time that becomes load-bearing with no budget — that is a Stage-1 system with Stage-3 dependencies, and it fails the moment a volunteer leaves.\n\n---\n\n## 3. Documentation — docs-as-product\n\nUndocumented components are not adopted; people copy-paste and fork. Docs are a product with its own UX.\n\n**Per-component page (the canonical template):**\n\n- **Anatomy** — labeled diagram of parts.\n- **Usage** — when to use, when *not* to, and what to use instead.\n- **Do \u002F Don't** — visual pairs, not prose. The single highest-leverage doc artifact.\n- **Props \u002F API** — every prop, type, default, required flag — auto-generated from source, never hand-maintained.\n- **Variants & states** — default, hover, focus, disabled, error, loading.\n- **Accessibility** — keyboard map, ARIA roles, focus order, contrast notes, screen-reader behavior.\n- **Code + design together** — live interactive example, copy-paste snippet, link to the Figma component.\n- **Content guidelines** — labels, capitalization, tone for this component.\n\n**Site-level pages:** principles, getting started (install + first component in \u003C 5 min), contribution guide, changelog, design tokens reference, accessibility statement, roadmap, support\u002Fcontact.\n\n| Tool | Strength | Watch out |\n|---|---|---|\n| **Storybook** | Lives next to code; stories = the source of truth; addons for a11y, interactions, visual tests | Needs effort to be *designer*-friendly |\n| **zeroheight** | Designer-friendly, pulls from Figma + Storybook, great for guidelines | Another surface to keep in sync |\n| **Supernova** | Token + docs pipeline, code connect | Heavier; tool lock-in risk |\n| **Figma (pages)** | Where designers already are | Not a substitute for usage\u002Fa11y docs |\n\n**Rule:** props and tokens are **generated**, prose is **authored**. Hand-maintained prop tables rot within one sprint.\n\n---\n\n## 4. Versioning & releases — treat it like an API\n\nA design system is a public API for your org. Use **semver** with intent.\n\n| Bump | Meaning | Examples |\n|---|---|---|\n| **Major (breaking)** | Consumers must change code | Removed prop, renamed component, changed default, token deleted |\n| **Minor (feature)** | Additive, backward-compatible | New component, new optional prop, new token |\n| **Patch** | Bug\u002Fvisual fix, no API change | A11y fix, style correction, internal refactor |\n\n**Core policies:**\n\n- **Additive by default.** Add the new path before removing the old. Breaking changes are expensive for *every* consumer simultaneously — earn them.\n- **Deprecation = mark → migrate → remove.** Never delete in one step. (1) Mark deprecated (console warn, doc banner, `@deprecated` JSDoc), (2) ship a migration path + guide, (3) remove only in the *next major* after a stated grace period.\n- **Changelogs are user-facing.** Group by Added \u002F Changed \u002F Deprecated \u002F Removed \u002F Fixed. Every breaking change gets a \"how to migrate\" line. Automate via conventional commits + `semantic-release`\u002FChangesets so the changelog can't drift from reality.\n- **Codemods for big breaks.** If a rename touches 50 call sites, ship a codemod (jscodeshift\u002Fast-grep). The migration *guide* tells humans; the *codemod* does the work.\n- **Cadence + canary.** Predictable releases (e.g. minor every 2 weeks, majors quarterly with a migration window). Ship a `next`\u002Fcanary tag so teams can test ahead of a stable major.\n\n> **Conventional commits → automated release** is the modern default: `feat:` → minor, `fix:` → patch, `feat!:`\u002F`BREAKING CHANGE:` → major. The tool computes the version, tag, and changelog. No human guesses the number.\n\n---\n\n## 5. Figma structure & hygiene\n\nFigma is the design source of truth and must be governed as strictly as the code repo.\n\n- **Library files** — one (or a few) *published* libraries, separate from product files. Product files *consume*, never define.\n- **Components, variants, properties** — one component, variants for state\u002Fsize\u002Ftype, component properties (boolean\u002Ftext\u002Finstance-swap) instead of dozens of separate components. A button is one component with properties, not 40 frames.\n- **Variables + modes** — tokens live as Figma **variables**; **modes** drive theming (light\u002Fdark, brand A\u002FB, density). This is the Figma half of design↔code token parity.\n- **Naming conventions** — match token names to code 1:1 (`color\u002Fbg\u002Fsurface`, `space\u002F200`). Slash-grouping organizes the panel. Divergent names between Figma and code is the parity gap in disguise.\n- **Branching** — use Figma branches for library changes; review and merge like code. No edits to `main` library without review.\n- **Linting \u002F audits** — run detached-style and hardcoded-value audits (Design Lint, or the Figma API). Track **detach rate** as a hygiene metric. Sweep for orphan components, duplicate styles, and off-token colors regularly.\n\n---\n\n## 6. Design ↔ code parity — tokens are the bridge\n\nThe \"design system gap\" is the drift between what's in Figma and what ships. **Tokens** close it: one source of truth, transformed to every target.\n\n```\ntokens.json (source of truth, W3C DTCG format)\n      │  Style Dictionary \u002F Tokens Studio\n      ├──▶ CSS variables \u002F Tailwind theme \u002F JS  (code)\n      ├──▶ iOS \u002F Android resources               (native)\n      └──▶ Figma variables (via Tokens Studio sync) (design)\n```\n\n- **Single source of truth = the token JSON**, not Figma and not CSS. Both are *outputs*. Pick the source, generate the rest.\n- **Three token tiers:** *primitive* (`blue-500`, `space-4`) → *semantic* (`color-action`, `space-inset-md`) → *component* (`button-bg`). Product code and Figma consume **semantic\u002Fcomponent** tokens, never primitives. Re-theming = swap the semantic layer.\n- **Style Dictionary** (or Tokens Studio + transforms) builds platform outputs from one JSON. **Tokens Studio** syncs that JSON ↔ Figma variables so designers and engineers share names.\n- **Visual regression = the enforcement layer.** **Chromatic** (or Playwright\u002FLoki) snapshots every Storybook story per PR and flags pixel diffs. This catches the drift that code review misses and is non-negotiable past Stage 2.\n- **Code Connect** (Figma) links a Figma component to its real code snippet, so designers hand off the *actual* API.\n\n**Theming & multi-brand** (when a second consumer actually exists — not before): theming is a *token* concern, never a component fork. Each component reads semantic tokens; a theme is a set of token *values*; a brand or mode is a swap of that set. In Figma this is **modes** on variables; in code it is a CSS-variable scope or theme object. Add density and dark mode the same way — as modes, not forks. The test of a good token architecture: shipping a new brand touches **zero component code**, only the semantic token layer.\n\n---\n\n## 7. Contribution model\n\nWithout a defined path, contributions are either rejected (teams fork) or merged carelessly (quality erodes). Define the funnel.\n\n**Intake → promotion funnel:**\n\n1. **Intake \u002F proposal** — a lightweight issue template: problem, who needs it, evidence of recurrence, screenshots. Not every request becomes a component.\n2. **Rule of 3 (promotion gate).** A pattern earns a place only after **3 real, distinct uses**. Before that it lives as a local one-off. This single rule prevents the snowflake-component explosion. Track: one-off → documented pattern → promoted component.\n3. **RFC for anything cross-cutting** — new token category, breaking API, new pattern, theming model. A one-page written proposal (problem, proposed change, alternatives considered, blast radius on existing consumers, reversibility), a fixed comment period (e.g. 1 week), and a **recorded decision** with rationale. The RFC trail *is* your bus-factor insurance and your \"why is it like this?\" answer six months later.\n4. **Build + review** against the **Definition of Done**.\n5. **Promotion** — merged, documented, versioned, announced in the changelog.\n\n**Intake triage outcomes** — not every request is a yes: **accept** (meets Rule of 3, build it), **defer** (valid but \u003C 3 uses → keep as a local one-off, revisit), **redirect** (already solvable with existing primitives — show how), **decline** (out of scope, against principles — say so with reasoning). Saying no with a reason is governance; saying yes to everything is how the surface area explodes.\n\n**Definition of Done (quality bar — a component is not \"done\" until all true):**\n\n- [ ] Accessible: keyboard, focus, ARIA, contrast verified (axe + manual SR pass)\n- [ ] Themeable: consumes semantic tokens, no hardcoded values\n- [ ] All states: default\u002Fhover\u002Ffocus\u002Factive\u002Fdisabled\u002Ferror\u002Floading\n- [ ] Responsive + RTL-safe\n- [ ] Tested: unit + visual snapshot + a11y in CI\n- [ ] Documented: usage, do\u002Fdon't, props (generated), a11y notes\n- [ ] Figma component published with matching name + properties\n- [ ] Changelog entry + correct semver bump\n\n**Support cadence:** weekly **office hours**, a public channel, and triaged issues. The core team's job is half building, half unblocking — budget for it.\n\n---\n\n## 8. Adoption & measurement\n\nA system nobody uses is a cost center. Measure adoption or you can't defend the budget.\n\n| Metric | What it tells you | Target direction |\n|---|---|---|\n| **Adoption \u002F coverage** | % of UI built from DS components (via code scan \u002F Figma analytics) | ↑ |\n| **Detach rate** (Figma) | How often designers break from the library | ↓ |\n| **Component usage** | Which components are used \u002F ignored | informs roadmap |\n| **Duplication** | Count of non-DS one-off buttons\u002Finputs in prod | ↓ |\n| **Time-to-first-component** | Onboarding friction | ↓ |\n| **Issue resolution time** | Is the core team a bottleneck? | ↓ |\n\n**Driving adoption:** make the system the path of least resistance (great docs, easy install, codemods for migration), **evangelize** (demos, release notes, wins), **onboard** new hires through it, and actively **deprecate one-offs** (find non-DS components, file migration tickets). Adoption is a campaign, not a launch.\n\n**ROI framing for stakeholders:** hours saved per feature (don't rebuild buttons), defects avoided (a11y\u002Fvisual bugs caught once), faster onboarding, consistent brand. Translate to dollars\u002Fvelocity — that's what funds next year.\n\n---\n\n## 9. Quality: accessibility, testing, performance\n\n- **Accessibility is built-in, not a checklist at the end.** Every component ships keyboard-operable, focus-visible, ARIA-correct, AA-contrast. Bake `axe-core` + jest-axe into CI; do manual screen-reader passes on interactive components. A DS that ships inaccessible components multiplies the harm across every team.\n- **Test pyramid:** many unit (logic, props), fewer integration (component interactions), a few E2E. Plus **visual regression** (Chromatic) and **a11y** (axe) as their own gates.\n- **Linting:** ESLint + Stylelint; a custom lint to ban hardcoded colors\u002Fspacing (force token use). Figma-side: detached-style audits.\n- **Performance budgets:** track bundle size per component; enforce tree-shaking (named exports, `sideEffects: false`); set a gzipped budget and fail CI on regression. A 200KB design system that every page imports is a tax on every product.\n- **Drift audits:** periodically scan prod for color\u002Ftype\u002Fspacing values not in the token set. Drift is entropy; audit it back to zero.\n\n---\n\n## 10. Anti-patterns & common mistakes\n\n| Anti-pattern | Why it kills the system | Do instead |\n|---|---|---|\n| **\"Build it and they'll come\"** | No adoption plan → shelf-ware | Co-design with a pilot team; ship for one real consumer first |\n| **No governance** | Inconsistent quality, no decisions, forks | Define ownership + contribution + DoD early |\n| **No versioning** | Every change breaks consumers silently | Semver + changelog + deprecation policy from day one |\n| **Design↔code drift** | Figma and prod disagree; trust evaporates | Tokens as single source; visual regression in CI |\n| **Snowflake components** | One-offs explode the surface area | Rule of 3 before promotion; track one-offs |\n| **No docs \u002F undocumented** | Copy-paste forking, repeated questions | Docs-as-product; generated props; do\u002Fdon't pairs |\n| **Over-engineering before 3 uses** | Months building abstractions nobody needs | Ship the concrete thing; generalize on the 3rd use |\n| **Centralized bottleneck** | Backlog grows, teams route around it | Move to hybrid\u002Ffederated; enable contribution |\n| **No adoption metrics** | Can't prove value → budget cut | Coverage + detach rate + ROI reporting |\n| **Bus factor of 1** | One person leaves, system dies | Document decisions, share ownership, RFC trail |\n| **Premature theming\u002Fmulti-brand** | Complexity tax with no consumer | Add the second brand when the second brand exists |\n\n---\n\n## Quick reference — governance checklist\n\n- [ ] Maturity stage diagnosed; governance weight matched to it\n- [ ] Operating model chosen (default: **hybrid**); owner + sponsor named\n- [ ] Tokens are the single source of truth → generated to code + Figma\n- [ ] Semver + automated changelog + deprecation (mark→migrate→remove)\n- [ ] Contribution funnel with **Rule of 3** + Definition of Done\n- [ ] Docs-as-product: per-component anatomy\u002Fusage\u002Fdo-don't\u002Fa11y\u002Fprops\n- [ ] CI gates: unit + visual regression + a11y + token-lint + bundle budget\n- [ ] Figma governed: published libraries, variables+modes, naming = code, branch review\n- [ ] Adoption measured (coverage, detach rate) and reported as ROI\n\n> **The one rule that prevents most failures:** *additive by default, deprecate gracefully, and never promote a component until its third real use.* Everything else is scaffolding around that discipline.\n",{"name":5,"tags":23,"description":7},[24,25,26,27,28],"design-systems","governance","documentation","versioning","process","main","4911ae44bbb35beef4511ba298475ba5a82b7e1c","design-system-skills\u002Fdesign-system-governance",0,"https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta","https:\u002F\u002Fdocs.vanta.theft.studio","https:\u002F\u002Fgithub.com\u002Fjpoindexter","jason.theft.studio","Just some guy trying to build stuff","2026-11-12 17:11:35",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add jpoindexter\u002FVanta --skill design-system-governance",{"tool":45,"command":46},"bunx","bunx skills add jpoindexter\u002FVanta --skill design-system-governance",{"tool":48,"command":49},"pnpm","pnpm dlx skills add jpoindexter\u002FVanta --skill design-system-governance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fdesign-system-skills\u002Fdesign-system-governance\u002FSKILL.md",true,[],[54,61,68,75,82,88],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M7582PEM7XM8B98VFRDV0C0J","write-changelog","Turn a range of commits into a user-facing changelog","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fopenclaw\u002Fskills\u002Fwrite-changelog\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7582KTQJMP5Y7GS83MS1C7Z","debug-flaky-test","Reproduce and isolate a flaky test before fixing it","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fopenclaw\u002Fskills\u002Fdebug-flaky-test\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7582HG7XFM4Z5NGG1YFECT8","triage-incident","First 10 minutes of an incident — stabilize, then diagnose","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fhermes\u002Fskills\u002Ftriage-incident\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7582DQABK7A96XHMB770KQZ","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7582BBK8H0HGSXKK08FCXJ1","vanta-port-adapter","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fvanta-port-adapter\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M75828P8PX5XSBMJ2BVVDA9Y","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Ftest-driven-development\u002FSKILL.md",[],[]]