plan-with-agent

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Planning Skill

规划Skill

Organizes ideas and requirements, converting them into executable tasks in Plans.md.
将想法和需求进行整理,转化为Plans.md中的可执行任务。

Quick Reference

快速参考

  • "Create a plan" → this skill
  • "Turn what we talked about into a plan" → extract from conversation
  • "Want to organize what to build" → start with hearing
  • "Plan with TDD" → force TDD adoption
  • "CI/benchmark" →
    --ci
    mode
  • "创建计划" → 调用本Skill
  • "把我们讨论的内容转化为计划" → 从对话中提取信息
  • "想要整理待开发内容" → 先倾听需求
  • "用TDD做规划" → 强制采用TDD模式
  • "CI/基准测试" → 使用
    --ci
    模式

Deliverables

交付物

  • Plans.md - Task list executable with
    /work
    (required)
  • Feature priority matrix - Required/Recommended/Optional classification
  • Plans.md - 可通过
    /work
    执行的任务列表(必填)
  • 功能优先级矩阵 - 按“必需/推荐/可选”分类(必填)

Usage

使用方法

bash
/plan-with-agent       # Interactive planning
/plan-with-agent --ci  # CI mode (non-interactive)
bash
/plan-with-agent       # 交互式规划
/plan-with-agent --ci  # CI模式(非交互式)

Mode-specific Usage

模式专属用法

ModeCommandDescription
Solo mode
/plan-with-agent
Claude Code alone: plan → execute → review
2-agent mode
/plan-with-cc
(Cursor)
Plan with Cursor → Execute with Claude Code
模式命令说明
单人模式
/plan-with-agent
仅使用Claude Code:规划 → 执行 → 评审
双Agent模式
/plan-with-cc
(Cursor)
与Cursor协作规划 → 用Claude Code执行

Feature Details

功能详情

FeatureReference
Execution FlowSee references/execution-flow.md
TDD AdoptionSee references/tdd-adoption.md
Priority MatrixSee references/priority-matrix.md
功能参考文档
执行流程查看 references/execution-flow.md
TDD采用查看 references/tdd-adoption.md
优先级矩阵查看 references/priority-matrix.md

Execution Flow Overview

执行流程概述

  1. Step 0: Check conversation context (extract from previous conversation or start fresh)
  2. Step 1: Hearing what to build
  3. Step 2: Increase resolution (max 3 questions)
  4. Step 3: Technical research (WebSearch)
  5. Step 4: Extract feature list
  6. Step 5: Create priority matrix (Required/Recommended/Optional)
  7. Step 5.5: TDD adoption judgment and test design
  8. Step 6: Effort estimation (reference)
  9. Step 7: Generate Plans.md with quality markers
  10. Step 8: Guide next actions
  1. 步骤0:检查对话上下文(从历史对话提取或从头开始)
  2. 步骤1:倾听待开发内容的需求
  3. 步骤2:细化需求(最多提出3个问题)
  4. 步骤3:技术调研(WebSearch)
  5. 步骤4:提取功能列表
  6. 步骤5:创建优先级矩阵(必需/推荐/可选)
  7. 步骤5.5:判断是否采用TDD并设计测试
  8. 步骤6:工作量估算(仅供参考)
  9. 步骤7:生成带质量标记的Plans.md
  10. 步骤8:指导后续操作

Auto-invoke Skills

自动调用的Skills

SkillWhen to Call
setup
Call first (executes adaptive setup)
vibecoder-guide
When user is non-technical
Skill调用时机
setup
优先调用(执行自适应设置)
vibecoder-guide
当用户为非技术人员时

Quality Markers (Auto-assigned)

质量标记(自动分配)

Task ContentMarkerEffect
Auth/login feature
[feature:security]
Security checklist
UI component
[feature:a11y]
a11y check
Business logic
[feature:tdd]
TDD recommended
API endpoint
[feature:security]
Input validation
Bug fix
[bugfix:reproduce-first]
Reproduction test first
任务内容标记作用
认证/登录功能
[feature:security]
触发安全检查清单
UI组件
[feature:a11y]
触发无障碍(a11y)检查
业务逻辑
[feature:tdd]
推荐采用TDD
API端点
[feature:security]
触发输入验证
Bug修复
[bugfix:reproduce-first]
要求先编写复现测试

Next Actions

后续操作

After planning:
  • Start implementation with
    /work
  • Or say "start from Phase 1"
  • Adjust with "add {{feature}}" or "postpone {{feature}}"
完成规划后:
  • /work
    开始实施
  • 或说“从第一阶段开始”
  • 用“添加{{功能}}”或“推迟{{功能}}”调整计划