aiwfx-record-decision

Records project decisions as ADR or D-NNNN entities via the aiwf CLI.

Updated May 9, 2026
One-click install
npx skills add https://github.com/23min/aiwf --skill aiwfx-record-decision-23min
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aiwfx-record-decision
Source: https://github.com/23min/aiwf/tree/main/internal/skills/embedded-rituals/plugins/aiwf-extensions/skills/aiwfx-record-decision
Command: npx skills add https://github.com/23min/aiwf --skill aiwfx-record-decision-23min

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Decisions made during planning, implementation, or review often go unrecorded, leaving future readers unable to understand why the code or scope looks the way it does. This Skill captures those decisions consistently as versioned markdown entities with proper templates, frontmatter, and git history. ## Core Features & Use Cases - ADR vs D-NNNN selection: Guides the choice between an architectural decision record (durable, cross-cutting) and a project-scoped decision entity tied to an epic or milestone. - Template-driven drafting: Drafts the decision body from the canonical templates at .claude/templates/adr.md or .claude/templates/decision.md, then creates the entity with aiwf add so id allocation, frontmatter, and commit trailers are handled in one step. - Supersession handling: Retires replaced decisions with aiwf promote <id> superseded, writing the supersession links only after the replacement is accepted. - Use Case: Mid-implementation you realize a default changed; invoke this Skill to draft an ADR from the template, run aiwf add adr --title ... --body-file ..., promote it to accepted, and mirror the new id back into the milestone spec. ## Quick Start Ask the assistant to record the decision we just made about the authentication approach as an ADR using the aiwf record-decision workflow.

Frequently Asked Questions about aiwfx-record-decision

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I record an architectural decision with aiwf?

Draft the body from the template at .claude/templates/adr.md, remove its frontmatter block, then run aiwf add adr --title "<title>" --body-file <draft>. aiwf allocates the id, writes frontmatter, and commits with trailers in one step.

What is the difference between an ADR and a D-NNNN decision?

An ADR is architectural and durable across epics, covering cross-cutting concerns like data models or dependency choices. A D-NNNN is project-scoped, tied to a specific epic or milestone, such as sequencing decisions or scope cuts.

How do I supersede an existing decision in aiwf?

Promote the old accepted decision with aiwf promote <old-id> superseded, adding --superseded-by <new-id> for ADRs. Do this only after the replacement is accepted, since a superseded decision has no transition back.

Why does aiwf add reject my decision body file?

aiwf add refuses a body with a required section missing or empty. Draft from the canonical template rather than copying an existing ADR, which can drift from the format and drop the date-and-decider header line.

Can I edit a decision after it is created?

Yes, revise the body with aiwf edit-body <id>. Never commit changes with a plain git commit, which triggers the kernel's provenance-untrailered-entity-commit finding during aiwf check.