Agent skill

Subagent Driven Development

by ProgrammerAnthony in ProgrammerAnthony/Expert-Coding-Harness

A skill your agent uses when 已有书面实施计划、任务相对独立,且在本会话内通过子代理逐任务落实时。触发场景:执行实施计划、子代理开发、按计划实现、Task 派发实现、两阶段代码审查、plan execution。

MITAuto-check passedAgent Workflows

Install Subagent Driven Development

skills CLI
$ npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill subagent-driven-development -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ProgrammerAnthony/Expert-Coding-Harness subagent-driven-development --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ProgrammerAnthony/Expert-Coding-Harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/subagent-driven-development .claude/skills/subagent-driven-development && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
subagent-driven-development
GitHub stars
235
Token cost
~783 tokens
SKILL.md length
120 words
Files
5 (incl. references)
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when 已有书面实施计划、任务相对独立,且在本会话内通过子代理逐任务落实时。触发场景:执行实施计划、子代理开发、按计划实现、Task 派发实现、两阶段代码审查、plan execution。

  • Works in 4 steps: 读计划一次,提取全部任务标题与完整任务正文(含步骤、代码块、命令),不要让子代理自… → 用 TodoWrite(或等价方式)列出所有任务,随进度更新。 → 对每个任务循环 → …
  • 已有书面实施计划、任务相对独立,且在本会话内通过子代理逐任务落实时。触发场景:执行实施计划、子代理开发、按计划实现、Task 派发实现、两阶段代码审查、plan execution
  • SKILL.md covers Inputs / Outputs / Gates /…, 适用条件, 总流程 and 实现者状态处理, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Subagent Driven Development is an agent skill from ProgrammerAnthony/Expert-Coding-Harness. Use when 已有书面实施计划、任务相对独立,且在本会话内通过子代理逐任务落实时。触发场景:执行实施计划、子代理开发、按计划实现、Task 派发实现、两阶段代码审查、plan execution。

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/code-quality-reviewer-prompt.md`, `references/implementer-prompt.md` and `references/inline-execution-hint.md`).

It sits in Agent Workflows, covering Subagents. The repository describes itself as: 生产级 AI Agent 技能集,辅助AI Harness应用于企业开发,覆盖代码审查、代码安全审计、TDD、需求工程、实施计划与子代理编排、架构设计、调试、前端开发与技能创建全流程。 The licence is MIT.

When your agent uses it

  • 已有书面实施计划、任务相对独立,且在本会话内通过子代理逐任务落实时。触发场景:执行实施计划、子代理开发、按计划实现、Task 派发实现、两阶段代码审查、plan execution
  • Tasks that involve Subagents

Example prompts

  • “/subagent-driven-development”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 读计划一次,提取全部任务标题与完整任务正文(含步骤、代码块、命令),不要让子代理自己去读计划文件。
  2. 用 TodoWrite(或等价方式)列出所有任务,随进度更新。
  3. 对每个任务循环
  4. 全部任务完成后:建议对整体变更再做一次 code-review-expert(代码审查专家) 级别的汇总审查(可再派子代理),并请用户确认合并/PR;若项目后续提供「分支收尾」类技能可再衔接。

What it can do on your machine

Read from SKILL.md and the folder at commit ab0b827. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are mermaid).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Subagent Driven Development loads about 783 tokens when it runs, and up to ~2.5k if it reads all its reference files. Until then it costs about 32 tokens; SKILL.md has 120 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~783
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ProgrammerAnthony/Expert-Coding-Harness at commit ab0b827, republished under its MIT licence (© ProgrammerAnthony). 120 words, ~783 tokens.

Download SKILL.mdSave it as .claude/skills/subagent-driven-development/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
subagent-driven-development
description
Use when 已有书面实施计划、任务相对独立,且在本会话内通过子代理逐任务落实时。触发场景:执行实施计划、子代理开发、按计划实现、Task 派发实现、两阶段代码审查、plan execution。

子代理驱动开发

按书面实施计划逐任务推进:每个任务派发新的实现子代理(隔离上下文),任务完成后依次做 规格符合性审查 → 代码质量审查(顺序不可颠倒)。主会话负责读计划一次、提取任务全文、协调与决策,不把整段对话历史灌给子代理。

开场声明:「我正在使用子代理驱动开发技能执行计划。」

与「同会话逐步执行」的区别: 本技能强调每任务新子代理 + 双审查;若用户选择在当前会话手写每一步、不用 Task 派子代理,可改按 references/inline-execution-hint.md 配合 tdd-master(TDD 开发大师) 与 code-review-expert(代码审查专家),不再套用下文的 Task 模板。


Inputs / Outputs / Gates / Handoffs(统一契约)

  • Inputs(最小输入):一份书面实施计划(必须包含任务全文:步骤、代码块、命令、预期输出);当前分支/工作目录信息。
  • Outputs(产物形态):按任务推进的执行记录(主会话 Todo 勾选)+ 每任务的 3 段产物:实现结果、规格符合性审查、代码质量审查。
  • Gates(继续前必须满足):
    • 不允许子代理自行打开计划文件代替你粘贴任务全文(除非平台强制且无法粘贴,并需说明风险)。
    • 审查顺序硬门控:先规格符合性审查 → 后代码质量审查。
    • 发现阻塞问题必须回到实现修复并复审,通过后才进入下一任务。
  • Handoffs(推荐下游):
    • code-review-expert(代码审查专家):整体收尾审查/质量门禁
    • debug-expert(调试专家):实现或测试失败时切换排查

适用条件

  • 已有实施计划(推荐由 writing-plans(实施计划编写) 产出),任务粒度小、相对独立。
  • 平台支持 Task / 子代理 等派发能力;若不支持,改用同会话执行提示文件。
mermaid
flowchart TD
  A[有实施计划?] -->|否| Z[先完成方案设计与实施计划编写]
  A -->|是| B[任务可独立切片?]
  B -->|否| Y[收紧计划或改人工串行]
  B -->|是| C[本技能: 子代理逐任务]

总流程

  1. 读计划一次,提取全部任务标题与完整任务正文(含步骤、代码块、命令),不要让子代理自己去读计划文件。
  2. 用 TodoWrite(或等价方式)列出所有任务,随进度更新。
  3. 对每个任务循环:
    • 派发 实现子代理(references/implementer-prompt.md)
    • 根据返回状态处理(见下节「实现者状态」)
    • 通过后派发 规格符合性审查(references/spec-reviewer-prompt.md)
    • 规格 ✅ 后派发 代码质量审查(references/code-quality-reviewer-prompt.md,对齐 code-review-expert(代码审查专家) 的严重度与证据要求)
    • 两道审查均未决问题后,勾选任务完成
  4. 全部任务完成后:建议对整体变更再做一次 code-review-expert(代码审查专家) 级别的汇总审查(可再派子代理),并请用户确认合并/PR;若项目后续提供「分支收尾」类技能可再衔接。

实现者状态处理

实现子代理须返回以下之一:

状态处理
DONE进入规格符合性审查
DONE_WITH_CONCERNS先阅读关切;涉及正确性/范围的先处理再审查;仅为观察性备注可记录后继续
NEEDS_CONTEXT补充上下文后重新派发同一任务
BLOCKED缺信息则补上下文;能力不足则换更强模型;任务过大则拆计划;计划错误则上升用户

禁止忽视 BLOCKED、禁止无变更重复派发同模型硬重试。


模型选用(节省成本)

  • 机械实现(1–2 文件、规格完整):较快、较省模型。
  • 多文件集成与判断:标准能力模型。
  • 架构与审查:在可用范围内选最强模型。

提示词模板(必读路径)

文件用途
references/implementer-prompt.md实现子代理
references/spec-reviewer-prompt.md规格符合性审查(先)
references/code-quality-reviewer-prompt.md代码质量审查(后)

派发时将计划中的任务全文粘贴进提示词,并补充场景上下文(依赖、架构位置、工作目录)。


红线(禁止)

  • 未经用户明确同意在 main/master 上开始改代码。
  • 跳过任一审查,或先代码质量、后规格符合(顺序错误)。
  • 并行派发多个实现子代理处理同一仓库同一分支(易冲突)。
  • 让子代理自行打开计划文件代替你粘贴任务全文(除非平台强制且无法粘贴,此时应最小化摘录并说明风险)。
  • 审查发现问题后不修复、不复审就进入下一任务。
  • 用实现者自述替代审查员的独立读码验证。

与项目内技能的衔接

技能作用
writing-plans(实施计划编写)产生本技能消费的勾选式计划
tdd-master(TDD 开发大师)实现与运行测试时应遵循 RED-GREEN-REFACTOR;计划中已拆步骤时以计划为准
code-review-expert(代码审查专家)代码质量审查输出结构与严重度对齐;全量收尾可再显式调用
debug-expert(调试专家)实现或测试失败时切换排查

示例(缩写)

[读取计划 docs/specs/plans/xxx.md,提取任务 1–N 全文,写入 Todo]

任务 1:
  → Task: implementer(全文任务 + 上下文)
  → 实现者 DONE
  → Task: spec reviewer → ✅
  → Task: code quality reviewer → 有 Important 问题 → 实现者修复 → 再审 → ✅
  → 标记任务 1 完成

任务 2:…

全部完成后 → 可选:Task 最终审查 → 用户确认合并

© ProgrammerAnthony, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/subagent-driven-development of ProgrammerAnthony/Expert-Coding-Harness.

  • SKILL.md
  • references/code-quality-reviewer-prompt.md
  • references/implementer-prompt.md
  • references/inline-execution-hint.md
  • references/spec-reviewer-prompt.md

Open the folder on GitHubat commit ab0b827

Compare with similar skills

Subagent Driven Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Subagent Driven Development compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Subagent Driven Development this skillProgrammerAnthony/Expert-Coding-Harness235—~783Automated safety check: PassMIT
O2 Review Loopopenobserve/openobserve22k—~3.7kAutomated safety check: PassAGPL-3.0
V2 Perf Iterationmirage-project/mirage2.5k—~4kAutomated safety check: PassApache-2.0
Clone App Pat Proper-simmons/clone-app-pat-pro-public259—~1.9kAutomated safety check: NotesNone
Kimi Code DelegationCherryHQ/cherry-studio52k—~504Automated safety check: PassAGPL-3.0
Swarm Orchestrationruvnet/ruflo74k2 repos~779Automated safety check: PassMIT

Similar skills

  • O2 Review Loop

    openobserve/openobserve

    Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.

    22k GitHub stars~3.7k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • V2 Perf Iteration

    mirage-project/mirage

    Runtime-V2 performance-iteration workflow. An agent skill from mirage-project/mirage.

    2.5k GitHub stars~4k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Clone App Pat Pro

    per-simmons/clone-app-pat-pro-public

    Clones any web app pixel-for-pixel from a URL. An agent skill from per-simmons/clone-app-pat-pro-public.

    259 GitHub stars~1.9k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check: notes
  • Kimi Code Delegation

    CherryHQ/cherry-studio

    Delegates one bounded repository task to Kimi Code in non-interactive prompt mode and reads back the final result from its JSON event stream.

    52k GitHub stars~504 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Agent WorkflowsAuto-check passed
  • Team Mode

    oil-oil/codex-team-mode

    A skill your agent uses when a task may benefit from a bounded subagent for implementation, large-codebase discovery at task start, independent review, requested or pre-commit code simplification…

    216 GitHub stars~1.3k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed

More from ProgrammerAnthony/Expert-Coding-Harness

All 23 skills in this repo
  • Architecture Advisor

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户需要设计新系统架构、评审或优化已有系统架构、选择技术方案时。触发场景:架构分析、架构设计、系统设计、architecture、架构优化、系统架构、架构评审、架构咨询、技术方案、技术设计、如何组织代码结构、模块划分、服务拆分、数据库选型、微服务设计。

    235 GitHub stars~673 tokensUpdated 4 mo ago
    Auto-check passed
  • Code Review Expert

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户要求审查代码、评估代码质量、提交 PR 前检查、发现代码有潜在问题时。触发场景:代码审查、code review、审查代码、review、检查代码、代码检查、代码质量、代码评审、这段代码有问题吗、帮我看看代码、合并前检查。

    235 GitHub stars~806 tokensUpdated 4 mo ago
    Auto-check passed
  • Code Security Audit

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户需要对代码进行安全审计、发现安全漏洞、上线前安全评估、检查代码是否存在安全风险时。触发场景:代码安全审计、安全审计、白盒审计、安全扫描、漏洞检测、漏洞挖掘、SQL注入、命令注入、XSS、SSRF、反序列化、认证绕过、越权、代码安全检查、security audit、code…

    235 GitHub stars~1.6k tokensUpdated 4 mo ago
    Auto-check passed
  • Debug Expert

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 程序出现错误、异常、崩溃,或行为与预期不符,或测试失败,或无法定位问题根因时。触发场景:调试、debug、报错、错误、异常、bug、问题排查、故障排查、不工作、崩溃、无法运行、出错了、为什么不生效、运行报错、跑不起来、程序挂了。

    235 GitHub stars~986 tokensUpdated 4 mo ago
    Auto-check passed
  • Frontend Code Review

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户需要审查前端代码(React/Vue/Next.js/TypeScript/Tailwind等)、检查代码质量、性能问题、可维护性、安全漏洞、最佳实践落地时。触发场景:前端代码评审、前端代码优化、React/Vue代码检查、TypeScript代码审查、前端性能优化、前端安全审计、前端代码规范检查。

    235 GitHub stars~614 tokensUpdated 4 mo ago
    Auto-check passed
  • Frontend Performance Optimization

    ProgrammerAnthony/Expert-Coding-Harness

    A skill your agent uses when 用户需要优化前端性能、提升页面加载速度、减少白屏时间、优化交互流畅度、进行性能排查时。触发场景:前端性能优化、页面加载慢、白屏时间长、卡顿、LCP/FID/CLS指标优化、前端性能分析、打包体积优化。

    235 GitHub stars~701 tokensUpdated 4 mo ago
    Auto-check passed

Questions about Subagent Driven Development

What does Subagent Driven Development do?

A skill your agent uses when 已有书面实施计划、任务相对独立,且在本会话内通过子代理逐任务落实时。触发场景:执行实施计划、子代理开发、按计划实现、Task 派发实现、两阶段代码审查、plan execution。. Subagent Driven Development is an agent skill from ProgrammerAnthony/Expert-Coding-Harness.

When should I use Subagent Driven Development?

Subagent Driven Development fits situations like: 已有书面实施计划、任务相对独立,且在本会话内通过子代理逐任务落实时。触发场景:执行实施计划、子代理开发、按计划实现、Task 派发实现、两阶段代码审查、plan execution; tasks that involve Subagents.

How do I install Subagent Driven Development in Claude Code?

Run `npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill subagent-driven-development -a claude-code`. Or copy the skill folder (skills/subagent-driven-development in ProgrammerAnthony/Expert-Coding-Harness) into .claude/skills/subagent-driven-development in your project. Claude Code loads it when a task matches its description.

How do I install Subagent Driven Development in Codex?

Run `npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill subagent-driven-development -a codex`. Or copy the skill folder (skills/subagent-driven-development in ProgrammerAnthony/Expert-Coding-Harness) into .agents/skills/subagent-driven-development in your project. Codex loads it when a task matches its description.

Can I use Subagent Driven Development in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ProgrammerAnthony/Expert-Coding-Harness --skill subagent-driven-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/subagent-driven-development, .gemini/skills/subagent-driven-development, .github/skills/subagent-driven-development and .opencode/skills/subagent-driven-development in your project.

What does Subagent Driven Development need to run?

SKILL.md names no scripts, command-line tools or credentials: Subagent Driven Development is instructions for the agent only.

Does Subagent Driven Development access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Subagent Driven Development safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Subagent Driven Development use?

Subagent Driven Development is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Subagent Driven Development use?

About 783 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.7k tokens, read only when the agent opens those files.

What are the alternatives to Subagent Driven Development?

Skills that share tags, products or a category with Subagent Driven Development: O2 Review Loop (openobserve/openobserve, 22k stars), V2 Perf Iteration (mirage-project/mirage, 2.5k stars), Clone App Pat Pro (per-simmons/clone-app-pat-pro-public, 259 stars) and Kimi Code Delegation (CherryHQ/cherry-studio, 52k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Subagent Driven Development?

ProgrammerAnthony (a GitHub user) maintains it in ProgrammerAnthony/Expert-Coding-Harness, which has 235 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on May 11, 2026.

Source: ProgrammerAnthony/Expert-Coding-Harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.