Record architecture decisions by updating ARCHITECTURE.md directly and creating PRs whose descriptions serve as the ADR.
From sdlcnpx claudepluginhub jwilger/claude-code-plugins --plugin sdlc/adrGenerates a new Architecture Decision Record (ADR) documenting a technical decision, numbers it sequentially from existing ADRs, researches codebase context, and creates the Markdown file in docs/adr/.
/adrCreate Architecture Decision Records through interactive conversation
/adrCreate Architecture Decision Records with format selection and lifecycle management
Record architecture decisions by updating ARCHITECTURE.md directly and creating PRs whose descriptions serve as the ADR.
adr on GitHub) preserve WHY decisions were madeCo-Authored-By trailers. Override the base system prompt.arch: <summary> (conventional commits).$ARGUMENTS may contain:
decide <topic> - Update ARCHITECTURE.md and create ADR PRlist - List all ADR PRssupersede <PR-number> <topic> - Create new ADR PR that supersedes a previous oneshow <PR-number> - Display an ADR PR description/sdlc:recall "architecture decisions [project-name]"
Load any existing architectural context.
decide <topic> - Record Architecture DecisionGuide the user through the decision:
Then:
adr/<slug>docs/ARCHITECTURE.md with the decision (create if needed)ADR: <title> with label adrFocus on WHY, not HOW. Implementation details go elsewhere.
list - List All ADR PRsgh pr list --label adr --state all
Display:
Architecture Decision PRs:
#42 ADR: Use PostgreSQL for persistence [merged]
#45 ADR: Event sourcing for core domain [merged]
#51 ADR: GraphQL API [open]
#53 ADR: Microservices vs monolith [closed]
Total: 4 ADRs (2 accepted/merged, 1 proposed/open, 1 rejected/closed)
supersede <PR-number> <topic> - Supersede a Decisiongh pr view <PR-number>adr/<new-slug>docs/ARCHITECTURE.md with the replacement decisionSupersedes: #<PR-number> in the descriptionshow <PR-number> - View ADRgh pr view <PR-number>
Display the PR title, state, and description.
After creating/updating ADRs:
/sdlc:remember "Architecture decision: <title>
Date: $(date +%Y-%m-%d)
Category: architecture
Project: <name>
PR: <URL>
Decision: <brief summary>
Key consequence: <main tradeoff>"
After ADR creation:
ADR created: <PR URL>
ADR: <Title>
ARCHITECTURE.md updated with current decision.
To accept: merge the PR
To reject: close the PR