FlowForge — Autonomous AI Coding Pipeline (Spec → Plan → Code → QA)
/install flowforge
FlowForge
Autonomous spec → plan → code → QA pipeline powered by Claude Code. All heavy computation runs through Claude Code (Max subscription). OpenClaw only orchestrates.
Architecture
Flo (minimal tokens) → shell pipeline → Claude Code (all heavy work)
↓
Account rotation on rate limit
Workflow Types
Classify the task before planning — each type has a different phase structure:
| Type | When | Phase Order |
|---|---|---|
feature |
New capability | Backend → Worker → Frontend → Integration |
refactor |
Restructure existing code | Add New → Migrate → Remove Old → Cleanup |
investigation |
Bug hunt | Reproduce → Investigate → Fix → Harden |
migration |
Move data/infra | Prepare → Test → Execute → Cleanup |
simple |
Single-file change | Just subtasks, no phases |
Steps
1. Setup workspace
bash ~/clawd/skills/flowforge/scripts/init_forge.sh "\x3Ctask_description>" "\x3Crepo_path>"
Creates ~/.forge/\x3Ctimestamp>/ with task.md.
2. Clarification checkpoint (required before spec)
Before running the pipeline, ask 2–4 targeted questions to resolve ambiguity. Do not ask for information already in task.md. Focus on:
- Scope edge cases — "Does this include X, or is that a separate shape?"
- Constraints — "Any files that are frozen / must not be touched?"
- Integration points — "Which existing module owns this responsibility?"
- Success definition — "What does passing look like — a test, a manual check, a metric?"
Present questions in a numbered list. Wait for answers before proceeding. If the task is unambiguous (e.g., a single-file fix from a clear issue), skip this step and note "No clarification needed."
Save answers to ~/.forge/\x3Ctimestamp>/clarifications.md for reference during spec + plan phases.
3. Run the pipeline
bash ~/clawd/skills/flowforge/scripts/run_forge.sh ~/.forge/\x3Ctimestamp>/
This chains 4 Claude Code calls:
- Spec — generates
spec.mdincorporating clarifications (high thinking) - Plan — generates
implementation_plan.json(high thinking) - Code — executes each subtask with verification (medium thinking)
- QA — reviews output, scores against spec (high thinking)
Each step saves output to the workspace directory. Claude Code does ALL the work.
4. Monitor
Poll workspace for completion:
tail -f ~/.forge/\x3Ctimestamp>/progress.log
cat ~/.forge/\x3Ctimestamp>/qa_report.md
Account Rotation
Three Claude Max accounts rotate automatically on rate limit:
[email protected] → [email protected] → [email protected] → retry
Configure your accounts in ~/.flowforge/accounts.txt (one email per line).
Save credentials per account in ~/.claude/accounts/\x3Cemail>.json.
Switch accounts with: bash \x3Cskill-dir>/scripts/rotate_account.sh
GitHub Issues
To pull a task from a GitHub issue:
gh issue view \x3Cnumber> --repo \x3Cowner>/\x3Crepo> --json title,body | \
jq -r '"# " + .title + "\
\
" + .body' > ~/.forge/\x3Ctimestamp>/task.md
Then run the pipeline normally.
Output
On completion, workspace contains:
clarifications.md— pre-spec Q&A (scope, constraints, integration points)spec.md— full specification (incorporates clarifications)implementation_plan.json— phases + subtasks with statusqa_report.md— QA review and scoreproject-context.md— session handoff note (decisions made, patterns established, what next session needs to know)progress.log— timestamped execution log
Optional: Rubric Scoring (200 criteria)
Add --rubric flag for high-stakes runs. Scores against a universal 200-criterion quality rubric after the spec-based QA pass:
bash ~/clawd/skills/flowforge/scripts/run_forge.sh ~/.forge/\x3Ctimestamp>/ --rubric
Rubric covers: Architecture (40), Code Quality (40), Testing (40), Error Handling (30), Security (20), Documentation (15), Observability (15).
Verdict thresholds: ≥180 = Ship it | 150–179 = Needs work | \x3C150 = Major rework
Skip --rubric for quick tasks. Use it before shipping to production.
Prompts
See references/spec-prompt.md, references/planner-prompt.md, references/qa-prompt.md, references/rubric-prompt.md for the full Claude Code prompts used at each stage.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install flowforge - 安装完成后,直接呼叫该 Skill 的名称或使用
/flowforge触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
FlowForge — Autonomous AI Coding Pipeline (Spec → Plan → Code → QA) 是什么?
Autonomously breaks coding tasks into spec, plan, code, and QA phases, executing all heavy work via Claude Code with multi-account rate limit rotation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 417 次。
如何安装 FlowForge — Autonomous AI Coding Pipeline (Spec → Plan → Code → QA)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install flowforge」即可一键安装,无需额外配置。
FlowForge — Autonomous AI Coding Pipeline (Spec → Plan → Code → QA) 是免费的吗?
是的,FlowForge — Autonomous AI Coding Pipeline (Spec → Plan → Code → QA) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
FlowForge — Autonomous AI Coding Pipeline (Spec → Plan → Code → QA) 支持哪些平台?
FlowForge — Autonomous AI Coding Pipeline (Spec → Plan → Code → QA) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 FlowForge — Autonomous AI Coding Pipeline (Spec → Plan → Code → QA)?
由 windseeker1111(@windseeker1111)开发并维护,当前版本 v1.1.0。