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'.
npx claudepluginhub waterplanai/agentic-config --plugin ac-toolsThis skill is limited to using the following tools:
Document architecture decisions following the ADR pattern. Auto-generates next ADR number and updates index.
Creates Architecture Decision Records (ADRs) with title, status, and MADR/basic/extended templates. Auto-numbers sequentially, prompts for context/options/rationale, writes to docs/decisions/ or docs/adr/.
Generates MADR-formatted Architecture Decision Records (ADRs) from decisions extracted in the current session. Gathers git repo context, confirms selections with user, writes to docs/adrs/.
Share bugs, ideas, or general feedback.
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 management