Claude
Skills
Sign in
Back

loop

Included with Lifetime
$97 forever

Autonomous implementation loop over a focus topic. Reads active scopes, enumerates tasks as todos, then iterates the TDD pipeline (tester→implementer→reviewer) until all tasks are complete. Use when autonomously implementing all pending work for a scope or topic without manual step-by-step oversight.

Productivity

What this skill does


## Pre-loaded Context

Pending tasks:
!`find scopes -maxdepth 3 -name "tasks.yaml" -type f 2>/dev/null | xargs -I{} sh -c 'echo "=== {} ===" && grep -A1 "status: pending" {} 2>/dev/null'`

Active todos:
!`cat .claude/todos.json 2>/dev/null | jq -r '.[] | "[" + .status + "] " + .content' 2>/dev/null`

Git status:
!`git status --short 2>/dev/null`

Current branch:
!`git branch --show-current 2>/dev/null`

Recent commits:
!`git log --oneline -5 2>/dev/null`

# Autonomous Implementation Loop

Focus: $ARGUMENTS

**INVARIANT: The orchestrator NEVER writes code or tests.** All implementation MUST be delegated to fresh subagents via the `implement` skill.

---

## Protocol

1. **Enumerate** — Read scopes relevant to `$ARGUMENTS`, create one TodoWrite entry per task
2. **Iterate** — Read and follow `operations/iterate.md`
3. **Complete** — When all todos are done, output summary and stop

---

## Related

- `implement` — TDD pipeline delegated per task
- `scope` — Full scope lifecycle with checkpoint management
- `continue` — Resume interrupted loop from checkpoint

---
Files: 2
Size: 2.6 KB
Complexity: 14/100
Category: Productivity

Related in Productivity