record-decision · git:20260317.83f609a · 2026-03-17 · sha256 8f8b3634e66f3abf
record-decision git:20260317.83f609aA
Immutable. This exact content never changes and is served at /api/v1/blob/8f8b3634e66f3abf.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_4qeweysqvimkepph/8f8b3634e66f3abff29ced5630822f750ee0614ebf8a48536e01fbbcce7d00f2.json
Then /plugin install record-decision@markdownregistry-4qeweysqvimkepph in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.
---
name: record-decision
description: Document ADRs for non-trivial choices at Stage D of the VibeFlow docs-first workflow
metadata:
triggers:
- ADR
- decision record
- Stage D
- architecture decision
---
# record-decision
Document ADRs for non-trivial choices at Stage D of the VibeFlow docs-first workflow.
## Purpose
This skill creates ADR (Architecture Decision Record) documents for Stage D:
- Document non-trivial architectural decisions
- Record alternatives considered and consequences
- Include rollback plans
## Workflow
```
Stage D: Decide
│
├── Create ADRs for non-trivial decisions
├── Document alternatives and consequences
└── Include rollback plans
```
## Usage
### Create ADR
```
/record-decision <ID> <slug>
```
Creates `docs/adrs/adr-<ID>-<slug>.md`.
Example:
```
/record-decision 001 backend-framework
```
## Document Requirements
### ADR (`docs/adrs/adr-<ID>-<slug>.md`)
Required sections:
- Title with decision summary
- Header (File, Status)
- Context
- Decision
- Consequences (+/-)
- Alternatives
- Rollback Plan
- Links (PRD/SPEC/FEATURE references)
## Validation
- `scripts/validate_adr.py` — Validate ADR
## References
See `assets/`:
- `adr-template.md` — ADR template
## Library Documentation Lookup
When referencing external libraries, frameworks, or APIs in this document, use the Context7 MCP tools to look up current documentation rather than relying on training data:
1. `mcp__context7_resolve-library-id` — find the library ID
2. `mcp__context7_get-library-docs` — retrieve current docs
Also consider using `/find-docs` for broader technical documentation lookup.
## Manifest Update
After completing Stage D, update `docs/workflow-state.yaml`:
- Set `stage: D`
- Append to `docs.adrs[]`: `docs/adrs/adr-<ID>-<slug>.md`
**Checkpoint #1 (after Stage D):**
- Set `checkpoint: 1` after passing validation
- Criteria: PRD exists with all required sections, discovery doc exists, at least one tech spec, at least one ADR
## Git Commit
After completing this stage, ask the user for permission before committing:
```bash
git add docs/adrs/adr-<ID>-<slug>.md docs/workflow-state.yaml
git commit -m "feat(adr): record <slug> decision (#ft-<ID>)"
```
Replace `<ID>` and `<slug>` with actual values.
## Auto-Advance
After the commit is complete, directly run `/manage-work advance <ID>` to advance to the next stage.
The advance command will automatically validate Checkpoint #1 at the D→E boundary.