plan-with-agent
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePlanning 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" → mode
--ci
- "创建计划" → 调用本Skill
- "把我们讨论的内容转化为计划" → 从对话中提取信息
- "想要整理待开发内容" → 先倾听需求
- "用TDD做规划" → 强制采用TDD模式
- "CI/基准测试" → 使用模式
--ci
Deliverables
交付物
- Plans.md - Task list executable with (required)
/work - 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
模式专属用法
| Mode | Command | Description |
|---|---|---|
| Solo mode | | Claude Code alone: plan → execute → review |
| 2-agent mode | | Plan with Cursor → Execute with Claude Code |
| 模式 | 命令 | 说明 |
|---|---|---|
| 单人模式 | | 仅使用Claude Code:规划 → 执行 → 评审 |
| 双Agent模式 | | 与Cursor协作规划 → 用Claude Code执行 |
Feature Details
功能详情
| Feature | Reference |
|---|---|
| Execution Flow | See references/execution-flow.md |
| TDD Adoption | See references/tdd-adoption.md |
| Priority Matrix | See references/priority-matrix.md |
| 功能 | 参考文档 |
|---|---|
| 执行流程 | 查看 references/execution-flow.md |
| TDD采用 | 查看 references/tdd-adoption.md |
| 优先级矩阵 | 查看 references/priority-matrix.md |
Execution Flow Overview
执行流程概述
- Step 0: Check conversation context (extract from previous conversation or start fresh)
- Step 1: Hearing what to build
- Step 2: Increase resolution (max 3 questions)
- Step 3: Technical research (WebSearch)
- Step 4: Extract feature list
- Step 5: Create priority matrix (Required/Recommended/Optional)
- Step 5.5: TDD adoption judgment and test design
- Step 6: Effort estimation (reference)
- Step 7: Generate Plans.md with quality markers
- Step 8: Guide next actions
- 步骤0:检查对话上下文(从历史对话提取或从头开始)
- 步骤1:倾听待开发内容的需求
- 步骤2:细化需求(最多提出3个问题)
- 步骤3:技术调研(WebSearch)
- 步骤4:提取功能列表
- 步骤5:创建优先级矩阵(必需/推荐/可选)
- 步骤5.5:判断是否采用TDD并设计测试
- 步骤6:工作量估算(仅供参考)
- 步骤7:生成带质量标记的Plans.md
- 步骤8:指导后续操作
Auto-invoke Skills
自动调用的Skills
| Skill | When to Call |
|---|---|
| Call first (executes adaptive setup) |
| When user is non-technical |
| Skill | 调用时机 |
|---|---|
| 优先调用(执行自适应设置) |
| 当用户为非技术人员时 |
Quality Markers (Auto-assigned)
质量标记(自动分配)
| Task Content | Marker | Effect |
|---|---|---|
| Auth/login feature | | Security checklist |
| UI component | | a11y check |
| Business logic | | TDD recommended |
| API endpoint | | Input validation |
| Bug fix | | Reproduction test first |
| 任务内容 | 标记 | 作用 |
|---|---|---|
| 认证/登录功能 | | 触发安全检查清单 |
| UI组件 | | 触发无障碍(a11y)检查 |
| 业务逻辑 | | 推荐采用TDD |
| API端点 | | 触发输入验证 |
| Bug修复 | | 要求先编写复现测试 |
Next Actions
后续操作
After planning:
- Start implementation with
/work - Or say "start from Phase 1"
- Adjust with "add {{feature}}" or "postpone {{feature}}"
完成规划后:
- 用开始实施
/work - 或说“从第一阶段开始”
- 用“添加{{功能}}”或“推迟{{功能}}”调整计划