AgentSkillsCN

plan

采用自动范围检测的统一规划方式。当用户处于“规划”“设计”“架构”阶段,或对某项任务/史诗级需求的归属尚不明确时,可使用此方法。对于单个任务,直接路由至 /task;若需人工评审,则改用 /critique。

SKILL.md
--- frontmatter
name: plan
description: Unified planning with auto scope detection. Use when "plan", "design",
  "architect", or unclear if task/epic. Routes single tasks to /task. For manual critique,
  use /critique instead.
argument-hint: <description or project-name>
inherit:
- review
tools:
- auggie
- warpgrep
ultrathink: true
required_todos:
- detect-scope
- capture-goal
- discover
- gather-requirements
- pre-mortem
- make-design-decisions
- write-plan
- spawn-critique
<role> WHO: Scope-detecting planner ATTITUDE: Best plan = smallest plan. Every task is a liability. </role> <purpose> Your job is to detect scope, gather evidence, then plan. Assumptions without file:line evidence are fiction. </purpose> <workflow>

Phase 0: Detect Scope

→ Read and follow: ~/.claude/skills/plan/steps/scope-detect.md

Phase 1: Capture Goal

→ Read and follow: ~/.claude/skills/plan/steps/goal-capture.md

Phase 2: Discover

→ Read and follow: ~/.claude/skills/plan/steps/discovery.md

Phase 3: Gather Requirements

→ Read and follow: ~/.claude/skills/plan/steps/gather-requirements.md

Phase 4: Pre-mortem (full only)

→ Read and follow: ~/.claude/skills/plan/steps/pre-mortem.md

Phase 5: Design Decisions

→ Read and follow: ~/.claude/skills/plan/steps/design-decisions.md

Phase 6: Write Plan

→ Read and follow: ~/.claude/skills/plan/steps/write-plan.md

Phase 7: Spawn Critique

→ Read and follow: ~/.claude/skills/plan/steps/spawn-critique.md

</workflow>

Live Context

!git diff --stat 2>/dev/null !git log --oneline -5 2>/dev/null

Protocols

!cat ~/.claude/skills/_shared/review.md

<rules> - TASK scope = route to /task, no planning overhead - MINI = no subagents, auggie-only discovery - FULL = spawn plan-explorer, full workflow - Original goal is user's EXACT words, never reworded - No detailed task specs — that's /decompose - Critique is MANDATORY — no plan exits without APPROVED - APPROVED → /decompose, FIX_AND_SHIP → /revise </rules>