From adr-assistant
Generates Architecture Decision Records (ADRs) using MADR templates: assessment criteria, options analysis with risk matrices, frameworks like Salesforce Well-Architected or Technical Trade-offs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/adr-assistant:adr-methodologyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Structured frameworks for documenting architectural decisions with human-in-the-loop AI assistance.
Structured frameworks for documenting architectural decisions with human-in-the-loop AI assistance.
AI handles drafting, formatting, and enumeration. Humans provide project-specific context, stakeholder awareness, and final decision accountability.
AI assists with:
Humans provide:
/adr-assistant:new)Gather decision context and generate assessment criteria.
.claude/adr-session.yaml/adr-assistant:analyze)Evaluate options against criteria with risk ratings.
.claude/adr-session.yaml/adr-assistant:generate)Output final ADR document using MADR template.
docs/adr/Use for enterprise decisions with security, UX, and scale concerns.
Trusted: Data security, compliance, access control, audit/governance Easy: User experience, deployment complexity, integration effort, maintenance Adaptable: Scalability, future flexibility, cost trajectory, team skill alignment
Use for infrastructure and tooling decisions.
Operational: Setup complexity, maintenance burden, monitoring, failure modes Development: Learning curve, velocity, testing approach, documentation quality Integration: Ecosystem compatibility, migration path, dependency management, lock-in risk
When neither standard framework fits:
| Rating | Definition | Governance |
|---|---|---|
| Low | Minimal risk to requirements, performance, or scale | Standard review |
| Medium | Manageable risk with proper governance | Documented mitigation |
| High | Significant risk without active mitigation | Explicit acceptance |
Assign Low when: Option aligns naturally, no significant trade-offs, team has experience, reversible Assign Medium when: Trade-offs exist but manageable, requires discipline, some learning curve, partially reversible Assign High when: Conflicts with requirement, requires significant mitigation, team lacks experience, hard to reverse
Consistency rule: At least one option should be Low or Medium for each criterion. If all options are High, the criterion may be a blocker rather than a trade-off.
State persists to .claude/adr-session.yaml:
topic: "Database selection for user service"
status: "analyzed" # new | criteria_defined | analyzed
framework: "technical" # salesforce | technical | custom
criteria:
- name: "Data consistency"
pillar: "Operational"
rationale: "ACID compliance needed for financial data"
good_looks_like: "Full transaction support with rollback"
options:
- name: "PostgreSQL"
ratings:
"Data consistency":
risk: "Low"
rationale: "Full ACID support, mature transaction handling"
Use MADR template. Include AI disclosure section:
## AI Disclosure
This ADR was drafted with AI assistance (Claude). Assessment criteria and
rationale were reviewed by decision-makers listed above. Final decision
made by humans.
For detailed templates and frameworks, consult:
references/templates.md - Complete ADR templates (MADR, Nygard, Y-statement)references/criteria-frameworks.md - Detailed assessment criteria by frameworkreferences/risk-ratings.md - Comprehensive risk rating guidelinesnpx claudepluginhub basher83/lunar-claude --plugin adr-assistantDocuments significant architectural and technical decisions with context, alternatives, trade-offs, and consequences. Creates a decision trail for teams. Use when choosing technologies, making infrastructure decisions, or establishing standards.
Evaluates architectural decisions and produce ADRs following the project template. Use when making architectural decisions, evaluating trade-offs, or creating ADRs.
Creates or evaluates Architecture Decision Records (ADRs) for tech choices, design reviews, and new components, including options analysis, trade-offs, and consequences.