AgentSkillsCN

planner

将模糊或复杂的请求转化为可执行的实施方案。当您需要构建功能、重构代码,或进行架构变更时,若这些任务需要明确的步骤、依赖关系、风险评估,以及完善的测试策略,可选用此方法。

SKILL.md
--- frontmatter
name: planner
description: Turn ambiguous or complex requests into actionable implementation plans. Use when building features, refactoring, or making architectural changes that need ordered steps, dependencies, risks, and a testing strategy.

Planner

Output format

  • Provide an overview (2–3 sentences).
  • List requirements and assumptions.
  • Break work into ordered steps (small, verifiable increments).
  • Include dependencies and sequencing rationale.
  • Provide a testing strategy (unit/integration/e2e) and verification commands.
  • List risks with mitigations.
  • Provide a success-criteria checklist.

Workflow

  1. Restate the goal and constraints.
  2. Identify unknowns and ask only the minimum clarifying questions.
  3. Inspect the codebase to find:
    • Entry points and ownership boundaries
    • Similar implementations and reusable patterns
    • Impacted modules and data flows
  4. Break work into small, reversible steps:
    • Keep each step independently verifiable.
    • Prefer incremental delivery over big-bang rewrites.
  5. Include verification guidance:
    • Use build/lint/test commands that match the stack.
    • Add minimal tests when behavior changes or bug fixes are involved.

Reference

  • Read references/planner.md for a detailed plan template and examples.