Gsd Claw
/install gsd-claw
GSD Claw
A spec-driven development system adapted for OpenClaw. Transforms vague ideas into verified, working implementations through structured workflows.
Based on: glittercowboy/get-shit-done
Original Author: Lex Christopherson (@glittercowboy)
License: MIT
When to Use
Trigger this skill when user says:
- "Let's plan [project/feature]"
- "I want to build [something]"
- "Scope out [project name]"
- "GSD mode" or "spec-driven"
- "Plan and execute [task]"
- Any substantial project that needs structure
NOT for: Quick questions, simple tasks, chat conversations.
Core Philosophy
From the original GSD:
"The complexity is in the system, not in your workflow."
Principles:
- Plans ARE prompts — Executable instructions, not documents to interpret
- Verification built-in — Every task has acceptance criteria
- Fresh context per task — Subagents prevent context rot
- Solo developer + AI — No enterprise theater
Workflow Overview
┌─────────────────────────────────────────────────────────────┐
│ 1. DISCUSS Capture decisions before planning │
│ 2. PLAN Research → Create verified specs │
│ 3. EXECUTE Work through tasks with deviation rules │
│ 4. VERIFY Confirm deliverables actually work │
└─────────────────────────────────────────────────────────────┘
Phase 1: DISCUSS
Purpose: Capture user's vision BEFORE any planning.
Process:
- Ask about the goal (what are we building?)
- Identify gray areas based on domain:
- Visual features → layout, interactions, empty states
- APIs → response format, error handling
- Content → structure, tone, depth
- For each area, ask until user is satisfied
- Document decisions in
{project}/.gsd/CONTEXT.md
Output Structure:
# Context: [Project/Phase Name]
## Decisions (Locked)
- [User decision 1]
- [User decision 2]
## Agent Discretion (Freedom Areas)
- [Area where agent can choose approach]
## Deferred Ideas (Out of Scope)
- [Not doing this now]
Rule: Never assume. Always ask.
Phase 2: PLAN
Purpose: Create executable task specs with built-in verification.
Research (Optional but Recommended)
Spawn sub-agent to investigate:
- Technical approach options
- Potential pitfalls
- Best practices for the domain
Save to: {project}/.gsd/RESEARCH.md
Create Plans
Each plan = 2-3 tasks maximum (context efficiency).
Task XML Structure:
\x3Ctask type="auto">
\x3Cname>Task N: Action-oriented name\x3C/name>
\x3Cfiles>src/path/file.ts, src/other/file.ts\x3C/files>
\x3Caction>
What to do, what to avoid and WHY.
Be specific. No guessing.
\x3C/action>
\x3Cverify>Command or check to prove completion\x3C/verify>
\x3Cdone>Measurable acceptance criteria\x3C/done>
\x3C/task>
Task Types:
type="auto"— Agent executes autonomouslytype="checkpoint:verify"— User must verifytype="checkpoint:decision"— User must choose
Plan Verification
Before execution, verify plans against:
- Tasks are specific and actionable
- Each task has verify + done criteria
- Scope matches CONTEXT.md decisions
- No enterprise bloat
Save plans to: {project}/.gsd/plans/{phase}-{N}-PLAN.md
Phase 3: EXECUTE
Purpose: Work through tasks with deviation handling.
Execution Rules
- Read plan as literal instructions
- Execute each task in order
- Verify done criteria before moving on
- Apply deviation rules automatically
- Document everything
Deviation Rules
Apply automatically — track for summary:
| Rule | Trigger | Action | Permission |
|---|---|---|---|
| Bug | Broken behavior, errors, security issues | Fix → verify → track | Auto |
| Missing Critical | Missing validation, auth, error handling | Add → verify → track | Auto |
| Blocking | Prevents completion (missing deps, wrong types) | Fix blocker → track | Auto |
| Architectural | New table, schema change, breaking API | STOP → ask user | Ask |
Rule 4 (Architectural) Format:
⚠️ Architectural Decision Needed
Current task: [task name]
Discovery: [what prompted this]
Proposed change: [modification]
Why needed: [rationale]
Alternatives: [other approaches]
Proceed? (yes / different approach / defer)
Fresh Context Pattern
For multi-task execution, spawn sub-agents:
- Each sub-agent gets fresh 200k context
- Main context stays lean for user interaction
- Prevents quality degradation
Task Completion
After each task:
- Verify done criteria met
- Commit changes (if applicable)
- Record in summary
- Move to next task
Phase 4: VERIFY
Purpose: Confirm deliverables actually work.
Automated Verification
- Run verify commands from each task
- Check files exist
- Run tests if applicable
User Acceptance
Walk user through testable deliverables:
- Extract what they should be able to do now
- Present one at a time
- Get yes/no or issue description
- If issues found → create fix plans
If all pass: Mark phase complete.
If issues: Don't debug manually — create fix plan and re-execute.
File Structure
{project}/
└── .gsd/
├── PROJECT.md # Vision, always loaded
├── STATE.md # Current position, decisions, blockers
├── REQUIREMENTS.md # Scoped v1/v2 requirements
├── ROADMAP.md # Phases and progress
├── CONTEXT.md # User decisions from discuss phase
├── RESEARCH.md # Domain research (optional)
└── plans/
├── 01-01-PLAN.md # Phase 1, Plan 1
├── 01-01-SUMMARY.md # Execution results
└── ...
Templates: Copy from assets/ directory when initializing project files.
Quick Mode
For small tasks that don't need full planning:
Trigger: "Quick: [task description]"
Process:
- Skip research and discussion
- Create single plan with 1-3 tasks
- Execute with deviation rules
- Verify and commit
When to use:
- Bug fixes
- Small features
- Config changes
- One-off tasks
State Management
STATE.md Template
# Project State
## Current Position
Phase: [N]
Plan: [N of M]
Status: [planning | executing | verifying | blocked]
## Decisions Made
- [Decision 1] — [rationale]
- [Decision 2] — [rationale]
## Blockers
- [Blocker if any]
## Deviations Applied
- [Rule N] [Description] — [resolution]
Update STATE.md after each significant action.
Anti-Patterns (Banned)
From original GSD:
❌ Enterprise theater
- Story points, sprint ceremonies
- Human time estimates (days/weeks)
- RACI matrices, stakeholder syncs
❌ Vague tasks
\x3C!-- BAD -->
\x3Ctask>
\x3Cname>Add authentication\x3C/name>
\x3Caction>Implement auth\x3C/action>
\x3Cverify>???\x3C/verify>
\x3C/task>
❌ Filler language
- "Let me...", "I'd be happy to..."
- "Great question!", "Excellent!"
✅ Direct, imperative, technical
OpenClaw Adaptations
Original GSD → OpenClaw Version
| GSD | OpenClaw |
|---|---|
/gsd:command slash commands |
Natural language triggers |
| Claude Code Task() spawning | sessions_spawn sub-agents |
.claude/ directory |
{project}/.gsd/ directory |
| Bash scripts | PowerShell/cross-platform |
| git commit protocol | Optional, user preference |
Preserved Core:
- XML task structure with verify/done
- Deviation rules
- Fresh context via sub-agents
- State management
- Plan verification loop
Example Usage
User: "Let's plan the ORO website SEO overhaul"
Agent (DISCUSS):
Starting GSD workflow for: ORO Website SEO Overhaul
Before planning, I need to understand your vision.
1. What's the primary goal?
a) Rank higher for specific keywords
b) Improve technical SEO scores
c) Both
d) Something else
2. Any pages that are highest priority?
3. Budget constraints for tools/services?
4. Timeline expectations?
After discussion → creates CONTEXT.md
Agent (PLAN):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GSD ► PLANNING: ORO SEO Overhaul
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Spawning research sub-agent...
[Research complete]
Creating plans...
- Plan 1: Technical SEO fixes (3 tasks)
- Plan 2: Content optimization (2 tasks)
- Plan 3: Performance improvements (3 tasks)
Verifying plans against requirements...
✓ All checks passed
Ready to execute?
Credits
This skill is adapted from Get Shit Done (GSD) by Lex Christopherson (@glittercowboy).
- Original Repository: https://github.com/glittercowboy/get-shit-done
- License: MIT
- Philosophy: Solo developer + AI, no enterprise bloat
Thank you Lex for creating an incredibly effective system for building things with AI.
Version History
- 1.0.0 — Initial OpenClaw adaptation
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gsd-claw - 安装完成后,直接呼叫该 Skill 的名称或使用
/gsd-claw触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Gsd Claw 是什么?
Spec-driven development with built-in verification for substantial projects. Use when user wants to plan a project, scope a feature, build something with structure, or says "GSD mode", "let's plan", "scope out", "spec-driven". Workflow is Discuss → Plan → Execute → Verify. Based on glittercowboy's GSD system (MIT license). NOT for quick questions or simple tasks. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1620 次。
如何安装 Gsd Claw?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gsd-claw」即可一键安装,无需额外配置。
Gsd Claw 是免费的吗?
是的,Gsd Claw 完全免费(开源免费),可自由下载、安装和使用。
Gsd Claw 支持哪些平台?
Gsd Claw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gsd Claw?
由 Ruben Quispe(@rubenaquispe)开发并维护,当前版本 v1.0.2。