skills-catalog/ln-222-story-replanner/SKILL.md
Replans Stories by comparing IDEAL vs existing (KEEP/UPDATE/OBSOLETE/CREATE). Use when Epic requirements changed and Stories need realignment.
npx skillsauth add levnikolaevich/claude-code-skills ln-222-story-replannerInstall 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: L3 Worker Category: 2XX Planning
Standalone-first worker for Story replanning. It compares ideal Story intent with existing Stories and applies the resulting operations.
Load these before execution:
shared/references/planning_worker_runtime_contract.mdshared/references/coordinator_summary_contract.mdshared/references/environment_state_contract.mdshared/references/storage_mode_detection.mdshared/references/template_loading_pattern.mdreferences/replan_algorithm_stories.mdCore inputs:
epicDataidealPlanexistingStoryIdsstandardsResearchteamIdautoApproveOptional transport inputs:
runIdsummaryArtifactPathThe worker must remain fully usable without caller-provided runId and without summaryArtifactPath. In standalone mode it generates its own run_id before emitting the summary envelope.
Runtime family: planning-worker-runtime
Identifier:
epic-{epicId}Phases:
PHASE_0_CONFIGPHASE_1_RESOLVE_CONTEXTPHASE_2_LOAD_EXISTING_STORIESPHASE_3_CLASSIFY_REPLANPHASE_4_CONFIRM_OR_AUTOAPPROVEPHASE_5_APPLY_REPLANPHASE_6_UPDATE_KANBANPHASE_7_WRITE_SUMMARYPHASE_8_SELF_CHECKManaged child-run mode:
--run-id and --summary-artifact-pathstory-plan-worker artifactStandalone mode:
run_idsummaryArtifactPath is providedAlways build a structured summary envelope:
schema_versionsummary_kind=story-plan-workerrun_ididentifierproducer_skill=ln-222produced_atpayloadPayload fields:
modeepic_idstories_plannedstories_createdstories_updatedstories_canceledstory_urlswarningskanban_updatedresearch_path_usedIf summaryArtifactPath is provided:
If summaryArtifactPath is not provided:
Managed artifact path pattern:
.hex-skills/runtime-artifacts/runs/{parent_run_id}/story-plan-worker/ln-222--{identifier}.jsonKEEP, UPDATE, OBSOLETE, CREATE.autoApprove=true.summaryArtifactPath is providedVersion: 3.0.0 Last Updated: 2025-12-23
testing
Checks runtime lifecycle and config validation: bootstrap, shutdown, probes, cleanup, env sync, and fail-fast startup. Use for runtime readiness.
testing
Checks races, deadlocks, async hazards, TOCTOU, blocking I/O, and shared resource contention. Use when auditing concurrency correctness.
testing
Checks diagnosability through structured logs, metrics, traces, correlation IDs, and useful log levels. Use when auditing incident visibility.
development
Finds code that can be safely deleted: unreachable, unused, obsolete compatibility, and commented-out code. Use when pruning dead code.