Imported from ctxpipe-ai/ctxpipe (
.cursor/skills/capture-adr/SKILL.md). Install upstream withnpx skills add ctxpipe-ai/ctxpipe --skill capture-adr. Copyright stays with the author.
Capture ADR
Use when an architectural or tooling decision should be durable.
- Pick the next
ADR-NNNnumber from.ai/memory/decisions/. - Write
ADR-NNN-title-slug.md(Status, Date, Tags, Context, Decision, Consequences). - Update
.ai/memory/decisions/index.md. - If needed, link from
.ai/memory/index.mdor product context. - Do not invent decisions from noisy hook candidates — confirm with the user or clear session evidence.
Close the candidate lifecycle
After durable Markdown is written (or you reject the candidate), mark ids so they leave the pending/surfaced sets:
npx -y ctxpipe memory capture promote <candidateId>
# or
npx -y ctxpipe memory capture dismiss <candidateId>