Skill

adr

Create an Architecture Decision Record (ADR) to document technical decisions. Use when making significant architectural choices that affect the system. Triggers: "adr", "decision record", "architecture decision", "document decision"

From sdlc-toolkit
Install
1
Run in your terminal
$
npx claudepluginhub youarenext/sdlc-toolkit --plugin sdlc-toolkit
Tool Access

This skill is limited to using the following tools:

ReadGrepGlobWrite
Supporting Assets
View in Repository
templates/adr.md
Skill Content

ADR Skill

Create a structured Architecture Decision Record to document significant technical decisions.

When to Use

  • Choosing between technologies (e.g., PostgreSQL vs MongoDB)
  • Defining system boundaries or integration patterns
  • Making trade-offs that affect performance, security, or maintainability
  • Any decision that future developers will need to understand

Instructions

  1. Read @docs/system-context.md — understand current architecture
  2. Read @docs/discovery/INDEX.md — determine current iteration (if applicable)
  3. Ask clarifying questions if needed:
    • What decision are we documenting?
    • What alternatives were considered?
    • What are the constraints?
  4. Determine ADR location:
    • If related to a specific iteration → docs/discovery/NN-slug/decisions/ADR-NNN.md
    • If cross-project/global → docs/adr/ADR-NNN.md
  5. Determine next ADR number from existing ADR files in the target directory
  6. Generate ADR using the template
  7. Create decisions/ or adr/ folder if it doesn't exist
  8. Save ADR file

Important

  • ADR is immutable once accepted — if decision changes, create a new ADR that supersedes it
  • Include concrete alternatives that were considered
  • Be explicit about trade-offs and consequences
  • Link to related PRDs or other ADRs

Supporting files

Stats
Stars0
Forks0
Last CommitFeb 24, 2026