Token导航 LogoToken导航TokenDH.com
开发只读clawhub未标认证来源可访问clear审计提醒

subagent-driven-development-2子 Agent 驱动开发 2

Agent Skill

subagent-driven-development-2 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

27,284

周安装

1,172

GitHub Stars

公开资料未说明

下载量

9,564
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:subagent-driven-development-2(子 Agent 驱动开发 2)
来源仓库:https://github.com/wpank/subagent-driven-development-2
安装命令:
openclaw skills install subagent-driven-development-2
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install subagent-driven-development-2

简介

通过为每个任务派遣一个新的子代理并进行两阶段审查(规范合规性然后代码质量)来执行实施计划。当您的实施计划包含大部分独立任务并且希望在单个会话中进行高质量、快速迭代时使用。

SKILL.md

name
subagent-driven-development
model
standard
description
Execute implementation plans by dispatching a fresh subagent per task with two-stage review (spec compliance then code quality). Use when you have an implementation plan with mostly independent tasks and want high-quality, fast iteration within a single session.
version
1.0.0

Subagent-Driven Development

Execute a plan by dispatching a fresh subagent per task, with two-stage review after each — spec compliance first, then code quality.

Core principle: Fresh subagent per task + two-stage review = no context pollution, high quality, fast iteration.

Installation

OpenClaw / Moltbot / Clawbot

npx clawhub@latest install subagent-driven-development

When to Use This Skill

  • You have an implementation plan with discrete, mostly independent tasks
  • You want to execute the plan within a single session (no human-in-the-loop between tasks)
  • Tasks can be implemented and reviewed sequentially without tight coupling
ConditionThis SkillAlternative
Have a plan, same sessionYes
Have a plan, parallel sessionNoexecuting-plans
No plan yetNoWrite a plan first
Tasks tightly coupledNoManual execution or decompose more

The Process

┌─────────────────────────────────────────────────────┐
│  1. Read plan, extract ALL tasks with full text      │
│  2. Note shared context (arch, deps, conventions)    │
│  3. Create TodoWrite with all tasks                  │
└──────────────────────┬──────────────────────────────┘
                       ▼
          ┌────── Per Task ──────┐
          │                      │
          │  Dispatch Implementer (references/implementer-prompt.md)
          │       │                                │
          │       ▼                                │
          │  Questions?──yes──► Answer, re-dispatch│
          │       │no                              │
          │       ▼                                │
          │  Implement + test + commit + self-review│
          │       │                                │
          │       ▼                                │
          │  Dispatch Spec Reviewer (references/spec-reviewer-prompt.md)
          │       │                                │
          │       ▼                                │
          │  Compliant?──no──► Implementer fixes──┘
          │       │yes             then re-review
          │       ▼
          │  Dispatch Code Reviewer (references/code-quality-reviewer-prompt.md)
          │       │
          │       ▼
          │  Approved?──no──► Implementer fixes, re-review
          │       │yes
          │       ▼
          │  Mark task complete
          └───────┬──────────────┘
                  ▼
          More tasks? ──yes──► next task
                  │no
                  ▼
          Final cross-task code review
                  ▼
          Finish development branch

Prompt Templates

Three reference prompts are provided for the subagent roles:

RoleFilePurpose
Implementerreferences/implementer-prompt.mdImplement, test, commit, self-review
Spec reviewerreferences/spec-reviewer-prompt.mdVerify code matches spec exactly
Code reviewerreferences/code-quality-reviewer-prompt.mdVerify code is clean and maintainable

Example Workflow

Controller: Reading plan — 5 tasks extracted, TodoWrite created.

─── Task 1: Hook installation script ───

[Dispatch implementer with full task text + context]

Implementer: "Should the hook be installed at user or system level?"
Controller:  "User level (~/.config/hooks/)"

Implementer: ✅ Implemented install-hook command
  - Added tests (5/5 passing)
  - Self-review: missed --force flag, added it
  - Committed

[Dispatch spec reviewer]
Spec reviewer: ✅ Spec compliant — all requirements met

[Dispatch code reviewer with git SHAs]
Code reviewer: ✅ Approved — clean, good coverage

[Mark Task 1 complete]

─── Task 2: Recovery modes ───

[Dispatch implementer]

Implementer: ✅ Added verify/repair modes (8/8 tests passing)

[Dispatch spec reviewer]
Spec reviewer: ❌ Issues:
  - Missing: progress reporting ("report every 100 items")
  - Extra: added --json flag (not in spec)

[Implementer fixes: remove --json, add progress reporting]
Spec reviewer: ✅ Spec compliant

[Dispatch code reviewer]
Code reviewer: Important — magic number 100, extract constant

[Implementer fixes: extract PROGRESS_INTERVAL]
Code reviewer: ✅ Approved

[Mark Task 2 complete]

... (tasks 3-5) ...

[Final cross-task code review]
Final reviewer: ✅ All requirements met, ready to merge

Controller Responsibilities

The controller (you) orchestrates the flow. Key duties:

ResponsibilityDetail
Extract tasks upfrontRead plan once, extract all task text — subagents never read the plan file
Provide full contextGive each subagent the complete task text + architectural context
Answer questionsRespond clearly and completely before letting subagent proceed
Enforce review orderSpec compliance first, code quality second — never reversed
Track progressUpdate TodoWrite after each task completes
Dispatch sequentiallyOne implementation subagent at a time to avoid conflicts

Quality Gates

Each task passes through three quality checks:

GateWhoWhat
Self-reviewImplementerCompleteness, naming, YAGNI, test quality
Spec reviewSpec reviewerMatches requirements exactly — nothing more, less
Code reviewCode reviewerClean code, maintainability, test coverage

Advantages

vs. manual execution:

  • Fresh context per task (no confusion from accumulated state)
  • Subagents follow TDD naturally
  • Questions surfaced before work begins, not after

vs. parallel-session plans:

  • No handoff overhead
  • Continuous progress
  • Review checkpoints are automatic

Cost trade-off: More subagent invocations (implementer + 2 reviewers per task), but catches issues early — cheaper than debugging later.

NEVER Do

  • Skip either review — both spec compliance and code quality are mandatory
  • Start code review before spec review passes — wrong order wastes effort on code that doesn't meet spec
  • Dispatch multiple implementers in parallel — causes merge conflicts and context corruption
  • Make subagents read the plan file — provide full task text directly
  • Skip scene-setting context — subagent needs to understand where the task fits architecturally
  • Ignore subagent questions — answer fully before they proceed
  • Accept "close enough" on spec compliance — if the reviewer found issues, it's not done
  • Skip re-review after fixes — reviewer found issues → implementer fixes → reviewer reviews again
  • Let self-review replace actual review — self-review is a first pass, not a substitute
  • Move to next task with open review issues — current task must be fully approved first
  • Fix issues manually instead of through a subagent — manual fixes pollute controller context

Handling Failures

SituationResponse
Subagent asks questionsAnswer clearly, provide additional context if needed
Reviewer finds issuesSame implementer subagent fixes, reviewer re-reviews
Subagent fails task entirelyDispatch a new fix subagent with specific instructions
Task blocked by dependencyReorder remaining tasks or resolve dependency first

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.94%
按下载量换算8,411

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills