skills-catalog/ln-220-story-coordinator/SKILL.md
Creates, replans, or appends 5-10 Stories per Epic with standards research and multi-epic routing. Use when Epic needs Story decomposition.
npx skillsauth add levnikolaevich/claude-code-skills ln-220-story-coordinatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Paths: File paths (
shared/,references/,../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.
Type: L2 Domain Coordinator Category: 2XX Planning
Runtime-backed Story planning coordinator. The runtime owns flow control, pause/resume, and worker result tracking.
Load these before execution:
shared/references/coordinator_runtime_contract.mdshared/references/story_planning_runtime_contract.mdshared/references/coordinator_summary_contract.mdshared/references/environment_state_contract.mdshared/references/storage_mode_detection.mdshared/references/problem_solving.md| Parameter | Required | Description |
|-----------|----------|-------------|
| epicId | Yes | Epic to decompose |
| autoApprove | No | If false, runtime pauses on preview confirmation |
Runtime family: story-planning-runtime
Identifier:
epic-{epicId}Phases:
PHASE_0_CONFIGPHASE_1_CONTEXT_ASSEMBLYPHASE_2_RESEARCHPHASE_3_PLANPHASE_4_ROUTINGPHASE_5_MODE_DETECTIONPHASE_6_DELEGATEPHASE_7_FINALIZEPHASE_8_SELF_CHECKTerminal phases:
DONEPAUSEDSummary flow:
story-plan-worker artifacts from ln-221 / ln-222story-plan artifact during PHASE_7_FINALIZEResolve Epic and assemble only the planning inputs that change Story decomposition:
Checkpoint payload:
context_readyDo focused research only when it changes Story Technical Notes or implementation constraints.
Do not let research expand Story scope.
Checkpoint payload:
research_statusresearch_fileBuild the ideal Story plan before looking at existing Stories.
Rules:
Checkpoint payload:
ideal_plan_summaryRoute planned Stories to epic groups.
Fast path:
Pause only when routing is ambiguous or requires confirmation.
Checkpoint payload:
routing_summaryDetermine mode per epic group:
CREATEREPLANADDCheckpoint payload:
epic_group_modesPhase 6 has two internal steps.
Phase 6a: Prepare delegation
run_id and summary_artifact_path for each childPhase 6b: Execute delegation
Delegate by group:
ln-221-story-creatorln-222-story-replannerWorkers remain standalone-capable. In managed mode the coordinator starts them through planning-worker-runtime, passes runId + summaryArtifactPath, stores the launch metadata in child_run, then records the resulting worker artifact through record-epic.
Worker summary kind:
story-plan-workerFinalize only after all expected worker summaries are recorded.
Coordinator output:
story-plan summary for the parent runtimenode shared/scripts/story-planning-runtime/cli.mjs record-plan-summaryPHASE_8_SELF_CHECKTemplate compliance gate: Fetch each created Story via get_issue. Run validateTemplateCompliance(description, 'story') from planning-runtime/lib/template-compliance.mjs. All stories must pass (9 sections in order). Record template_compliance_passed in state. Guard blocks SELF_CHECK without it.
Checkpoint payload:
final_resulttemplate_compliance_passedConfirm:
Checkpoint payload:
passfinal_resultUse runtime PAUSED + pending_decision for:
ADD vs REPLANautoApprove=falseDo not hold these decisions only in chat.
Workers:
summaryArtifactPathExpected summary kind:
story-plan-workerstory-plan| Phase | Worker | Context |
|-------|--------|---------|
| 6 | ln-221-story-creator | CREATE or ADD path |
| 6 | ln-222-story-replanner | REPLAN path |
node shared/scripts/planning-worker-runtime/cli.mjs start --skill {worker} --identifier {identifier} --manifest-file {workerManifestPath} --run-id {childRunId} --summary-artifact-path {childSummaryArtifactPath}
child_run = { skill, run_id, identifier, summary_artifact_path }
childSummaryArtifactPath = .hex-skills/runtime-artifacts/runs/{parent_run_id}/story-plan-worker/{worker}--{identifier}.json
Skill(skill: "{worker}", args: "{identifier} --ideal-plan {idealPlanJSON} --epic {epicId} --run-id {childRunId} --summary-artifact-path {childSummaryArtifactPath}")
Read {childSummaryArtifactPath}
node shared/scripts/story-planning-runtime/cli.mjs record-epic --epic {epicId} --payload-file {childSummaryArtifactPath}
node shared/scripts/story-planning-runtime/cli.mjs record-plan-summary --epic {epicId} --payload-file {coordinatorSummaryPath}
- Phase 1: Assemble context (pending)
- Phase 2: Research only what changes Technical Notes (pending)
- Phase 3: Build ideal Story plan (pending)
- Phase 4: Route Stories by Epic (pending)
- Phase 5: Detect mode per group (pending)
- Phase 6a: Prepare delegation batch (pending)
- Phase 6b: Execute worker(s) sequentially (pending)
- Phase 7: Finalize result (pending)
- Phase 8: Self-check (pending)
story-plan summary recordedMANDATORY READ: Load shared/references/meta_analysis_protocol.md
Skill type: planning-coordinator. Run after all phases complete. Output to chat using the protocol format.
shared/references/environment_state_contract.mdshared/references/storage_mode_detection.mdreferences/replan_algorithm.mdVersion: 5.0.0 Last Updated: 2026-02-03
testing
Audits architecture config boundaries: typed settings, scattered env reads, config leakage, and layer ownership. Use for config architecture.
tools
Finds architecture-level modernization opportunities: obsolete custom mechanisms, overbuilt extension points, and simplifiable architecture. Use when auditing architecture evolution.
development
Builds dependency topology, detects cycles, validates import rules, and calculates coupling metrics. Use when auditing architecture topology.
testing
Checks layer, resource ownership, and orchestration boundaries. Use when auditing architecture boundary enforcement.