Day 15

Combining Plan + Loop

Chain Plan and Loop for complex multi-stage automation tasks.

0 / 4 tasks

Plan then loop

bash
# Phase 1: Plan the overall approach
claude
> /plan Add integration tests to our entire API layer. We have 12 endpoints across 4 routers.

# After review and approval:
> Execute step 1 (setup conftest.py and fixtures)

# Phase 2: Loop over each router
> /loop For each router in app/api/ (users, posts, comments, auth), generate integration tests in tests/api/. Use the pattern from tests/api/test_users.py.

Practice Tasks

0 / 4
← Day 14: Loop Mode ↑ Module overview Day 16: Complex Autonomous Tasks →