测试规划器

Universal

ln-520-test-planner

by levnikolaevich

在 Story 进入 To Review 且回归与代码质量检查通过后,串联测试调研、人工验证和自动化测试规划,统一调度 ln-521、ln-522、ln-523 完成完整测试方案。

打通调研、手测到自动化测试的规划链路,还能挂接质量门禁,特别适合想把测试流程标准化、提效的团队。

405编码与调试未扫描2026年3月5日

安装

claude skill add --url github.com/levnikolaevich/claude-code-skills/tree/master/ln-520-test-planner

文档

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.

Inputs

InputRequiredSourceDescription
storyIdYesargs, git branch, kanban, userStory to process

Resolution: Per shared/references/input_resolution_pattern.md — Story Resolution Chain. Status filter: To Review

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

code
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 0: Resolve Inputs

MANDATORY READ: Load shared/references/input_resolution_pattern.md

  1. Resolve storyId (per input_resolution_pattern.md):
    • IF args provided → use args
    • ELSE IF git branch matches feature/{id}-* → extract id
    • ELSE IF kanban has exactly 1 Story in [To Review] → suggest
    • ELSE → AskUserQuestion: show Stories from kanban filtered by [To Review]

Phase 1: Discovery

  1. Auto-discover Team ID from docs/tasks/kanban_board.md
  2. Validate Story ID

Phase 2: Research Delegation

  1. Check if research exists:

    • Search Linear comments for "## Test Research:" header
    • If found → skip to Phase 3
  2. If no research:

    • Use Skill tool to invoke ln-521-test-researcher
    • Pass: Story ID
    • Wait for completion
    • Verify research comment created

Phase 3: Manual Testing Delegation

  1. Check if manual testing done:

    • Search Linear comments for "## Manual Testing Results" header
    • If found with all AC passed → skip to Phase 4
  2. If manual testing needed:

    • Use Skill tool to invoke ln-522-manual-tester
    • Pass: Story ID
    • Wait for completion
    • Verify results comment created
  3. If any AC failed:

    • Stop pipeline
    • Report to ln-500: "Manual testing failed, Story needs fixes"

Phase 4: Auto Test Planning Delegation

  1. Invoke auto test planner:

    • Use Skill tool to invoke ln-523-auto-test-planner
    • Pass: Story ID
    • Wait for completion
  2. Verify results:

    • Test task created in Linear (or updated if existed)
    • Return task URL to ln-500

Phase 5: Report to Caller

  1. 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.

PhaseWorkerPurpose
2ln-521-test-researcherResearch real-world problems
3ln-522-manual-testerManual AC testing via bash scripts
4ln-523-auto-test-plannerPlan E2E/Integration/Unit tests

Prompt template:

code
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

相关 Skills

网页构建器

by anthropics

Universal
热门

面向复杂 claude.ai HTML artifact 开发,快速初始化 React + Tailwind CSS + shadcn/ui 项目并打包为单文件 HTML,适合需要状态管理、路由或多组件交互的页面。

在 claude.ai 里做复杂网页 Artifact 很省心,多组件、状态和路由都能顺手搭起来,React、Tailwind 与 shadcn/ui 组合效率高、成品也更精致。

编码与调试
未扫描119.1k

前端设计

by anthropics

Universal
热门

面向组件、页面、海报和 Web 应用开发,按鲜明视觉方向生成可直接落地的前端代码与高质感 UI,适合做 landing page、Dashboard 或美化现有界面,避开千篇一律的 AI 审美。

想把页面做得既能上线又有设计感,就用前端设计:组件到整站都能产出,难得的是能避开千篇一律的 AI 味。

编码与调试
未扫描119.1k

网页应用测试

by anthropics

Universal
热门

用 Playwright 为本地 Web 应用编写自动化测试,支持启动开发服务器、校验前端交互、排查 UI 异常、抓取截图与浏览器日志,适合调试动态页面和回归验证。

借助 Playwright 一站式验证本地 Web 应用前端功能,调 UI 时还能同步查看日志和截图,定位问题更快。

编码与调试
未扫描119.1k

相关 MCP 服务

GitHub

编辑精选

by GitHub

热门

GitHub 是 MCP 官方参考服务器,让 Claude 直接读写你的代码仓库和 Issues。

这个参考服务器解决了开发者想让 AI 安全访问 GitHub 数据的问题,适合需要自动化代码审查或 Issue 管理的团队。但注意它只是参考实现,生产环境得自己加固安全。

编码与调试
83.9k

by Context7

热门

Context7 是实时拉取最新文档和代码示例的智能助手,让你告别过时资料。

它能解决开发者查找文档时信息滞后的问题,特别适合快速上手新库或跟进更新。不过,依赖外部源可能导致偶尔的数据延迟,建议结合官方文档使用。

编码与调试
52.9k

by tldraw

热门

tldraw 是让 AI 助手直接在无限画布上绘图和协作的 MCP 服务器。

这解决了 AI 只能输出文本、无法视觉化协作的痛点——想象让 Claude 帮你画流程图或白板讨论。最适合需要快速原型设计或头脑风暴的开发者。不过,目前它只是个基础连接器,你得自己搭建画布应用才能发挥全部潜力。

编码与调试
46.4k

评论