subagent-driven-development
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.
Why use this skill?
Scale your development with the Subagent-Driven Development skill for OpenClaw. Automate task execution, spec reviews, and code quality checks in one session.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wpank/subagent-driven-development-2What This Skill Does
Subagent-Driven Development is an advanced architectural pattern for the OpenClaw AI agent that transforms complex project execution into a reliable, automated assembly line. By dispatching a fresh, specialized subagent for every discrete task in an implementation plan, the system effectively mitigates the risk of 'context pollution'—the common AI failure mode where previous task state or accumulated hallucinations interfere with current objective precision.
This skill enforces a rigorous two-stage review process: first, a Spec Reviewer verifies that the implementation strictly adheres to the requested functional requirements, and second, a Code Quality Reviewer assesses the codebase against industry best practices. This layered approach ensures that code is not just functional, but also maintainable and clean before the agent proceeds to the next item in the backlog.
Installation
You can install the skill directly via your terminal using the OpenClaw/Clawbot package manager. Ensure your environment has the necessary permissions to spawn sub-processes:
npx clawhub@latest install subagent-driven-development
Use Cases
This skill is optimized for structured, predictable development environments. It is best utilized when you have already defined a clear roadmap or technical specification.
- Refactoring Legacy Modules: When you have a list of decoupled functions that need migration to a new framework.
- Feature Expansion: When implementing multiple independent API endpoints or CRUD interfaces defined by an existing OpenAPI spec.
- Test Suite Generation: When generating unit tests for an existing codebase where each module is isolated.
Example Prompts
- "Execute the 'user-auth-implementation' plan using the subagent-driven-development skill. Start by parsing the plan in docs/roadmap.md and ensure every unit test passes before marking each task as complete."
- "I have an implementation plan for adding five new validator functions to the engine. Use subagent-driven-development to implement them, ensuring that the spec reviewer checks for edge-case coverage on every single one."
- "Follow the subagent-driven-development process for the migration plan. Don't worry about existing debt, just focus on the task list provided and ensure the code quality reviewer enforces the project's Airbnb style guide."
Tips & Limitations
- Context management: While the subagent is 'fresh,' the skill still consumes shared environment context. Ensure your
READMEandarchitecture.mdfiles are up to date. - Task Granularity: This skill works best when tasks are atomic. If a task requires more than 50 lines of complex logic, consider decomposing it further before starting the subagent process.
- Bottlenecks: Because this skill enforces a two-stage review, initial progress may seem slower than manual prompting. However, the reduction in debug-cycles usually results in a faster total completion time.
- Interaction: Avoid manual intervention while the agent is in the 'dispatch' loop; let the review cycle conclude before attempting to steer the agent, as the internal feedback loop is designed to resolve compliance issues automatically.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-wpank-subagent-driven-development-2": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
mermaid-diagrams
Create software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams, sequence diagrams, flowcharts, ERDs, C4 architecture diagrams, state diagrams, git graphs, and other diagram types. Triggers include requests to diagram, visualize, model, map out, or show the flow of a system.
api-design-principles
Skill by wpank
auto-context
Automatically read relevant context before major actions. Loads TODO.md, roadmap.md, handoffs, task plans, and other project context files so the AI operates with full situational awareness. Use when starting a task, implementing a feature, refactoring, debugging, planning, or resuming a session.
clear-writing
Write clear, concise prose for humans — documentation, READMEs, API docs, commit messages, error messages, UI text, reports, and explanations. Combines Strunk's rules for clearer prose with technical documentation patterns, structure templates, and review checklists.
track-performance
Track the performance of Uniswap LP positions over time — check which positions need attention, are out of range, or have uncollected fees. Use when the user asks how their positions are doing.