GStack Dev Workflow
/install gstack-workflow
Dev Workflow — Structured Development Sprint
A 6-phase development process that turns a vague idea into shipped code. Each phase has a clear role, a defined output, and feeds into the next. Run phases sequentially or skip ahead when context is clear.
Phases
| # | Phase | Role | Output |
|---|---|---|---|
| 1 | Think | YC Office Hours Coach | DESIGN.md |
| 2 | Plan | Eng Manager | PLAN.md |
| 3 | Build | Implementer | Code + Tests |
| 4 | Review | Staff Engineer | Review Report |
| 5 | Test | QA Lead | Bug Report + Fixes |
| 6 | Ship | Release Engineer | PR / Deploy |
How to Use
Full Sprint (recommended for new features)
# Start from scratch
"I want to build X" → run all 6 phases
# Or ask me:
"Run dev-workflow on [feature description]"
I will walk through each phase, spawning a focused subagent per phase with the right model and prompt.
Partial Sprint
Skip phases when you already have context:
- "Skip think, I have DESIGN.md" → start from Plan
- "Just review and ship this branch" → run Review → Test → Ship
- "I need a design review" → run Phase 2 (Plan) only
Single Phase
Any phase can run standalone:
/think— Reframe the problem, challenge assumptions, write DESIGN.md/plan— Architecture, data flow, test strategy, write PLAN.md/build— Implement from PLAN.md/review— Code review with auto-fix for obvious issues/test— Browser testing, regression tests, bug reports/ship— Sync, test, push, open PR
Phase Details
Phase 1: Think (YC Office Hours)
Goal: Reframe the problem before writing code.
Spawn a subagent (Sonnet) with the Think prompt from references/prompts.md. It will:
- Ask 6 forcing questions about the real pain, not the feature request
- Challenge the framing — "You said X but you actually need Y"
- Generate 3 implementation approaches with effort estimates
- Recommend the narrowest wedge to ship tomorrow
- Write
DESIGN.mdwith the distilled product vision
Key rule: Listen to the pain, not the feature request. The user says "daily briefing app" but means "personal chief of staff AI."
Phase 2: Plan (Eng Manager)
Goal: Lock architecture before building.
Spawn a subagent (Sonnet) with the Plan prompt. It reads DESIGN.md and produces PLAN.md containing:
- Architecture diagram (ASCII)
- Data flow and state machines
- File structure and module boundaries
- Test strategy and failure modes
- Milestone breakdown (what ships first)
Key rule: No code until the plan is approved. Challenge scope ruthlessly.
Phase 3: Build (Implementer)
Goal: Write code from PLAN.md.
Use the main session or spawn a subagent (Haiku for simple, Sonnet for complex). It reads PLAN.md and:
- Implements each milestone in order
- Writes tests alongside code (aim for >80% coverage)
- Commits atomically per milestone
- Updates PLAN.md with implementation notes
Key rule: Follow the plan. If the plan is wrong, update PLAN.md first, then code.
Phase 4: Review (Staff Engineer)
Goal: Find bugs that pass CI but blow up in production.
Spawn a subagent (Sonnet) with the Review prompt. It:
- Reads the diff against main/develop
- Catches logic errors, race conditions, edge cases
- Auto-fixes obvious issues (formatting, unused imports)
- Flags completeness gaps and security concerns
- Writes a review report
Key rule: Be paranoid. Assume the code will be hit by edge cases tomorrow.
Phase 5: Test (QA Lead)
Goal: Test like a user, not like a developer.
Spawn a subagent (Sonnet) with the Test prompt. It:
- Opens the app in a real browser (use
browsertool) - Clicks through every user flow
- Tests edge cases and error states
- Reports bugs with reproduction steps
- Auto-fixes and generates regression tests
Key rule: The user doesn't read code. Click the buttons. Break things.
Phase 6: Ship (Release Engineer)
Goal: One command to production.
Run in main session:
- Sync with remote (git pull/rebase)
- Run full test suite
- Audit test coverage
- Push and open PR
- Update project docs
Key rule: If tests fail, don't ship. Fix first.
Model Selection
| Phase | Model | Why |
|---|---|---|
| Think | Sonnet | Needs judgment to reframe problems |
| Plan | Sonnet | Architecture decisions need reasoning |
| Build | Haiku/Sonnet | Simple features → Haiku, complex → Sonnet |
| Review | Sonnet | Bug detection needs deep analysis |
| Test | Sonnet | Browser interaction needs context |
| Ship | Haiku | Mechanical execution |
Parallel Sprints
For large projects, run multiple sprints on different branches:
- Create feature branches for each sprint
- Spawn subagents per branch
- Each subagent works in isolation
- Review and merge sequentially
Max practical parallelism: 3-5 sprints (limited by context management).
Output Files
All phase outputs go to the project root:
DESIGN.md— Product vision from Think phasePLAN.md— Architecture and milestones from Plan phase- Review reports are written to stdout (capture in conversation)
- Test reports are written to stdout
Clean up output files after shipping if not needed long-term.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gstack-workflow - 安装完成后,直接呼叫该 Skill 的名称或使用
/gstack-workflow触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
GStack Dev Workflow 是什么?
Structured development workflow inspired by Garry Tan's gstack. Use when the user wants to build a feature, start a project, do a code review, or ship code w... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。
如何安装 GStack Dev Workflow?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gstack-workflow」即可一键安装,无需额外配置。
GStack Dev Workflow 是免费的吗?
是的,GStack Dev Workflow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
GStack Dev Workflow 支持哪些平台?
GStack Dev Workflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 GStack Dev Workflow?
由 Jahonn Ding(@jahonn)开发并维护,当前版本 v1.0.0。