From ac-tools
Creates Architecture Decision Records (ADRs) with auto-numbering: generates files from context or arg, fills templates, updates index.md, git commits. Triggers on 'adr', 'architecture decision', 'decision record'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ac-tools:adrThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Document architecture decisions following the ADR pattern. Auto-generates next ADR number and updates index.
Document architecture decisions following the ADR pattern. Auto-generates next ADR number and updates index.
<decision_context> - If provided, document that specific decisionEnsure ADR directory exists:
adrs/ directory in current working directoryadrs/ directoryEnsure index exists:
adrs/000-index.md# Architecture Decision Records (ADR) Index
> Critical decisions that govern development. **Read before implementing.**
## Index
| # | Decision | Status | Date |
|---|----------|--------|------|
## Usage
ADRs document significant architectural and policy decisions. Each entry follows format:
`NNN-<title>.md` where NNN is zero-padded sequence number.
### Creating New ADR
Use `/adr` command or manually:
1. Create file `adrs/NNN-title.md`
2. Add entry to this index
3. Commit: `adr(NNN): <title>`
Read ADR index: adrs/000-index.md
Validate decision context:
Generate ADR metadata:
Create ADR file: adrs/NNN-<slug>.md
# NNN - <Title>
**Status**: Accepted
**Date**: <YYYY-MM-DD>
## Context
<Why this decision was needed - problem statement, constraints, requirements>
## Decision
<What was decided - clear statement of the chosen approach>
## Consequences
<Implications and trade-offs:>
- **Positive**: <benefits>
- **Negative**: <costs, limitations>
- **Neutral**: <other impacts>
## References
<Related docs, specs, links if any>
Update index: adrs/000-index.md
| NNN | [<Title>](./NNN-<slug>.md) | Accepted | YYYY-MM-DD |
Commit changes:
git add adrs/NNN-<slug>.md adrs/000-index.md && git commit -m "adr(NNN): <title>"
Report in markdown format:
/adr Use pnpm for package management
Creates:
adrs/001-use-pnpm-for-package-management.mdadrs/000-index.mdadr(001): use pnpm for package managementnpx claudepluginhub waterplanai/agentic-config --plugin ac-toolsCreates a numbered MADR ADR in `docs/adr/` documenting load-bearing architectural decisions (database, framework, auth model, integration choice). Prompts for context, decision, and alternatives, then updates the index.
Records Architecture Decision Records (ADRs) with a gate check to ensure only significant, hard-to-reverse decisions are captured as durable minimal notes.
Generates Architectural Decision Records (ADRs) in MADR, Nygard, Alexandrian, or project formats. Researches directory for conventions, gathers context, numbers sequentially, validates, and saves. Use for documenting technical decisions.