common-subagent-driven-development
Execute multi-task implementation plans by dispatching a fresh implementer subagent per task with independent review gates. Use when implementing plans, executing multi-task PRs, or transitioning from planning to implementation.
- 0
- Installs
- —
- Rating
- —
- Success rate
- 9
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 7e7746f4b6f9d402… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Subagent-Driven Development (SDD)
Priority: P1 (HIGH)
Execute multi-task implementation plans by dispatching a fresh implementer subagent per task, an independent task review (spec compliance + code quality) after each, and a whole-branch review at the end.
1. Execution Confirmation Gate (Scenario A & B)
Before editing code for any multi-task plan:
- DO NOT start editing files directly in this orchestrator session.
- Confirm with human partner: Host approval policy overrides defaults. Offer Subagent-Driven (Recommended — fresh workers per task for context isolation + task review gate) vs. Inline (direct implementation in orchestrator session for small bounded changes).
- If approved (or user replies "yes", "proceed", "start", "approve"), invoke SDD. See methodology.md.
2. SDD & The Single Worker Contract
- Macro (SDD Orchestrator): Manages task decomposition, workspace isolation, brief generation, independent review gates, Git commits, and final integration verification.
- Worker Contract: Implementer subagents own bounded implementation and focused verification of touched files. Workers do NOT commit changes with Git, recursively delegate to other agents, or run full project test suites by default.
- Micro (TDD): Implementer subagents follow the RED -> GREEN -> REFACTOR cycle inside their assigned brief.
3. Setup & Workspace Resolution
Resolve the isolated, git-ignored workspace directory before Task 1:
python3 skills/common/common-subagent-driven-development/scripts/sdd_workspace.py <PLAN_FILE>
Track task completion in <workspace>/progress.md so work survives context compaction.
Use the local version-2 explicit progress helper for revision/evidence-bound checkpoints; it does not enforce host pauses, authorization, or wakeups. See Progress Receipts.
4. The Task Loop
For each task in the plan:
- Record Baseline & Dispatch Implementer: Record
BASE=$(git rev-parse HEAD). From the repository root, generate the brief withpython3 skills/common/common-subagent-driven-development/scripts/task_brief.py <PLAN_FILE> <TASK_NUMBER>. Dispatch worker with[BRIEF_FILE]and[REPORT_FILE]. - Passive Wait (No Polling): Call
wait()and yield control. Never poll status or activity in a loop. - Scoped Review Package & Review: From the repository root, run
python3 skills/common/common-subagent-driven-development/scripts/review_package.py <PLAN_FILE> $BASE WORKSPACE --paths <OWNED_PATHS...>. Workspace mode requires explicit literal file paths or bounded owned directories (no Git pathspec magic, globs,., or overlapping scopes). Each changed workspace snapshot gets a content-addressed immutable default filename; same-base/scope packages are cumulative from$BASE, not fix-only. Dispatch reviewer with[BRIEF_FILE],[REPORT_FILE], and[DIFF_FILE]. - Fix Loop (Up to 5 Rounds): Re-prompt the worker; regenerate the cumulative package from the original
$BASEand identical owned paths. The latest package includes all task changes through that round; re-review the open findings against that cumulative state and do not describe it as a fix-only diff. - Orchestrator Integration: Orchestrator verifies diff, runs full suite checks if required, and creates git commit.
5. Final Review & Completion
Run whole-branch review from the repository root: python3 skills/common/common-subagent-driven-development/scripts/review_package.py <PLAN_FILE> $MERGE_BASE HEAD. Dispatch senior reviewer on capable model. Once clean, delete <workspace> and complete branch.
Anti-Patterns
- No Worker Commits: Workers leave edits in the workspace and report diffs/evidence; the orchestrator commits.
- No Recursive Delegation: Implementers do not spawn subagents.
- No Full-Suite Runs by Workers: Workers run focused tests; orchestrator runs broad verification during integration.
- No Speculative Savings Claims: Describe context isolation factually, not with guaranteed percentages.
- No Inline Edits on Multi-Task Plans: Do not burn orchestrator context editing files directly.
- No Polling Loops: Yield control via
wait(); do not loopget_agent_status. - No Inlined Context Bloat: Pass briefs and diffs as file paths, never paste full bodies into chat prompts.
References
- Methodology & Gates — execution confirmation scenarios & task loop rules
- Subagent Prompt Templates — implementer, reviewer, and re-reviewer templates
Files
9- SKILL.md
7503b778235.2 KB - evals/evals.json
33b3b450102.5 KB - references/methodology.md
e2e8548bb83.9 KB - references/progress-receipts.md
8aa77a93862.1 KB - references/templates.md
f487daf8a36.8 KB - scripts/review_package.py
87ac27d4239.1 KB - scripts/sdd_progress.py
cb236e9d2510.9 KB - scripts/sdd_workspace.py
97f6aecb6b2.8 KB - scripts/task_brief.py
d66207beca3.2 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from HoangNguyen0403/agent-skills-standard8
Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow implementation to their spec
Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.
Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.
Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes, persistence/notifications, and unit-test reci
Configure release signing, R8 obfuscation, and App Bundle publishing for Android. Use when setting up signing configs, enabling minification, adding ProGuard keep rules, or preparing for Play Store submission.
Enforce Material Design 3 theming and design token usage in Jetpack Compose. Use when implementing M3 components, color schemes, typography, or design tokens.