decision-record
Skill197 starsChanged 50 days agoMITView on GitHub
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.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- Rome-1/obsidian-claude-startertheir own version, first seen Nov 1, 2026
- migavel508/wisprnote-skillstheir own version, first seen Nov 1, 2026
- yannikzz/ui-contracttheir own version, first seen Oct 13, 2026
- TriunaLabs/skillstheir own version, first seen Sep 30, 2026
- June74/agentic-workflowtheir own version, first seen Aug 15, 2026
- Throokie/claude-code-skillstheir own version, first seen Mar 24, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- Rome-1/obsidian-claude-starter★ 5same name
- yannikzz/ui-contract★ 3same name
- Throokie/claude-code-skills★ 1same name
- June74/agentic-workflow★ 0same name
- migavel508/wisprnote-skills★ 0same name
- TriunaLabs/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- llms.txtllms.txt
- accessibility-per-componentSkill
- adoption-reportSkill
- agent-instructionsSkill
- ai-component-descriptionSkill
- backlog-generatorSkill
- change-communicationSkill
- cicd-integrationSkill
- codebase-indexSkill
- codemod-generatorSkill
- component-api-validatorSkill
- component-auditSkill
- component-decision-treeSkill
- contribution-workflowSkill
- deprecation-processSkill
- design-to-code-checkSkill
- docs-coverageSkill
- drift-detectionSkill
- figma-variable-auditSkill
- governance-encoderSkill
- metadata-schema-generatorSkill
- naming-auditSkill
- onboardingSkill
- pattern-documentationSkill
- release-retrospectiveSkill
- schema-validatorSkill
- stakeholder-briefSkill
- system-healthSkill
- system-pitchSkill
- theme-auditSkill
- token-auditSkill
- token-complianceSkill
- token-documentationSkill
- usage-guidelinesSkill
- version-bump-advisorSkill
- visual-reportSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 10 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Before writing a record, confirm this decision warrants one.
- Distinctive: line 44
When in doubt, write the record.
- Distinctive: line 52
Ask for or confirm:
- Distinctive: line 54
When was this decided?
- Distinctive: line 59
If the decision is in progress, the record still gets written — just with an open status.
- Distinctive: line 63
Use the following structure.
- Very specific: line 77
Use Declined for proposals that were turned down (for example, rejection records from contribution-workflow).
- Distinctive: line 100
Do not list options that were not seriously considered — this section should reflect the actual decision space, not a post-hoc …
- Distinctive: line 124
If codebase access is available, run searches to populate the counts.
- Distinctive: line 136
If this decision replaces a previous decision, reference it here.
- Distinctive: line 137
If this decision is later superseded, this field gets updated with the reference to the new record.
- Very specific: line 156
Open: every [unknown — ask X] left in the record
- Very specific: line 166
Every option, reason and trade-off traces to the user or a named source.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Decision record
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.
Before you begin: verify references
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.
Context
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.
Step 0: Decision trigger checklist
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:
- The decision affects more than one consuming team
- The decision involves a trade-off where reasonable people could disagree
- The decision will be referenced during future contribution reviews
- The decision changes a naming convention, token architecture, or API contract
- The decision deprecates or removes something from the system
- Someone asked "why do we do it this way?" and the answer was not documented
- The same question has come up more than once
Skip the decision record if all of these are true:
- The decision affects only one component's internal implementation
- The decision is easily reversible with no consumer impact
- The decision follows an existing, documented convention without exception
When in doubt, write the record. A twenty-minute investment in documentation saves hours of re-discovery and re-debate.
Step 0b: Find the team's existing records
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.
Step 1: Clarify the decision
Ask for or confirm:
- What was decided? (One clear sentence)
- When was this decided?
- Who was involved in making the decision?
- Is this decision already made, or is it still in progress?
- What options were considered, and why was each rejected? Get these from the user or from linked sources (meeting notes, PR threads, RFCs)
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.
Step 2: Write the record
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.
Decision record: [title]
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.
Context
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 the outcome.
Two to four sentences is usually enough.
Decision drivers
The three to five forces that decided it: a constraint, a requirement, a cost, a deadline, a team preference. Each from the user or a source; none inferred. This is the section future readers use to tell whether the decision still holds when the forces change.
Options considered
List each option that was genuinely evaluated. For each option:
- Name or brief description
- Why it was a viable candidate
- Why it was not chosen (if it was not)
Do not list options that were not seriously considered — this section should reflect the actual decision space, not a post-hoc justification exercise. If only one option was considered, say so and explain why.
The option that was eventually chosen should also appear here, with a note that it was selected and a forward reference to the decision section.
Decision
State the decision in one sentence. Then explain the primary reasoning in two to four sentences.
Be honest about trade-offs. If the chosen option had weaknesses that were accepted, name them. If the decision was influenced by non-technical factors — timelines, team preferences, tooling constraints — include that. Decision records that paper over trade-offs are records of what was decided, not why, which makes them significantly less useful.
Impact assessment (API, token or breaking changes only)
Include this section when the decision changes a component API, token names or values, or anything consumers must migrate. Skip it for conventions, tooling and process decisions with no migration cost.
| Impact dimension | Measurement |
| Files affected | [count — from grep/search if available] |
| Components affected | [count and names] |
| Consuming teams affected | [count and names] |
| Migration effort | [user-supplied estimate, or "not measured"] |
| Token/API changes required | [count] |
| Breaking changes | [yes/no — if yes, list them] |
| Timeline to full adoption | [user-supplied, or "not measured"] |
If codebase access is available, run searches to populate the counts. For example, if the decision is to adopt DTCG token format, count how many token files need restructuring, how many consuming files reference tokens, and how many teams own those files.
Where a row wasn't measured, write "not measured" and name the audit skill that would measure it. Don't fill rows with estimates; effort and timeline only go in if the user supplied them, labelled as theirs.
Consequences
What changes as a result of this decision? What becomes easier, and what becomes harder?
This section should cover both intended outcomes and known risks. If the decision introduces a dependency, a constraint, or a new obligation for contributors, document it here. If it closes off a future option, name that too.
Supersedes / superseded by
If this decision replaces a previous decision, reference it here. If this decision is later superseded, this field gets updated with the reference to the new record.
Related records
Any other decision records relevant to understanding this one. Links or IDs are sufficient.
Step 3: Write the file
Write the record to the location and with the numbering found in Step 0b, and say the path. If the team keeps decisions on a documentation platform rather than in the repo, produce the record in chat for pasting and say where it belongs. If the location is unknown and the user hasn't said, ask once; don't leave the record only in chat by default.
Step 4: Suggest a review trigger
Decision records go stale. Suggest a condition that should prompt this record to be revisited — for example, a tooling change, a team size threshold, a specific dependency version, or a timeline milestone.
This does not need to be elaborate. One sentence is enough: "Revisit this decision if the team grows beyond ten active contributors or if the token tooling changes."
Step 5: Summarise in chat
- Headline: the decision, its status and the file written
- Open: every
[unknown — ask X]left in the record - Next: the skills that follow from the decision's consequences, in chat rather than in the permanent record:
deprecation-processfor a removal,token-auditfor a token architecture change,version-bump-advisorthenchange-communicationfor an API change,governance-encoderfor a new convention,codemod-generatorwhen many consumers must change,stakeholder-brieffor a large investment - Scope: what sources were read (meeting notes, PRs, RFCs) and what the impact counts came from
Quality checks
- The record matches the team's existing ADR format and numbering, and was written to the repository or produced for the platform the team uses
- Decision drivers are present and each traces to the user or a source
- Context describes the actual situation, not a setup for the conclusion
- Options considered reflects the real decision space, not a post-hoc list
- Every option, reason and trade-off traces to the user or a named source; gaps are marked
[unknown — ask X] - Decision section names the trade-offs that were accepted, not just the benefits
- Consequences covers both intended outcomes and known risks
- Record is written for someone who was not in the room — no assumed context
- Status field is set correctly
- A review trigger is included
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.

