skills/loop-executor/SKILL.md
Evaluate-Loop Step 3: EXECUTE. Use this agent to implement tasks from a verified plan. Works through plan.md tasks sequentially, writes code, updates plan.md after every task, and commits at checkpoints. Uses TDD where applicable. Triggered by: 'execute plan', 'implement track', 'build feature', '/conductor implement' (execution phase). Only runs after plan has passed evaluation.
npx skillsauth add Ibrahim-3d/orchestrator-supaconductor loop-executorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Implements the tasks defined in a verified plan.md. This agent writes code, creates files, and updates plan.md after every completed task.
Before writing any code:
plan.md — find first [ ] task (skip all [x] tasks)1. Mark task [~] in plan.md (in progress)
2. read_file acceptance criteria
3. Implement the task
4. Verify acceptance criteria met
5. Update plan.md immediately:
- Mark [x]
- Add commit SHA
- Add summary of what was done
6. Commit code changes
7. Move to next [ ] task
- [x] Task 3: Build signup form component <!-- abc1234 -->
- Created src/components/auth/signup-form.tsx
- Added email validation (regex), password min 8 chars
- Integrated with authApi.signUp() from mock API client
- Acceptance: ✅ Form renders, validates, submits
For tasks involving business logic, follow TDD from the tdd-implementation skill:
RED → write_file failing test for the task's acceptance criteria
GREEN → write_file minimal code to pass
REFACTOR → Clean up while tests stay green
Apply TDD to:
Skip TDD for:
Commit at these checkpoints:
feat([scope]): [what was done]While executing, if you discover work not in the plan:
## Discovered Work
- [ ] [Description of discovered work]
- Reason: [Why this is needed]
- Recommendation: [Add to current track / Create new track]
Add to plan.md under "Discovered Work" section. Do NOT silently implement it.
While executing, if a task makes any of these changes, flag it for Step 5.5 (Business Doc Sync):
Add a note in the execution summary:
**Business Doc Sync Required**: Yes/No
**Reason**: [e.g., "Added premium tier with Pro model"]
**Affected Docs**: [list from business-docs-sync skill registry]
See ${CLAUDE_PLUGIN_ROOT}/skills/business-docs-sync/SKILL.md for the full sync registry and protocol.
If a task cannot be completed:
[!] with explanationAfter completing all tasks (or hitting a blocker):
## Execution Summary
**Track**: [track-id]
**Tasks Completed**: [X]/[Y]
**Tasks Blocked**: [count, if any]
**Commits**: [list of commit SHAs]
**Discovered Work**: [count, if any]
**Ready for**: Step 4 (Evaluate Execution) → hand off to loop-execution-evaluator
The executor MUST update the track's metadata.json at key points:
{
"loop_state": {
"current_step": "EXECUTE",
"step_status": "IN_PROGRESS",
"step_started_at": "[ISO timestamp]",
"checkpoints": {
"EXECUTE": {
"status": "IN_PROGRESS",
"started_at": "[ISO timestamp]",
"agent": "loop-executor",
"tasks_completed": 0,
"tasks_total": "[count from plan.md]",
"commits": []
}
}
}
}
{
"loop_state": {
"checkpoints": {
"EXECUTE": {
"status": "IN_PROGRESS",
"tasks_completed": 3,
"tasks_total": 10,
"last_task": "Task 1.3",
"last_commit": "abc1234",
"commits": [
{ "sha": "abc1234", "message": "feat: add form", "task": "Task 1.3" }
]
}
}
}
}
{
"loop_state": {
"current_step": "EVALUATE_EXECUTION",
"step_status": "NOT_STARTED",
"checkpoints": {
"EXECUTE": {
"status": "PASSED",
"completed_at": "[ISO timestamp]",
"tasks_completed": 10,
"tasks_total": 10,
"last_task": "Task 3.2",
"last_commit": "def5678",
"commits": [...]
},
"EVALUATE_EXECUTION": {
"status": "NOT_STARTED"
}
}
}
}
metadata.json at starttasks_completed, last_task, last_commit after EACH taskcurrent_step to EVALUATE_EXECUTIONmetadata.jsonIf executor is restarted mid-execution:
metadata.json.checkpoints.EXECUTE.last_taskplan.md[ ] task after the last completed one[x] tasksAfter execution completes, the Conductor dispatches the loop-execution-evaluator to verify everything was built correctly.
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
tools
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions