subagent-driven-development
Orchestrating sub-agents through TDD phases for complex features
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Orchestrating sub-agents through TDD phases for complex features
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Structured code review
Find and load available skills
PR description generation
Spec-faithful implementation for spec-driven development
Architecture and interface design for spec-driven development
Codebase analysis and context gathering for spec-driven development
| name | subagent-driven-development |
| description | Orchestrating sub-agents through TDD phases for complex features |
| methodology | tdd |
Coordinate a team of specialized sub-agents through the full TDD lifecycle for a complex feature. This skill is used by the TDD Orchestrator.
Sub-agent driven development applies TDD at the team level. Rather than one agent doing all phases, each phase is handled by a specialist:
Feature Request
→ Brainstormer: scenarios and edge cases
→ Planner: ordered test plan + implementation dependencies
→ Implementer: red-green-refactor cycles
→ Reviewer: two-stage code review
→ Debugger: (if tests fail after implementation)
Before delegating, gather:
If any are missing, ask before starting delegation.
Provide: the feature description + success criteria. Expect back: numbered list of test scenarios grouped by category. Validate: covers happy paths, edge cases, and error scenarios.
Provide: the brainstorming output + feature description. Expect back: ordered test plan + implementation dependencies. Validate: tests are ordered simple → complex, dependencies listed.
Provide: the full test plan. Expect back: passing test suite + minimal implementation. Validate: all tests pass, no skipped tests, no TODO comments.
Provide: the diff (all changed files). Expect back: Critical/Warning/Suggestion review findings. Validate: no Critical findings before accepting. Address Warnings.
If Implementer reports failing tests, delegate to Debugger. Provide: exact failure output + relevant code. Expect back: root cause analysis + fix. Then re-delegate to Implementer or apply fix directly.
| Phase | Gate Before Next Phase |
|---|---|
| Brainstorming | ≥ 3 happy paths, ≥ 3 edge cases, ≥ 2 error scenarios |
| Planning | All scenarios have test names, implementation deps listed |
| Implementation | All tests pass, no skipped tests |
| Review | No Critical findings |
After completing all phases, produce a summary:
## Feature Complete: <feature name>
### Phases Completed
- Brainstorming: <N> scenarios generated
- Planning: <N> tests planned, <N> implementation deps
- Implementation: <N> tests written, all passing
- Review: <N> warnings addressed, no criticals
### Files Changed
- <list of modified/created files>
### Test Coverage
- <test file>: <N> tests