skills-catalog/ln-520-test-planner/SKILL.md
Orchestrates test planning pipeline: research, manual testing, automated test planning. Use when Story needs comprehensive test coverage planning.
npx skillsauth add levnikolaevich/claude-code-skills ln-520-test-plannerInstall 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. Ifshared/is missing, fetch files via WebFetch fromhttps://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}.
Type: L2 Coordinator Category: 5XX Quality
Runtime-backed test-planning coordinator. The runtime owns skip/reuse gates, worker summary tracking, and deterministic resume.
| Input | Required | Source | Description |
|-------|----------|--------|-------------|
| storyId | Yes | args, git branch, kanban, user | Story to process |
| --simplified | No | args | Skip research (ln-521) and manual testing (ln-522). Run only auto-test planning (ln-523). Used in fast-track mode. |
Resolution: Story Resolution Chain. Status filter: To Review
MANDATORY READ: Load shared/references/coordinator_runtime_contract.md, shared/references/test_planning_runtime_contract.md, shared/references/test_planning_summary_contract.md, shared/references/test_planning_worker_runtime_contract.md, shared/references/task_plan_worker_runtime_contract.md
Runtime family: test-planning-runtime
Identifier:
Phases:
PHASE_0_CONFIGPHASE_1_DISCOVERYPHASE_2_RESEARCHPHASE_3_MANUAL_TESTINGPHASE_4_AUTO_TEST_PLANNINGPHASE_5_FINALIZEPHASE_6_SELF_CHECKWorker summary contract:
ln-521, ln-522, ln-523 receive deterministic child runId plus exact summaryArtifactPathtest-planning-worker summary envelope before terminal outcomeThis skill should be used when:
Prerequisites:
ln-520-test-planner (Orchestrator)
│
├─→ ln-521-test-researcher
│ └─→ Posts "## Test Research: {Feature}" comment
│
├─→ ln-522-manual-tester
│ └─→ Creates tests/manual/ scripts + "## Manual Testing Results" comment
│
└─→ ln-523-auto-test-planner
└─→ Creates test task in Linear via ln-301/ln-302
MANDATORY READ: Load shared/references/input_resolution_pattern.md
docs/tasks/kanban_board.mdSimplified mode gate:
- IF
--simplifiedflag AND research comment already exists on Story: Skip Phase 2 (research). Proceed to Phase 4.- IF
--simplifiedflag AND no research comment: Skip Phase 2. Proceed to Phase 4 (ln-523 will generate minimal inline research).
Check if research exists:
If no research:
ln-521test-planning-worker-runtime and checkpoint child_run before delegationln-521-test-researcher via managed worker runtest-planning-worker artifactSimplified mode gate:
- IF
--simplifiedflag: Skip Phase 3 (manual testing). Proceed to Phase 4.
Check if manual testing done:
If manual testing needed:
ln-522test-planning-worker-runtime and checkpoint child_run before delegationln-522-manual-tester via managed worker runtest-planning-worker artifactIf any AC failed:
Invoke auto test planner:
ln-523test-planning-worker-runtime and checkpoint child_run before delegationln-523-auto-test-planner via managed worker runtest-planning-worker artifactVerify results:
MANDATORY READ: Load shared/references/coordinator_summary_contract.md
Write .hex-skills/runtime-artifacts/runs/{run_id}/story-tests/{story_id}.json before finishing.
CRITICAL: All delegations use Agent tool with
subagent_type: "general-purpose"for context isolation, but every managed worker run must be prepared throughtest-planning-worker-runtimefirst.
| Phase | Worker | Purpose | |-------|--------|---------| | 2 | ln-521-test-researcher | Runtime-backed managed Agent call; artifact is the only completion signal | | 3 | ln-522-manual-tester | Runtime-backed managed Agent call; artifact is the only completion signal | | 4 | ln-523-auto-test-planner | Runtime-backed managed Agent call; artifact is the only completion signal |
Prompt template:
Agent(description: "[Phase N] test planning via ln-52X",
prompt: "Execute test planning worker.
Step 1: Start worker runtime:
node shared/scripts/test-planning-worker-runtime/cli.mjs start --skill {worker} --story {storyId} --manifest-file .hex-skills/test-planning/{worker}--{storyId}_manifest.json --run-id {childRunId} --summary-artifact-path .hex-skills/runtime-artifacts/runs/{parent_run_id}/test-planning-worker/{worker}--{storyId}.json
Step 2: Checkpoint child metadata:
node shared/scripts/test-planning-runtime/cli.mjs checkpoint --story {storyId} --phase PHASE_N --payload '{\"child_run\":{\"worker\":\"{worker}\",\"run_id\":\"{childRunId}\",\"summary_artifact_path\":\".hex-skills/runtime-artifacts/runs/{parent_run_id}/test-planning-worker/{worker}--{storyId}.json\"}}'
Step 3: Invoke worker:
Skill(skill: \"ln-52X-{worker}\", args: \"{storyId} --run-id {childRunId} --summary-artifact-path .hex-skills/runtime-artifacts/runs/{parent_run_id}/test-planning-worker/{worker}--{storyId}.json\")
CONTEXT:
Story: {storyId}",
subagent_type: "general-purpose")
Anti-Patterns:
child_run checkpoint- Resolve Story and prerequisites (pending)
- Check or reuse research state (pending)
- Start ln-521 child runtime, checkpoint metadata, or skip deterministically (pending)
- Check or reuse manual testing state (pending)
- Start ln-522 child runtime, checkpoint metadata, or skip deterministically (pending)
- Start ln-523 child runtime, checkpoint metadata, and verify test-task result (pending)
- Write story-tests summary artifact (pending)
- Report final planning outcome (pending)
test-planning-worker-runtime before the Agent wrapper invokes the worker.Output: Summary with phase results + test task URL
MANDATORY READ: Load shared/references/meta_analysis_protocol.md
Skill type: planning-coordinator. Run after all phases complete. Output to chat using the planning-coordinator format.
../ln-521-test-researcher/SKILL.md, ../ln-522-manual-tester/SKILL.md, ../ln-523-auto-test-planner/SKILL.mdshared/references/risk_based_testing_guide.mdVersion: 4.0.0 Last Updated: 2026-01-15
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.