accessibility-per-comp…
Audit one design system component's accessibility against WCAG 2.2 AA: keyboard, screen reader, contrast, focus, ARIA, target…
Write a narrative decision record (ADR) for a design system choice: context, options, trade-offs, consequences, including declined proposals. Triggers: document this decision, ADR, why did we choose, capture the reasoning. Machine-checkable rules: governance-encoder.
Claude Code
$ npx -y skills add murphytrueman/design-system-ops --skill decision-record --agent claude-code
Codex
$ npx skills add murphytrueman/design-system-ops --skill decision-record -a codex -y
Cursor
$ npx skills add murphytrueman/design-system-ops --skill decision-record -a cursor -y
Gemini CLI
$ npx skills add murphytrueman/design-system-ops --skill decision-record -a gemini-cli -y
GitHub Copilot
$ npx skills add murphytrueman/design-system-ops --skill decision-record -a github-copilot -y
OpenCode
$ npx skills add murphytrueman/design-system-ops --skill decision-record -a opencode -y
Windsurf
$ npx skills add murphytrueman/design-system-ops --skill decision-record -a windsurf -y
name: decision-record description: "Write a narrative decision record (ADR) for a design system choice: context, options, trade-offs, consequences, including declined proposals. Triggers: document this decision, ADR, why did we choose, capture the reasoning. Machine-checkable rules: governance-encoder." allowed-tools: Read, Write, Grep, Glob, Bash(cat:*), Bash(find:*), Bash(head:*), Bash(ls:*), Bash(grep:*), Bash(rg:*) references: - ../../knowledge-notes/component-governance.md - ../../knowledge-notes/output-discipline.md
A skill for creating structured decision records for design system choices. Covers component decisions, token architecture choices, tooling selections, governance policies, and any other decision worth recording so future contributors do not have to reverse-engineer the reasoning.
Confirm that every path in this skill's frontmatter `references:` exists relative to this SKILL.md. If any is missing, stop: the install is incomplete, usually because a flattening installer (for example `npx skills install`) dropped the repo-root `knowledge-notes/` directory. Tell the user to reinstall by a method in `1-INSTALL.md` and run `verify-install.sh` from the install root. Proceed without the references only if the user explicitly says to, and then say in the output that it was produced without the pack's reference material.
Design systems accumulate decisions faster than they accumulate documentation. The result is a system where the current state is known but the reasoning is not — which means the same debates recur, constraints get ignored because their origin is forgotten, and new team members spend weeks learning by collision what a thirty-minute conversation would have covered.
A decision record does not need to be formal. It needs to be findable and honest. The format below is lightweight enough to write in under twenty minutes and structured enough to be useful when someone reads it twelve months later.
---
Before writing a record, confirm this decision warrants one. Not every choice needs a formal record — but more decisions warrant records than teams typically capture. Use this checklist:
**Create a decision record if any of these are true:**
**Skip the decision record if all of these are true:**
When in doubt, write the record. A twenty-minute investment in documentation saves hours of re-discovery and re-debate.
Before writing, look for where decisions already live and match it: `docs/adr/`, `docs/decisions/`, `adr/`, `decisions/`, an `.adr-dir` file (adr-tools), a MADR template (`template.md` with "Decision Drivers" and "Considered Options"), a log4brains config, or a docs-platform section the user names. If records exist, use their template's section names and their numbering (sequential `NNNN-` prefixes are the norm; take the next number). If none exist, use `docs/decisions/NNNN-<kebab-title>.md` starting at `0001`, and say so. Don't invent a date-based id scheme: two decisions in one month would collide.
Ask for or confirm:
If the decision is in progress, the record still gets written — just with an open status. Decision records for in-progress decisions are often the most valuable, because they capture the thinking before it is lost in the gap between discussion and resolution.
Use the following structure. Impact assessment is conditional; every other section appears in every record.
Record only options, reasons and trade-offs the user supplied or that appear in the sources you were given. Where something is missing, write `[unknown — ask X]` naming who would know. Never infer rationale: a plausible reason that nobody actually gave is worse than a visible gap, because future readers will treat it as fact.
---
**ID:** [sequential, matching the team's existing records, e.g. 0007] **Date:** [when the decision was made or this record was created] **Status:** Proposed / Accepted / Declined / Superseded / Deprecated **Deciders:** [who made the decision] **Author:** [who wrote this record, if different]
Use Declined for proposals that were turned down (for example, rejection records from `contribution-workflow`); the record then explains which criteria weren't met and under what conditions it could be revisited.
---
What was the situation that made this decision necessary? What problem was being solved, or what question needed an answer?
Write this as a factual description of the state of the world at the time of the decision. Include any constraints that shaped the decision space — technical, organisational, time-based, or otherwise. Do not frame the context to make the eventual decision look inevitable. Future readers need to understand the real landscape, including the pressures that influenced t
Audit one design system component's accessibility against WCAG 2.2 AA: keyboard, screen reader, contrast, focus, ARIA, target…
Adoption report: coverage (what the system provides), reach (teams with access) and adoption (teams shipping with it), design vs…
Write the AGENTS.md that tells coding agents how to use this design system: where things live, sourced rules, how to check work,…
Write a six-section prose description (purpose, props, anti-patterns, composition, accessibility, examples) for a Figma…
Turn existing audit findings into sprint-ready tickets with T-shirt estimates, acceptance criteria, dependencies and phases.…
Write release notes, a migration guide and a team announcement for a design system change that is already decided, scaled to its…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.