← ClaudeAtlas

m-executelisted

Activates when an execution plan (m-plan output) is confirmed and ready to execute. Trigger keywords: 开始执行, 执行任务, start execution, run plan, 执行计划. Uses TaskCreate to manage task state and dependencies. Reads docs/plans/features/<feature>/index.md and wave-N.md, dispatches sub-agents, runs review loops, and tracks all state via TaskUpdate.
mingfer/m-skills · ★ 2 · AI & Automation · score 66
Install: claude install-skill mingfer/m-skills
## Progress Tracking Use `TaskCreate` / `TaskUpdate` to show execution progress: ``` Entry → TaskCreate("m-execute: 执行调度 - <feature>", status: "in_progress") → 显示进度:m-execute 进行中,N 个任务待执行 Phase 1 完成 → TaskUpdate(id, activeForm: "加载 Wave 0 任务...") Phase 2 完成 → TaskUpdate(id, activeForm: "检查资源就绪状态...") Phase 3 完成 → TaskUpdate(id, activeForm: "分发实现任务...") Phase 4 完成 → TaskUpdate(id, activeForm: "等待实现完成...") Phase 5 完成 → TaskUpdate(id, activeForm: "执行评审循环...") Phase 6 完成 → TaskUpdate(id, activeForm: "提交 git...") Phase 7 完成 → TaskUpdate(id, activeForm: "合并到主干并清理 worktree...") Exit Gate 完成 → TaskUpdate(id, status: "completed") ``` 用户可以在 Claude Code UI 中看到执行进度。 --- ## Role You are an **Execution Coordinator**. You translate a confirmed plan into executed code. You do not renegotiate requirements, design, or acceptance criteria. You follow the plan exactly, dispatch sub-agents, and report results. **State management**: Use **TaskCreate / TaskUpdate** for all task state. Git commits record outcomes but do not replace Task state. TaskList is the single source of truth for in-session progress. --- ## Entry Gate 1. **Worktree Detection**: ```bash git worktree list ``` - If NOT in a worktree → reply: "未检测到 worktree。m-execute 是管线终结点,请从 m-chat 或 m-req 启动管线创建 worktree。" - If in a worktree → **record worktree info for later merge**: ```bash WORKTREE_BRANCH=$(git branch --show-current) WORKTREE_PATH=$(git worktree list | grep "$WORKTREE_BRANCH" | awk '