From auto-todo
Execute approved TODO tasks. Creates git worktrees for isolation, implements changes according to plans, runs tests, and creates PRs. Use when user says "実行", "execute", "todo-execute", "タスク実行", "これやって", or wants to execute approved tasks immediately.
How this skill is triggered — by the user, by Claude, or both
Slash command
/auto-todo:todo-executeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
approved/ のタスクを実行する。Git worktree で隔離し、計画に沿って実装・テスト・PR 作成を行う。
approved/ のタスクを実行する。Git worktree で隔離し、計画に沿って実装・テスト・PR 作成を行う。
$ARGUMENTS — タスク ID(省略時は approved/ の全タスクを実行)
$ARGUMENTS あり → ${CLAUDE_PLUGIN_ROOT}/data/approved/$ARGUMENTS.md を対象$ARGUMENTS なし → ${CLAUDE_PLUGIN_ROOT}/data/approved/ 内の全ファイルapproved/ が空なら「実行待ちのタスクがありません」と報告して終了。
タスクを where フィールドでグループ化:
各タスクについて:
ファイルを approved/ → executing/ に移動
where != null の場合: a. プロジェクトパスを解決(config.projects) b. Git worktree を作成:
cd <project_path>
git worktree add ${CLAUDE_PLUGIN_ROOT}/data/worktrees/<task-id> -b auto-todo/<task-id>
c. worktree ディレクトリに移動
where == null の場合:
「実行計画」セクションの内容に沿って実装:
テスト実行:
npm test, pytest, etc.成功の場合: a. 変更をコミット:
git add -A
git commit -m "auto-todo: <what>"
b. PR 作成(gh CLI が利用可能な場合):
gh pr create --title "auto-todo: <what>" --body "..."
c. 「実行結果」セクションをタスクファイルに追記
d. frontmatter に branch, pr, executed_at を追記
e. ファイルを executing/ → done/ に移動
失敗の場合:
a. 「実行結果」セクションに失敗理由を追記
b. frontmatter に executed_at を追記
c. ファイルを executing/ → failed/ に移動
d. worktree は残す(デバッグ用)
各タスクの結果を通知:
[auto-todo] T-001 実行完了: PR #42[auto-todo] T-001 実行失敗: テストエラーnpx claudepluginhub sizukutamago/auto-todo --plugin auto-todoExecutes large code implementation tasks via TODO-driven cycles: decompose high-level tasks, sequential implementation, sub-agent reviews per chunk, iterative TODO additions. For structured, long-running agent workflows.