Install
openclaw skills install auto-collaboration-dev-pipelineFully automated collaborative code development pipeline for complex code development tasks. Must be used when users request code development, program writing, feature implementation, or have code quality requirements.
openclaw skills install auto-collaboration-dev-pipelineA fully automated collaborative development pipeline. The main agent acts as the Project Manager (PM), orchestrating 7 sub-agent roles, advancing by phase. Users do not need to confirm midway; the final result is delivered directly.
| # | Role | Responsibility | Phase |
|---|---|---|---|
| 1 | Requirements Analyst | Parse user requirements → Output structured technical specifications | S1 |
| 2 | Architect | Design system architecture, tech stack, file structure, component tree | S2 |
| 3 | Backend Developer | Implement core business logic, data processing, APIs | S3 |
| 4 | Frontend/UI Developer | Implement interfaces, CSS styles, interaction logic | S3 |
| 5 | QA Engineer | Write and execute test cases, output test report | S4 |
| 6 | Code Reviewer | Review code quality, standards, security, performance | S5 |
| 7 | Documentation Engineer | Write README, comments, usage instructions | S6 |
| 8 | Integration/Delivery Engineer (PM) | Final integration, issue fixes, packaging and delivery | S7 |
S1 Requirements Analysis ──→ S2 Architecture Design ──→ S3 Parallel Development ──→ S4 Testing
│ (backend+frontend) │
└──────────────────────────────┘
↓
S5 Code Review ──→ S6 Documentation ──→ S7 Integration & Delivery → 📦 Final Artifact
{workspace}/<project-name>/ directory. All code files are organized under this directory.All sub-agents are invoked using sessions_spawn with parameters:
runtime: "subagent"mode: "run" (one-shot execution)cleanup: "delete"model: Use default model (follows main session)runTimeoutSeconds: 300 (5-minute timeout)Each sub-agent's prompt template is found in references/<role>.md. Replace the {...} placeholders in the template when invoking.
In the S3 phase, backend and frontend sub-agents are spawned simultaneously. After both complete, merge the code and proceed to S4.
# Pseudocode (actual implementation uses sessions_spawn + subagents poll)
spawn(backend_dev, context={spec, arch, task: "backend"})
spawn(frontend_dev, context={spec, arch, task: "frontend"})
# Wait for both sub-agents to complete
Input: User's original requirements
Action: Read references/requirements-analyst.md, replace placeholders, then spawn sub-agent
Output: Technical specification document → Save as <project>/SPEC.md
Deliverables Include:
Input: SPEC.md produced in S1
Action: Read references/architect.md, pass in SPEC content, then spawn sub-agent
Output: Architecture design document → Save as <project>/ARCH.md
Deliverables Include:
Input: S1 SPEC.md + S2 ARCH.md Action: Spawn backend and frontend sub-agents in parallel
Backend Development: Read references/backend-developer.md, pass in SPEC + ARCH + task="backend"
Output: All backend code files written to <project>/
Frontend Development: Read references/frontend-developer.md, pass in SPEC + ARCH + task="frontend"
Output: All frontend code files written to <project>/
For pure backend projects, only spawn the backend; for pure frontend projects, only spawn the frontend.
Input: S1 SPEC.md + S2 ARCH.md + list of all code file paths
Action: Read references/qa-engineer.md, pass in context, then spawn sub-agent
Output: Test report → Save as <project>/TEST_REPORT.md
Deliverables Include:
Input: All code file contents + S4 TEST_REPORT.md
Action: Read references/code-reviewer.md, pass in context, then spawn sub-agent
Output: Review report → Save as <project>/REVIEW.md
Deliverables Include:
Input: S1 SPEC + S2 ARCH + list of code file paths
Action: Read references/documentation-engineer.md, pass in context, then spawn sub-agent
Output: README.md + code comments → Save to <project>/
Deliverables Include:
Note: For simple projects (<100 lines, single file), this can be skipped; the PM writes a brief README directly.
Input: All artifacts from preceding phases Action: The main agent executes this directly; no sub-agent spawn is needed Tasks:
Output:
<project>/)Trigger conditions (any one is sufficient):
Do not trigger (handle normally):
The PM may skip specific phases based on task complexity: