subagent-driven-development

subagent-driven-development is a skill for Claude Code from XRenSiu/claude-code-forge. It costs 0 tokens per session (2,198 once invoked), scanned A, original, MIT.

A workflow that assigns separate implementation tasks to fresh-context helper agents and reviews each result for both specification compliance and code quality. It is intended for carrying out an existing implementation plan.

In plain words
What is it for?
Use it to execute a multi-task coding plan, dispatch independent tasks, check whether each task matches the plan, and review the resulting code.
Why use it?
Fresh contexts reduce assumptions carried over from unrelated tasks, while two review stages catch missed requirements and quality problems before work is marked complete.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the pdforge plugin — 10 skills, 13 commands, 5 agents, 2 hooks shipped together

Good fit Use it to execute a multi-task coding plan, dispatch independent tasks, check whether each task matches the plan, and review the resulting code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xrensiu/claude-code-forge/subagent-driven-development
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add XRenSiu/claude-code-forge --skill subagent-driven-development
Clone the repo
git clone --depth 1 https://github.com/XRenSiu/claude-code-forge

Made for: Claude Code.

Or install pdforge, the plugin that ships this one along with the rest of its 10 skills, 13 commands, 5 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for subagent-driven-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/subagent-driven-development/github.svg)](https://agentmods.dev/skills/xrensiu/claude-code-forge/subagent-driven-development)
Your own site
<a href="https://agentmods.dev/skills/xrensiu/claude-code-forge/subagent-driven-development"><img src="https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/subagent-driven-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for subagent-driven-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/xrensiu/claude-code-forge/subagent-driven-development"><img src="https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/subagent-driven-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,198 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02198
Opus 5.5 $0.00000 $0.00879
Sonnet 5.5 $0.00000 $0.00440
Haiku 4.5 $0.00000 $0.00220

Measured 1mo ago against content hash 4cfbef8e553b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

subagent-driven-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/pdforge/skills/subagent-driven-development/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Subagent-Driven Development

来源: PDForge 类型: 协作模式型 Skill

Announce at start: "I'm using the subagent-driven-development skill to ensure high-quality implementation through fresh-context subagents and two-stage review."

Core Concept

每个任务分发给一个全新上下文的子代理执行:

  • 子代理不知道其他任务的实现细节
  • 子代理专注于当前任务
  • 避免"上下文污染"导致的假设和捷径

每个任务完成后经过两阶段审查:

  1. 规格合规审查 - 是否满足计划要求
  2. 代码质量审查 - 是否符合最佳实践

Workflow

digraph skill_flow {
    rankdir=TB;
    node [shape=box];
    
    READ_PLAN [label="读取计划\n提取任务列表"];
    NEXT_TASK [label="获取下一个任务"];
    DISPATCH_IMPL [label="Dispatch\nImplementer Subagent"];
    IMPL_WORK [label="Implementer:\n遵循 TDD 实现\n自检后提交"];
    SPEC_REVIEW [label="Dispatch\nSpec Reviewer Subagent"];
    SPEC_CHECK [label="规格合规?" shape=diamond];
    QUALITY_REVIEW [label="Dispatch\nCode Quality Reviewer Subagent"];
    QUALITY_CHECK [label="质量合格?" shape=diamond];
    MARK_DONE [label="标记任务完成"];
    MORE_TASKS [label="还有任务?" shape=diamond];
    DONE [label="全部完成"];
    
    READ_PLAN -> NEXT_TASK;
    NEXT_TASK -> DISPATCH_IMPL;
    DISPATCH_IMPL -> IMPL_WORK;
    IMPL_WORK -> SPEC_REVIEW;
    SPEC_REVIEW -> SPEC_CHECK;
    SPEC_CHECK -> QUALITY_REVIEW [label="通过"];
    SPEC_CHECK -> IMPL_WORK [label="不通过\n修复"];
    QUALITY_REVIEW -> QUALITY_CHECK;
    QUALITY_CHECK -> MARK_DONE [label="通过"];
    QUALITY_CHECK -> IMPL_WORK [label="不通过\n修复"];
    MARK_DONE -> MORE_TASKS;
    MORE_TASKS -> NEXT_TASK [label="是"];
    MORE_TASKS -> DONE [label="否"];
}

Why Two-Stage Review?

单一审查常遗漏问题:

问题类型 单一审查 两阶段审查
"代码写得好但不符合规格" ❌ 常遗漏 ✅ 规格审查捕获
"符合规格但代码质量差" ❌ 常遗漏 ✅ 质量审查捕获
"两者都有问题" ⚠️ 可能只发现一个 ✅ 分别发现

顺序不可颠倒:

  1. 先确保做对的事(规格合规)
  2. 再确保把事做好(代码质量)

Subagent Roles

1. Implementer (实现者)

职责:按任务规格实现代码

# 见 implementer-prompt.md
- 读取任务详情
- 遵循 TDD 实现
- 运行验证命令
- 自检后提交

2. Spec Reviewer (规格审查员)

职责:检查实现是否符合任务规格

# 见 spec-reviewer-prompt.md
- 对照任务规格检查
- 不关心代码质量
- 只关心"是否做了规格要求的事"

Read the full file on GitHub · 269 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 269 lines · 0 tokens per session scan A 4cfbef8e553b

Subscribe to this mod's changes

subagent-driven-development is a skill published in the GitHub repository XRenSiu/claude-code-forge (2 stars, last pushed 29d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,198 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

openclaw/clawhub · 17 tokens

omh-code-review

This is an OMH code-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 48 tokens

revdiff-plan

Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response"…

umputun/revdiff · 84 tokens

explore-unknowns

Guide the user through a quadrant walk that maps the unknowns of a task — open by listing the known knowns, then work through known unknowns, unknown knowns, and unknown unknowns one stage at a time, ending with a complete four-quadrant map in the user's hands. Use when a request is ambiguous or underspecified, the…

dzhng/skills · 162 tokens

asplos-writing-style

Use when drafting or revising ASPLOS prose — engineering the first two pages that rapid review actually reads, stating the cross-layer insight as one quotable sentence, structuring per-layer mechanism sections, writing bounded claims, and fitting everything into 11 self-contained pages that include figures and…

brycewang-stanford/Awesome-Journal-Skills · 65 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens