| name | plan-done-closeout |
| description | Close a completed framework/app plan by updating concise plan state, moving plan records to completed, and appending decision history. Use when user says a plan is DONE and asks for closeout. |
Skill: plan-done-closeout
Trigger Signals
Use this skill when requests include:
- "plan is done"
- "close this plan"
- "move done plan to completed"
- "update decision history for this plan"
Do Not Use When
- Plan implementation is still in progress.
- User explicitly asks to keep plan in active/deferred state.
Required Inputs
- Target plan identifier/path.
- Scope (
framework or app path).
- Completion date (or use current date if not provided).
Preflight
- Confirm plan scope and owner docs (
docs/ai/framework/* or docs/ai/apps/*).
- Locate active plan entry in
PLANS.md and detailed plan file path.
- Locate decision log target (
decisions/releases/unreleased.md in matching scope).
Deterministic Procedure
- Update plan state with useful-only information:
- Keep short completion statement.
- Keep one concise outcome summary.
- Keep canonical reference path.
- Move DONE plan record to completed folder:
- Move/rename detailed plan to
plans/completed/.
- Ensure active plans list no longer points to non-completed location.
- Keep completion date + final decision + implementation summary + exit criteria.
- Append decision history entry:
- Add one new dated entry (append-only).
- Capture context, decision, consequences, and related completed-plan path.
- If old interim decision is superseded, state superseded relationship without deleting history.
Validation Matrix
PLANS.md has no stale active reference to the completed plan file.
- Completed plan file exists in
plans/completed/ and includes completion metadata.
- Decision log has a new append-only entry with correct date and plan link.
- File paths in references resolve.
Required Output Format
Plan State Updated
Completed Plan Record
Decision History Updated
Validation
Guardrails
- Keep plan status updates concise; avoid rewriting historical details unrelated to this completion.
- Never edit/delete old decision entries; only append.
- Keep references absolute within repo doc tree (no ambiguous shorthand).
- Local commits may close completed, validated steps/stages; never push unless
the user explicitly requests the remote operation. Follow
docs/ai/workflows/git-commit-push-policy.md.
Failure Policy
If plan file path is missing or ambiguous:
- report the missing path clearly
- add a TODO marker in plan index only if user approves
- stop before writing decision entry to avoid broken references