OpenParable
Skip to content
← Back to skills

Subagent Development

Agent Building
subagent-development

Subagent Development is an Agent Skill for agent building published in the aiskillstore/marketplace repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Execute plans using fresh subagent per task with code review between tasks. Use for high-quality iterative implementation.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/aiskillstore/marketplace/blob/HEAD/skills/dmjgilbert/subagent-development/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/subagent-development, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Subagent-Driven Development

Fresh subagent per task + review between tasks = high quality, fast iteration.

When to Use

  • Executing implementation plans in current session
  • Tasks are largely independent
  • Want continuous progress with quality gates
  • Need isolation between task contexts

When NOT to Use

  • Plan needs initial review/revision
  • Tasks have tight sequential dependencies
  • Simple changes that don't need isolation

The Process

1. Load Plan & Create Tasks

1. Read the plan document
2. Create TodoWrite with all tasks
3. Verify plan is sound before starting

2. For Each Task

Dispatch Implementation Subagent:

Task([appropriate-agent], prompt="
Implement Task N from the plan:

**Task:** [Task description]

**Requirements:**
- Follow TDD (write failing test first)
- Implement minimal code to pass
- Verify all tests pass
- Commit with descriptive message

**Output:**
- What was implemented
- Test results
- Any issues encountered
")

3. Code Review Checkpoint

After EACH task, dispatch reviewer:

Task(code-reviewer, prompt="
Review implementation of Task N:

**What was implemented:** [From subagent output]
**Commits:** [Range]
**Requirements:** [From plan]

Evaluate:
- Implementation vs requirements match
- Code quality and patterns
- Test coverage
- Critical/Important/Minor issues
")

4. Address Feedback

SeverityAction
CriticalFix immediately, re-review
HighFix before next task
MediumFix if quick, else document
LowDocument for later

5. Mark & Continue

  1. Update TodoWrite to mark task complete
  2. Proceed to next task
  3. Repeat cycle

6. Final Review

After all tasks complete:

Task(code-reviewer, prompt="
Final review of complete implementation:

**Plan:** [Reference]
**All commits:** [Full range]

Verify:
- Complete plan compliance
- Architectural soundness
- No regressions
- Ready for merge
")

7. Finish

Transition to merge/PR workflow.

Critical Rules

Never:

  • Skip code reviews between tasks
  • Proceed with unresolved Critical issues
  • Run multiple implementation subagents in parallel
  • Implement without plan task reference

Always:

  • Fresh subagent for each task (clean context)
  • Review after each task (quality gate)
  • Fix Critical/High before continuing
  • Document deferred issues

Quality Gate Template

## Task N Review

**Status:** [Pass/Fail]

### Critical Issues

[None / List]

### High Priority

[None / List]

### Medium Priority

[None / List]

### Minor/Suggestions

[None / List]

### Verdict

- [ ] Proceed to next task
- [ ] Fix issues first
- [ ] Needs discussion

Benefits

  • Clean context for each task (no accumulated confusion)
  • Built-in quality gates catch issues early
  • Reviewable progress at each step
  • Easy to pause/resume at task boundaries