Create, update, or consult Architecture Decision Records (ADRs). Use when capturing an architecture decision and its rationale, maintaining its lifecycle, checking decisions that govern planned changes, or when a session leads to a new decision affecting future work across multiple layers. Do not use for routine bug fixes or features confined to API internals or a single provider or harness adapter.
89%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
An ADR records what we decided and why. Keep it concise and self-contained so future contributors and coding agents can understand the decision without the original conversation. Implementation plans and verification belong in issues and pull requests.
Write an ADR for decisions that change how the system is built or operated, have meaningful alternatives, and affect future work: architecture patterns, dependencies, infrastructure, or API design.
Routine implementation choices, bug fixes, and style preferences usually do not need an ADR. If a decision is already covered, update or reference the existing record.
When an architectural choice comes up during implementation, propose capturing it if its rationale would help future contributors. If the user did not explicitly ask you to write an ADR, confirm with them first before writing or editing one. Respect the user's requested scope.
contributing/decisions/README.md.Use assets/templates/adr-simple.md. Alternatives can be short bullets or use option headings when they need more explanation; both fit the same template.
Do not add YAML frontmatter, a separate Consequences section, an Implementation Plan, or Verification checklists. Do not add explicit status fields; merging the ADR pull request accepts the decision. Dates belong in date-prefixed filenames and the index; participants can be credited in the linked discussion or pull request.
Store ADRs in contributing/decisions/ as YYYY-MM-DD-verb-phrase.md. Merging the ADR pull request accepts the decision. Keep the index current.
The generator creates a scaffold; fill or remove every placeholder before finalizing:
node skills/adr-skill/scripts/new_adr.js --title "Choose database" --update-indexUse references/review-checklist.md. Check that the rationale, alternatives, scope, and accepted costs are clear. Report material gaps and fix what can be resolved from the available evidence. Do not inflate the record to satisfy a template.
See references/examples.md for a filled-out example and references/adr-conventions.md for naming and lifecycle details.
Before changing architecture, scan the index and read relevant accepted ADRs fully. Follow their decisions and constraints. Check for ADR references in code when a pattern's rationale is unclear.
If implementation differs from a decision, flag the discrepancy. Do not silently replace an accepted decision with a different choice. Reference the governing ADR in the implementation PR, and add a lightweight code comment at a key entry point when it helps discoverability:
// ADR: contributing/decisions/2025-06-15-use-sqlite-for-test-database.mdADRs can link to the implementation PR or key code entry points in More Information without duplicating a file-by-file implementation plan.
Update the index entry as well. Track implementation work in issues or PRs, link back to the ADR, and add later learnings when they affect the rationale or revisit conditions.
For a repo without ADRs:
node skills/adr-skill/scripts/bootstrap_adr.js --dir contributing/decisionsThis creates an index and an initial decision explaining why the project uses ADRs. Use an appropriate directory for the target repo. Both generators support --json for machine-readable output.
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.