plugins/homelab/adr-assistant/skills/adr-methodology/SKILL.md
Structured frameworks for documenting architectural decisions using MADR templates, option analysis, trade-off matrices, and human-in-the-loop AI assistance.
npx skillsauth add basher83/lunar-claude adr-methodologyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 guidelinestesting
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project memory optimization".
tools
Operational tooling for Talos Linux Kubernetes clusters via Sidero Omni with Proxmox infrastructure provider, covering machine classes, CEL storage selectors, and provider lifecycle management.
tools
Best practices for git workflow automation including atomic commits, branch naming, conventional commit format, and changelog generation.
tools
Summarize the current state of the git repository