/claude-planning-with-ai:plan-edge-case [NNN-slug] [story-NN] -- <what happened>from claude-planning-with-ai
Add a raw retrospective note for an unexpected event, correction, blocker, or unusual situation in an active planning.
Ships in claude-planning-with-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add a raw retrospective note to .planning/active/<planning-id>/RETROSPECTIVE-RAW.md.
Use this when something unusual happens outside another plugin command, or when the user says something like:
/plan-edge-case "this last thing that happened and how we solved it"
/plan-edge-case 001-checkout -- reviewer found the smoke test was checking the wrong port
/plan-edge-case 001-checkout story-02 -- deployment config was missing and we patched it manually
Reference workflow: .planning/WORKFLOWS/03-MAINTENANCE-WORKFLOWS/RECORD-EDGE-CASE.md
$ARGUMENTS supports:
NNN-slug [story-NN] -- <description>NNN-slug [story-NN] "<description>""<description>" when exactly one active planning existsParse $ARGUMENTS.
\d{3}-[a-z0-9-]+, treat it as the planning id.story-[a-zA-Z0-9-]+, treat it as the related story.-- if present..planning/active/*/. If exactly one active planning exists, use it. If zero or multiple active plannings exist, stop and ask the user to provide the planning id.Locate .planning/active/<planning-id>/. If not found:
.planning/<planning-id>/ exists, use that path and note that the planning is still INITIAL..planning/finished/<planning-id>/ exists, stop: finished plannings are read-only; create a follow-up planning instead.Ensure RETROSPECTIVE-RAW.md exists in the planning root.
.planning/_template/RETROSPECTIVE-RAW.md.Read recent conversation context and the planning files (00-initial.md, 01-expansion.md if present, related story file if provided) only as needed to understand the event.
Create a new raw entry. Use the current local date/time from:
date "+%Y-%m-%d %H:%M"
Add the entry under ## Log, above older entries:
### YYYY-MM-DD HH:MM - <short title>
- **Source:** manual
- **Related story/task:** <story-NN, task-NN, or none>
- **What happened:** <description>
- **Expected instead:** <inferred expectation, or unknown>
- **Resolution:** <known resolution from user/context, or unresolved>
- **Retrospective signal:** <lesson, follow-up, risk, or decision candidate>
If the file contains *(No unexpected events recorded yet.)*, remove that placeholder.
Report the path updated and a one-line summary of the entry.
/plan-decision <planning-id> -- <decision title> after writing the raw note./plan-decision <planning-id> -- <decision title> as the follow-up instead of writing a PDR.This command always writes the raw note first. It may invoke
/plan-decisiononly after the raw fact is recorded and only when the decision is explicit, accepted, and cross-cutting. Use/plan-retrospective <planning-id>to convert raw notes into the final professional retrospective.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub adumun/claude-planning-with-ai --plugin claude-planning-with-ai53 skills in this plugin
/doc-generateGenerate documentation from planning artifacts at task, story, or planning level using the deterministic doc-generate script./doc-storyGenerate documentation for a completed story using the deterministic doc-generate script./doc-taskGenerate documentation for a completed atomic task using the deterministic doc-generate script./epic-enrichAdd missing backlog stories to an existing epic or story container while delegating container inspection, ID assignment, story drafting, and index updates to the shared planning-story script.Other plugins' skills for the same job