← ClaudeAtlas

complete-all-taskslisted

Complete every task in the current milestone's TASKS_TODO.md one by one, moving each to TASKS_DONE.md.
uHappyLogic/cairn · ★ 2 · AI & Automation · score 75
Install: claude install-skill uHappyLogic/cairn
# complete-all-tasks Pure orchestrator. Reads the current milestone's task list and spawns one isolated subagent per task, each with a clean context and exactly one task to complete. Never complete a task directly here, even as a fallback when a subagent fails. ## Invocation ``` /complete-all-tasks ``` No arguments required. ## Workflow ### 0. Find the current milestone Follow `${CLAUDE_PLUGIN_ROOT}/shared/get-current-milestone.md` to resolve `<MILESTONE_DIR>`. Never use a hardcoded task-list path. ### 1. Read the task list Read `<MILESTONE_DIR>/TASKS_TODO.md` and confirm it has at least one `##` section. If the file is empty or has no `##` sections, report that the task list is empty and stop. ### 2. For each task (top to bottom) Repeat the following loop until no tasks remain: #### 2a. Identify the next task Re-read `<MILESTONE_DIR>/TASKS_TODO.md` to get the current top task — the first `##` heading in the file. Do not cache the task list across iterations, since each completed task is removed. #### 2b. Spawn a subagent to complete the task Use the `Agent` tool with `subagent_type: "complete-task"` and a prompt containing only the task name, substituting `<TASK_NAME>` with the exact `##` heading text (without the `##` prefix): ``` Complete the task named: "<TASK_NAME>" ``` Wait for the agent to return. - If the agent reports FAILED, stop the loop, report the task name and the failure reason to the user, and stop. Do not proceed to 2c. - If the agent return