What problem does it solve?
Decisions made during development—architecture changes, bug fixes, API modifications, and configuration choices—are often lost or undocumented, making future analysis, debugging, and automated agent recovery difficult. This Skill extracts the essential context and rationale from the current conversation and turns it into a concise, machine-friendly decision record so future agents and team members can quickly understand why choices were made.
Core Features & Use Cases
- Automatic extraction of title, date, type, status, scope, affected files, candidate options, chosen decision, abandoned alternatives, verification steps, and flip conditions from the active conversation.
- Append to project records by adding structured entries to the project's 04-决策记录.md and updating the last-modified metadata, with special handling for auto-type entries.
- Use cases: capture post-mortem fixes, document architecture refactors, record API contract changes, and log configuration or deployment decisions for future agents and audits.
Quick Start
Run the /decision command in the current conversation to extract a draft decision record and append it to the project's 04-决策记录.md for review or automatic commit.