subagent-driven-development — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited subagent-driven-development (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Part of Agent Skills™ by googleadsagent.ai™
Subagent-Driven Development dispatches each discrete task to a fresh subagent with a clean context window, then subjects the output to a two-stage review before merging. The orchestrating agent decomposes work into atomic units, writes precise specifications for each, and spawns isolated subagents that cannot pollute each other's context or carry forward stale assumptions.
Context window contamination is the silent killer of agent code quality. As a conversation grows, early instructions fade, variable names blur, and the agent begins referencing code that has since been refactored. By giving each task a fresh subagent, every implementation starts from a clean slate with only the relevant specification and referenced files. The result is consistently high-quality output regardless of session length.
The two-stage review process catches defects at different abstraction levels. Stage 1 verifies spec compliance: does the output do what was asked? Stage 2 evaluates code quality: is it well-structured, tested, and maintainable? Only code that passes both gates is accepted into the codebase.
graph TD
A[Orchestrator: Decompose Task] --> B[Write Spec for Subtask 1]
A --> C[Write Spec for Subtask 2]
A --> D[Write Spec for Subtask N]
B --> E[Spawn Subagent 1]
C --> F[Spawn Subagent 2]
D --> G[Spawn Subagent N]
E --> H[Stage 1: Spec Compliance Review]
F --> H
G --> H
H --> I{Passes?}
I -->|No| J[Return to Subagent with Feedback]
J --> H
I -->|Yes| K[Stage 2: Code Quality Review]
K --> L{Passes?}
L -->|No| J
L -->|Yes| M[Merge to Main Branch]The orchestrator never writes implementation code directly. Its role is to decompose, specify, dispatch, and review. Each subagent operates in an isolated git worktree, preventing conflicts between parallel implementations.
orchestrator:
decompose:
- analyze_task_for_independent_subtasks
- ensure_each_subtask_has: [clear_input, clear_output, testable_criteria]
- max_subtask_size: "completable_in_one_session"
spec_template: |
## Subtask: {name}
**Input**: {files_to_read}
**Output**: {files_to_create_or_modify}
**Acceptance Criteria**:
- {criterion_1}
- {criterion_2}
**Constraints**: {architectural_boundaries}
**Tests**: {required_test_cases}
dispatch:
method: "fresh_subagent_per_task"
isolation: "git_worktree"
context: "spec_only" # No conversation history
review_stage_1_spec_compliance:
checks:
- all_acceptance_criteria_met
- all_required_tests_present_and_passing
- output_files_match_specification
- no_unspecified_side_effects
review_stage_2_code_quality:
checks:
- no_linter_errors
- no_type_errors
- naming_conventions_followed
- no_dead_code_or_debug_artifacts
- error_handling_present
- documentation_for_public_apis
merge:
strategy: "squash_per_subtask"
commit_message: "feat({subtask_name}): {one_line_summary}"| Platform | Support | Notes |
|---|---|---|
| Cursor | Full | Native Task tool for subagent dispatch |
| VS Code | Partial | Requires manual subprocess management |
| Windsurf | Full | Cascade supports subagent spawning |
| Claude Code | Full | Built-in subagent support |
| Cline | Partial | Plugin-based subagent support |
| aider | Limited | No native subagent capability |
subagent task-decomposition parallel-development two-stage-review context-isolation orchestrator spec-driven fresh-context
© 2026 googleadsagent.ai™ | Agent Skills™ | MIT License
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.