ln-520-test-planner
Scannednpx machina-cli add skill levnikolaevich/claude-code-skills/ln-520-test-planner --openclawPaths: 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.
Test Planning Orchestrator
Coordinates the complete test planning pipeline for a Story by delegating to specialized workers.
Purpose & Scope
- Orchestrate test planning: research → manual testing → automated test planning
- Delegate to workers: ln-521-test-researcher, ln-522-manual-tester, ln-523-auto-test-planner
- No direct work — only coordination and delegation via Skill tool
- Called by ln-500-story-quality-gate after regression tests pass
When to Use
This skill should be used when:
- Invoked by ln-500-story-quality-gate after quality checks pass
- All implementation tasks in Story are Done
- Need complete test planning (research + manual + auto)
Prerequisites:
- All implementation Tasks in Story status = Done
- Regression tests passed (ln-514)
- Code quality checked (ln-511)
Pipeline Overview
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
Workflow
Phase 1: Discovery
- Auto-discover Team ID from
docs/tasks/kanban_board.md - Validate Story ID provided by ln-500
Input: Story ID from ln-500-story-quality-gate
Phase 2: Research Delegation
-
Check if research exists:
- Search Linear comments for "## Test Research:" header
- If found → skip to Phase 3
-
If no research:
- Use Skill tool to invoke
ln-521-test-researcher - Pass: Story ID
- Wait for completion
- Verify research comment created
- Use Skill tool to invoke
Phase 3: Manual Testing Delegation
-
Check if manual testing done:
- Search Linear comments for "## Manual Testing Results" header
- If found with all AC passed → skip to Phase 4
-
If manual testing needed:
- Use Skill tool to invoke
ln-522-manual-tester - Pass: Story ID
- Wait for completion
- Verify results comment created
- Use Skill tool to invoke
-
If any AC failed:
- Stop pipeline
- Report to ln-500: "Manual testing failed, Story needs fixes"
Phase 4: Auto Test Planning Delegation
-
Invoke auto test planner:
- Use Skill tool to invoke
ln-523-auto-test-planner - Pass: Story ID
- Wait for completion
- Use Skill tool to invoke
-
Verify results:
- Test task created in Linear (or updated if existed)
- Return task URL to ln-500
Phase 5: Report to Caller
- Return summary to ln-500:
- Research: completed / skipped (existed)
- Manual testing: passed / failed
- Test task: created / updated + URL
Worker Invocation (MANDATORY)
CRITICAL: All delegations use Task tool with
subagent_type: "general-purpose"for context isolation.
| Phase | Worker | Purpose |
|---|---|---|
| 2 | ln-521-test-researcher | Research real-world problems |
| 3 | ln-522-manual-tester | Manual AC testing via bash scripts |
| 4 | ln-523-auto-test-planner | Plan E2E/Integration/Unit tests |
Prompt template:
Task(description: "[Phase N] test planning via ln-52X",
prompt: "Execute ln-52X-{worker}. Read skill from ln-52X-{worker}/SKILL.md. Story: {storyId}",
subagent_type: "general-purpose")
Anti-Patterns:
- ❌ Direct Skill tool invocation without Task wrapper
- ❌ Running web searches directly (delegate to ln-521)
- ❌ Creating bash test scripts directly (delegate to ln-522)
- ❌ Creating test tasks directly (delegate to ln-523)
- ❌ Skipping any phase without justification
Critical Rules
- No direct work: Orchestrator only delegates, never executes tasks itself
- Sequential execution: 521 → 522 → 523 (each depends on previous)
- Fail-fast: If manual testing fails, stop pipeline and report
- Skip detection: Check for existing comments before invoking workers
- Single responsibility: Each worker does one thing well
Definition of Done
- Story ID validated
- Research phase: ln-521 invoked OR existing comment found
- Manual testing phase: ln-522 invoked OR existing results found
- Auto test planning phase: ln-523 invoked
- Test task created/updated in Linear
- Summary returned to ln-500-story-quality-gate
Output: Summary with phase results + test task URL
Reference Files
- Workers:
../ln-521-test-researcher/SKILL.md,../ln-522-manual-tester/SKILL.md,../ln-523-auto-test-planner/SKILL.md - Caller:
../ln-500-story-quality-gate/SKILL.md - Risk-based testing:
../shared/references/risk_based_testing_guide.md
Version: 4.0.0 Last Updated: 2026-01-15
Source
git clone https://github.com/levnikolaevich/claude-code-skills/blob/master/ln-520-test-planner/SKILL.mdView on GitHub Overview
ln-520-test-planner coordinates the full test planning pipeline for a Story, orchestrating research (ln-521), manual testing (ln-522), and automated test planning (ln-523). It performs no direct work itself, acting as a coordinator invoked by ln-500-story-quality-gate after regression tests pass. The skill delegates work via the Skill tool and returns a final summary to the caller.
How This Skill Works
The orchestrator takes a Story ID from ln-500-story-quality-gate, validates it, and auto-discovers the Team ID. It then sequentially delegates Phase 2 to ln-521, Phase 3 to ln-522, and Phase 4 to ln-523 using Task wrappers with subagent_type: 'general-purpose', waiting for each to complete and verifying produced artifacts (research comments, manual testing results, and a Linear task URL). It finally reports a concise summary back to ln-500.
When to Use It
- When the ln-500-story-quality-gate has passed regression tests and prerequisites are met
- When you need a complete test plan spanning research, manual testing, and auto test planning
- When you want centralized coordination across ln-521, ln-522, and ln-523
- When a Story has all implementation tasks marked Done and is ready for test planning
- When prerequisites (regression tests, code quality checks) are confirmed and documented
Quick Start
- Step 1: Confirm prerequisites and obtain the Story ID from ln-500-story-quality-gate
- Step 2: Invoke Phase 2 via ln-521-test-researcher and wait for completion
- Step 3: Progress through Phase 3 (ln-522) and Phase 4 (ln-523), then return the summary to ln-500
Best Practices
- Verify prerequisites: all implementation tasks Done, regression tests passed (ln-514), and code quality checked (ln-511)
- Check for existing research or manual results before invoking workers to avoid duplication
- Use the Task wrapper with subagent_type: 'general-purpose' for all delegations to ensure context isolation
- Monitor phase transitions and only advance after each phase completes successfully
- Return a clear summary to ln-500 including whether research/manual auto tasks were created and their URLs
Example Use Cases
- Story with a new feature: ln-521 creates research, ln-522 runs manual tests, and ln-523 schedules automated tests in Linear
- Existing manual testing results found: skip manual phase and proceed to auto test planning
- Auto test planner creates a Linear task and reports its URL back to ln-500
- Prerequisites fail (e.g., regression tests not passing): pipeline halts and notifies ln-500
- Partial completion: reuse existing research findings and update the final summary with new results