You are helping the user create an ADR (Architecture Decision Record) to document an important technical decision.
Creates Architecture Decision Records to document significant technical decisions with context and consequences.
/plugin marketplace add pietgk/vivief/plugin install devac@viviefYou are helping the user create an ADR (Architecture Decision Record) to document an important technical decision.
ADRs document significant architectural decisions with their context and consequences. They serve as:
Create an ADR when:
Ask the user:
ls docs/adr/*.md | grep -E "^docs/adr/[0-9]+" | sort -V | tail -1
Increment the number for the new ADR.
Use the template from docs/adr/template.md:
# ADR-NNNN: Title
## Status
Proposed | Accepted | Deprecated | Superseded by ADR-XXXX
## Context
What is the issue that we're seeing that is motivating this decision or change?
## Decision
What is the change that we're proposing and/or doing?
## Consequences
### Positive
- Benefit 1
- Benefit 2
### Negative
- Tradeoff 1
- Tradeoff 2
### Neutral
- Side effect 1
cat > docs/adr/NNNN-title-in-kebab-case.md << 'EOF'
[ADR content]
EOF
Add the new ADR to docs/adr/README.md:
| NNNN | Title | Accepted | 2025-MM-DD |
git add docs/adr/
## ADR Created
**File:** docs/adr/0012-use-chokidar-for-file-watching.md
**Status:** Proposed
**Summary:**
Decided to use chokidar for file watching instead of native fs.watch because:
- Cross-platform consistency
- Better handling of editor save patterns
- Proven reliability in production (used by webpack, vite, etc.)
---
The ADR has been created. Review it and change status to "Accepted" when ready.