subagent-driven-development

subagent-driven-development is a skill for Claude Code from jnMetaCode/superpowers-zh. It costs 21 tokens per session (4,981 once invoked), scanned A, original, MIT.

A development workflow in which a fresh coding agent implements each independent task, another review checks that task, and a final review examines the complete set of changes.

In plain words
What is it for?
Use it when carrying out a plan with several mostly independent coding tasks in the same session, especially when each task can be implemented and reviewed separately.
Why use it?
It separates task context and adds checks for both requirement compliance and code quality. This helps catch missed details during a multi-step implementation plan.

Skill for Claude Code

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

Part of the superpowers-zh plugin — 21 skills, 1 hook shipped together

Good fit Use it when carrying out a plan with several mostly independent coding tasks in the same session, especially when each task can be implemented and reviewed separately.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jnmetacode/superpowers-zh/subagent-driven-development
About the project

superpowers-zh is a Chinese community edition of superpowers, a collection of practical skills and development methods for AI coding tools. It helps users apply workflows such as brainstorming, test-driven development, debugging, code review, and other programming tasks across supported coding agents. The catalogue add-ons are the project's translated and original skills, instructions, hook, and plugin components.

jnMetaCode/superpowers-zh · 8,676 stars · on GitHub · sp.aiolaola.com

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 jnMetaCode/superpowers-zh --skill subagent-driven-development
Clone the repo
git clone --depth 1 https://github.com/jnMetaCode/superpowers-zh

Made for: Claude Code.

Or install superpowers-zh, the plugin that ships this one along with the rest of its 21 skills, 1 hook.

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/jnmetacode/superpowers-zh/subagent-driven-development/github.svg)](https://agentmods.dev/skills/jnmetacode/superpowers-zh/subagent-driven-development)
Your own site
<a href="https://agentmods.dev/skills/jnmetacode/superpowers-zh/subagent-driven-development"><img src="https://agentmods.dev/badge/skills/jnmetacode/superpowers-zh/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/jnmetacode/superpowers-zh/subagent-driven-development"><img src="https://agentmods.dev/badge/skills/jnmetacode/superpowers-zh/subagent-driven-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,981 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. Third-party audits
  • Socket pass 18 Oct 2026
  • Snyk pass 18 Oct 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 124
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00021 $0.04981
Opus 5.5 $0.00008 $0.01992
Sonnet 5.5 $0.00004 $0.00996
Haiku 4.5 $0.00002 $0.00498

Measured 20d ago against content hash 5eb864cdea5a, 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 20d 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.

skills/subagent-driven-development/SKILL.md · 203 lines

How it starts

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

子智能体驱动开发

通过为每个任务分派一个全新的实现子智能体来执行计划:每个任务完成后做一次任务审查(规格合规性 + 代码质量),全部任务结束后再做一次覆盖整个分支的宽范围审查。

为什么用子智能体: 你把任务委派给具有隔离上下文的专用智能体。通过精心设计它们的指令和上下文,确保它们专注并成功完成任务。它们绝不应继承你会话的上下文或历史记录——你要精确构造它们所需的一切。这样也能为你自己保留用于协调工作的上下文。

核心原则: 每个任务一个全新子智能体 + 任务审查(规格 + 质量)+ 结尾宽范围审查 = 高质量、快速迭代

旁白: 工具调用之间最多说一句简短的旁白——进度账本和工具结果本身就是记录。

持续执行: 不要在任务之间停下来向你的人类伙伴确认。不间断地执行计划里的所有任务。唯一该停下的理由是下文列出的四类情形,或所有任务已完成。"我该继续吗?"之类的询问和进度小结都在浪费他们的时间——他们让你执行计划,那就执行。

做裁决,不要停摆。 一个正在跑的计划不等人。冲突、歧义、计划缺陷、你本来想申请突破的上限——你自己定。规格是有约束力的权威,计划是它的论证,两者都答不上来的部分由你的判断来定。每个决定都以 Ruling: <你决定了什么> — <为什么> — <如果错了代价是什么> 记进账本,然后继续。一个错误的裁决,代价是你人类伙伴看得见、也撤得掉的返工;一个停在问题上的会话,代价是他们的一整天,而且什么也换不来。

只有四件事会让你停下,也只有这四件:不可逆或破坏性的操作;涉及安全的动作;这个工作树之外、按惯例应当先问一声的副作用(合并、推送到共享分支、发布);以及一个坏到每条前进路径都只能靠猜的计划。遇到这四类,停下来问。

何时使用

digraph when_to_use {
    "有实现计划?" [shape=diamond];
    "任务基本独立?" [shape=diamond];
    "伙伴选了内联执行,或没有子智能体工具?" [shape=diamond];
    "subagent-driven-development" [shape=box];
    "executing-plans" [shape=box];
    "手动执行或先头脑风暴" [shape=box];

    "有实现计划?" -> "任务基本独立?" [label="是"];
    "有实现计划?" -> "手动执行或先头脑风暴" [label="否"];
    "任务基本独立?" -> "伙伴选了内联执行,或没有子智能体工具?" [label="是"];
    "任务基本独立?" -> "手动执行或先头脑风暴" [label="否 - 紧密耦合"];
    "伙伴选了内联执行,或没有子智能体工具?" -> "executing-plans" [label="是"];
    "伙伴选了内联执行,或没有子智能体工具?" -> "subagent-driven-development" [label="否"];
}

与 Executing Plans(内联执行)的对比:

  • 每个任务一个全新子智能体(无上下文污染),而不是一个上下文包揽所有任务
  • 每个任务后做审查(规格合规性 + 代码质量),而不是只在结尾审查
  • 代价是每个任务、每次审查各一个全新上下文;内联执行的代价是一个上下文加一个最终审查者
  • 两者都在当前会话里运行,共用同一个计划工作区和账本,任务之间都不停顿

流程

digraph process {
    rankdir=TB;

    subgraph cluster_per_task {
        label="每个任务";
        "分派实现子智能体 (./implementer-prompt.md)" [shape=box];
        "实现者有疑问?" [shape=diamond];
        "回答问题,提供上下文" [shape=box];
        "实现者实现、测试、提交、自审" [shape=box];
        "生成审查包,分派任务审查者 (./task-reviewer-prompt.md)" [shape=box];
        "规格 ✅ 且质量通过?" [shape=diamond];
        "修复循环: 每轮前读取 references/fix-loop.md" [shape=box];
        "往账本追加完成行,标记待办完成" [shape=box];
    }

    "准备: 工作树、查账本、读计划、起飞前审查" [shape=box];
    "还有任务?" [shape=diamond];
    "最终审查与收尾: 读取 references/final-review.md 和 references/finishing.md" [shape=box];
    "最终审查干净: 删除本计划的工作区" [shape=box];
    "使用 finishing-a-development-branch" [shape=box style=filled fillcolor=lightgreen];

    "准备: 工作树、查账本、读计划、起飞前审查" -> "分派实现子智能体 (./implementer-prompt.md)";
    "分派实现子智能体 (./implementer-prompt.md)" -> "实现者有疑问?";
    "实现者有疑问?" -> "回答问题,提供上下文" [label="是"];
    "回答问题,提供上下文" -> "实现者实现、测试、提交、自审";
    "实现者有疑问?" -> "实现者实现、测试、提交、自审" [label="否"];
    "实现者实现、测试、提交、自审" -> "生成审查包,分派任务审查者 (./task-reviewer-prompt.md)";
    "生成审查包,分派任务审查者 (./task-reviewer-prompt.md)" -> "规格 ✅ 且质量通过?";
    "规格 ✅ 且质量通过?" -> "往账本追加完成行,标记待办完成" [label="是"];
    "规格 ✅ 且质量通过?" -> "修复循环: 每轮前读取 references/fix-loop.md" [label="否"];
    "修复循环: 每轮前读取 references/fix-loop.md" -> "往账本追加完成行,标记待办完成" [label="已解决,或触及上限后带裁决搁置"];
    "往账本追加完成行,标记待办完成" -> "还有任务?";
    "还有任务?" -> "分派实现子智能体 (./implementer-prompt.md)" [label="是"];
    "还有任务?" -> "最终审查与收尾: 读取 references/final-review.md 和 references/finishing.md" [label="否"];
    "最终审查与收尾: 读取 references/final-review.md 和 references/finishing.md" -> "最终审查干净: 删除本计划的工作区";
    "最终审查干净: 删除本计划的工作区" -> "使用 finishing-a-development-branch";
}

Read the full file on GitHub · 203 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. 20d ago Changed · -153 lines scan C → A 5eb864cdea5a
  2. 2mo ago Changed 9e3fc7a6089f
  3. 2mo ago Changed · +14 lines 0cb59782ed80
  4. 3mo ago Changed bc9d209b4fd3
  5. 3mo ago First seen · 342 lines · 21 tokens per session scan C 27081029a6b0

Subscribe to this mod's changes

subagent-driven-development is a skill published in the GitHub repository jnMetaCode/superpowers-zh (8,676 stars, last pushed 4d ago), licensed MIT. It adds 21 tokens to every session and 4,981 once invoked, about $0.0001 per session on Opus 5.5. 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-08-30.

Related

subagent-driven-development compared with skills from other repositories

subagent-driven-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
subagent-driven-developmentjnMetaCode/superpowers-zhSkill8.7k4d agoMITA21Claude Code
cocos-creator-bundleWade-DevCode/awesome-coding-skills-cnSkill75mo agoMITA32Claude Code, Codex
cocos-creator-drawcallWade-DevCode/awesome-coding-skills-cnSkill75mo agoMITA32Claude Code, Codex
cocos-creator-hotupdateWade-DevCode/awesome-coding-skills-cnSkill75mo agoMITA32Claude Code, Codex
cocos-creator-tween-animWade-DevCode/awesome-coding-skills-cnSkill75mo agoMITA33Claude Code, Codex
cocos-creator-ui-listWade-DevCode/awesome-coding-skills-cnSkill75mo agoMITA27Claude Code, Codex
cocos-creatorWade-DevCode/awesome-coding-skills-cnSkill75mo agoMITA29Claude Code, Codex