一键导入
agent-pipeline
Multi-Agent Collaborative Pipeline for Claude Code — orchestrates 7 development phases with 6 specialized AI roles
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Multi-Agent Collaborative Pipeline for Claude Code — orchestrates 7 development phases with 6 specialized AI roles
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill should be used when the user asks to "分析 GitHub 趋势", "github trending", "热门项目分析", "star 高的项目", "互动高的项目", "新项目趋势", "如何设计新项目跟上趋势", "trending repos", "popular github projects", "what's hot on github", or when the user wants insights from GitHub data to inform the design of a new open-source project.
This skill should be used when the user asks to: 「分析趋势并生成新项目方案」「给我多个候选项目蓝图发邮件」「趋势报告+多方案打包」 「trend to proposals」「分析 GitHub trending 并提案」「来一套立项备选方案」。 一体化流程:调用 github-trend-analyzer 完成数据采集与趋势报告 → 生成 3 个完整 Project Blueprint 候选方案 → 把报告 + 方案 + 原始数据合并打包为 ZIP → 通过 SMTP 发到邮箱。
Generate svg icon generator operations. Auto-activating skill for Visual Content. Triggers on: svg icon generator, svg icon generator Part of the Visual Content skill category. Use when working with svg icon generator functionality. Trigger with phrases like "svg icon generator", "svg generator", "svg".
This skill should be used when the user asks to "下载图标", "搜索图标", "iconfont", "download icon", "search icon", "找个图标", or when the user needs to search and download SVG icons from iconfont.cn.
| name | agent-pipeline |
| description | Multi-Agent Collaborative Pipeline for Claude Code — orchestrates 7 development phases with 6 specialized AI roles |
| version | 2.0.0 |
| author | JS-mark |
| tags | ["multi-agent","pipeline","mcp","development-workflow","automation"] |
Unified command for the multi-agent development workflow. Dispatches by subcommand.
Usage: /agent <subcommand> [args]
IMPORTANT: All MCP tool calls MUST include the
rootparameter set to the current working directory (project root). This ensures pipeline data stays per-project, not global.
| Subcommand | Alias | Description |
|---|---|---|
run <feature> [phase] | r | Run the 7-phase pipeline |
status | s | Show pipeline progress |
dashboard [port] | d | Start monitoring web UI |
init | i | Initialize workflow in current project |
(no args / help) | h | Show usage guide |
help (default when no args)Display:
/agent — Multi-Agent Collaborative Pipeline
Usage: /agent <subcommand> [args]
Subcommands:
run <feature> [phase] Run 7-phase pipeline (parallel Phase 2, fix-test loop)
status Show pipeline progress
dashboard [port] Start monitoring dashboard (default port: 3210)
init Initialize multi-agent workflow in current project
Pipeline Phases:
1. PM → PRD 需求文档
2. 并行设计 → 架构师 + UI 设计师 + 测试计划 (并行)
3. 全栈开发 → 代码实现
4. 代码审查 → 审查报告
5. 审查修复 → 修复 Blocker
6. ��试执行 → 编写测试并执行
7. 修复循环 → Bug 修复 + 重新测试 (max 5 rounds)
Quick Start:
/agent init # Initialize (interactive)
/agent run my-feature # Full pipeline
/agent run my-feature 3 # Resume from Phase 3
/agent status # Check progress
/agent dashboard # Visual monitoring
CLI (any project dir):
npx @aspect-mark/agent-pipeline status
npx @aspect-mark/agent-pipeline dashboard [port]
# Or via project shim:
node scripts/pipeline.js status
runParse from $ARGUMENTS: skip first word ("run"/"r"), next word = feature name, optional next = start phase 1-7.
pipeline_check_ready with root = current working directory to verify role files exist. If missing, tell user to run /agent initFEATURE, START_PHASE (default 1)Use MCP tool pipeline_init_status with parameters:
root: current working directoryfeature: the feature namestartPhase: the start phase (default 1)maxFixRounds: 5This creates docs/.pipeline-status.json with the v2 schema.
Show plan to user and ask for confirmation.
Before each phase: use pipeline_update_phase with root = current working directory → status "running"
After each phase: use pipeline_update_phase with root = current working directory → status "done"
Launch one Agent (foreground):
Prompt: "你是产品经理。请阅读 .claude/roles/pm.md 了解你的角色职责和文档模板。
分析功能「<FEATURE>」的需求,编写 PRD 文档并输出到 docs/prd/feature-<FEATURE>.md。
请严格按照角色文件中的 PRD 模板格式编写,包含完整的功能需求、用户故事、验收标准等。"
CRITICAL: Launch all 3 Agent tool calls in a SINGLE message for parallel execution:
Before launching: use pipeline_update_phase phaseId=2, status="running"
Agent 2a - 架构师:
Prompt: "你是架构设计师。请阅读 .claude/roles/architect.md 了解职责和模板。
阅读 PRD docs/prd/feature-<FEATURE>.md,编写技术设计文档。
输出到 docs/architecture/feature-<FEATURE>.md。"
Agent 2b - UI 设计师:
Prompt: "你是 UI 设计师。请阅读 .claude/roles/ui-designer.md 了解职责和模板。
阅读 PRD docs/prd/feature-<FEATURE>.md,编写 UI 设计文档。
输出到 docs/ui-design/feature-<FEATURE>.md。"
Agent 2c - 测试工程师(仅计划):
Prompt: "你是测试工程师。请阅读 .claude/roles/tester.md 了解职责和模板。
阅读 PRD docs/prd/feature-<FEATURE>.md,仅编写测试计划和测试用例文档,不写代码。
输出到 docs/test-plans/feature-<FEATURE>.md。"
As each agent completes, use pipeline_update_phase with phaseId=2 and subtaskRole to update its status.
When all 3 done: use pipeline_update_phase phaseId=2, status="done"
Prompt: "你是全栈工程师。请阅读 .claude/roles/fullstack.md。
阅读上游文档(PRD + 架构 + UI + 测试计划),实现功能「<FEATURE>」代码到 src/。"
Prompt: "你是代码审查员。请阅读 .claude/roles/reviewer.md。
审查功能「<FEATURE>」代码,输出到 docs/reviews/feature-<FEATURE>.md。
必须标注严重程度:🔴 Blocker / 🟡 Warning / 🟢 Info。
末尾添加「Blocker 汇总」。无 Blocker 写「无 Blocker 问题」。"
Prompt: "你是全栈工程师。阅读审查报告 docs/reviews/feature-<FEATURE>.md,
修复所有 🔴 Blocker 和 🟡 Warning。输出修复日志到 docs/reviews/feature-<FEATURE>-fix-log.md。"
Skip if review says "无 Blocker 问题".
Prompt: "你是测试工程师。根据测试计划编写测试代码并执行,
输出结果到 docs/test-plans/feature-<FEATURE>-results-round-1.md。
全部通过则在总结中写「全部通过」。"
for round = 1 to 5:
1. Read latest test results, check if "全部通过" → break
2. Launch Fullstack Agent → fix bugs
3. Launch Tester Agent → retest → results-round-<N+1>.md
4. Use pipeline_update_fix_round with `root` = current working directory to record round result
Use MCP tool pipeline_finalize with root = current working directory and status "done".
Display summary with all output files.
statusCall pipeline_status with root = current working directory to get the current pipeline state.
Format the JSON response as a visual progress table:
Feature: <name> | Status: <running/done> | Started: <time>
─────────────────────────────────────────────────────
Phase 1 产品经理 ✅ done
Phase 2 并行设计 ✅ done
├─ 架构师 ✅ done (29.9 KB)
├─ UI 设计师 ✅ done (31.0 KB)
└─ 测试工程师 ✅ done (15.2 KB)
Phase 3 全栈开发 🔄 running (12 files)
Phase 4 代码审查 ⏳ pending
Phase 5 审查修复 ⏳ pending
Phase 6 测试执行 ⏳ pending
Phase 7 修复循环 ⏳ pending [_ _ _ _ _]
─────────────────────────────────────────────────────
Suggest /agent run <feature> <phase> to resume, or /agent dashboard to monitor.
dashboardUse MCP tool pipeline_dashboard with action "start", root = current working directory, and optional port (default 3210).
Report the returned URL to the user.
initUse MCP tool pipeline_init_project with:
root: current working directory (MUST pass explicitly)techStack: user's answerlanguage: user's answerMulti-Agent Workflow initialized!
Plugin: @aspect-mark/agent-pipeline (MCP Server)
Project: .claude/roles/{pm,architect,ui-designer,fullstack,tester,reviewer}.md
scripts/pipeline.js (CLI shim)
Quick start:
/agent run <feature> # Full pipeline
/agent run <feature> 3 # From Phase 3
/agent status # Check progress
/agent dashboard # Visual monitoring