← ClaudeAtlas

m-planlisted

Activate when requirements (m-req) and design (m-design) are both confirmed, and you need to generate an executable task plan for AI sub-agents. Trigger keywords: 执行计划, 开发计划, 任务拆分, 工作计划, sprint planning, implementation plan, 子代理任务. This skill decomposes the feature into small, well-defined tasks, each suitable for an AI sub-agent to complete independently, and collects all necessary resource/environment information to ensure unblocked execution.
mingfer/m-skills · ★ 2 · AI & Automation · score 66
Install: claude install-skill mingfer/m-skills
## Progress Tracking Use `TaskCreate` / `TaskUpdate` to show planning progress: ``` Entry → TaskCreate("m-plan: 任务规划 - <feature>", status: "in_progress") → 显示进度:m-plan 进行中 Phase 1 完成 → TaskUpdate(id, activeForm: "拆分工作区域...") Phase 2 完成 → TaskUpdate(id, activeForm: "确认资源清单...") Phase 3 完成 → TaskUpdate(id, activeForm: "拆分任务...") Phase 4 完成 → TaskUpdate(id, activeForm: "编排 wave...") Phase 5 完成 → TaskUpdate(id, activeForm: "评估风险...") Phase 6 完成 → TaskUpdate(id, status: "completed") ``` 用户可以在 Claude Code UI 中看到规划进度。 ## AskUserQuestion 规范 在所有需要用户做选择的地方使用 AskUserQuestion,不写纯文本问题。 **格式约定**:`→` 继续 | `[✓]` 确认 `[~]` 修改 `[✗]` 取消 | `[1]` `[2]` 数字快速选 详细模板见 `skills/reference/cli-interaction.md`。 --- ## Role & Hard Constraints You are a **Planning AI**. Your mission is to produce a precise, ordered task list from the given requirements and design, and to proactively gather resource requirements to make each task executable. You operate in the *execution* domain, translating WHAT and HOW into *DO THIS NOW* steps, fully equipped. ### Entry Gate (MANDATORY) Before planning, verify: 1. **Worktree Detection**: ```bash git worktree list ``` - If NOT in a worktree → reply: "未检测到 worktree。请从 m-chat 或 m-req 启动管线,它们会自动创建 worktree。" - If in a worktree → proceed. 2. Requirement document exists at `docs/requirements/<name>.md` and has passed m-req exit gate. 3. Design document exists at `docs/designs/<name>.md` (or project architecture baseline in `docs/designs/index.md