Skip to content

toonight/get-shit-done-for-antigravity

Repository files navigation

Get Shit Done for Antigravity

Version License Based on GSD Platform Model Agnostic


Stop vibecoding. Start shipping.

Describe your idea → GSD extracts everything the AI needs → Watch it build correctly.


Getting Started · How It Works · Commands · Documentation


🧠 The Problem

Vibecoding has a bad reputation — and it deserves it.

You describe what you want, AI generates code, and you get inconsistent garbage that falls apart at scale.

GSD fixes that. It's the context engineering layer that makes AI coding reliable.

❌ Without GSD

"Add a feature"
    → Inconsistent code
    → Bugs everywhere
    → Debug loop
    → Frustration

✅ With GSD

"Add a feature"
    → SPEC
    → Plan
    → Atomic execution
    → Verification
    → ✅ Done

No enterprise roleplay. No sprint ceremonies, story points, stakeholder syncs, or Jira workflows. Just an incredibly effective system for building cool stuff consistently.


👤 Who This Is For

🧑‍💻 Solo developers Using AI coding assistants and need consistency
👥 Small teams Who want structure without enterprise overhead
😤 Anyone Tired of AI generating inconsistent garbage

⚡ Getting Started

🪟 PowerShell (Windows)
# Open your project
cd your-project

# Clone the GSD template
git clone https://github.com/toonight/get-shit-done-for-antigravity.git gsd-template

# Copy to your project
Copy-Item -Recurse gsd-template\.agent .\
Copy-Item -Recurse gsd-template\.agents .\
Copy-Item -Recurse gsd-template\.gemini .\
Copy-Item -Recurse gsd-template\.gsd .\
Copy-Item -Recurse gsd-template\adapters .\
Copy-Item -Recurse gsd-template\docs .\
Copy-Item -Recurse gsd-template\scripts .\
Copy-Item -Force gsd-template\PROJECT_RULES.md .\
Copy-Item -Force gsd-template\GSD-STYLE.md .\
Copy-Item -Force gsd-template\model_capabilities.yaml .\

# Clean up
Remove-Item -Recurse -Force gsd-template
🐧 Bash (Linux / Mac)
# Open your project
cd your-project

# Clone the GSD template
git clone https://github.com/toonight/get-shit-done-for-antigravity.git gsd-template

# Copy to your project
cp -r gsd-template/.agent ./
cp -r gsd-template/.agents ./
cp -r gsd-template/.gemini ./
cp -r gsd-template/.gsd ./
cp -r gsd-template/adapters ./
cp -r gsd-template/docs ./
cp -r gsd-template/scripts ./
cp gsd-template/PROJECT_RULES.md ./
cp gsd-template/GSD-STYLE.md ./
cp gsd-template/model_capabilities.yaml ./

# Clean up
rm -rf gsd-template

Then run /new-project and follow the prompts.

Tip

You can also use /install from a clean project to automate the installation above.


🔄 How It Works

graph LR
    A["🆕 /new-project"] --> B["📋 SPEC.md"]
    B --> C["💬 /discuss-phase"]
    C --> D["📐 /plan"]
    D --> E["⚙️ /execute"]
    E --> F["✅ /verify"]
    F --> G{"More\nphases?"}
    G -- Yes --> C
    G -- No --> H["🏁 /complete-milestone"]

    style A fill:#7B2D8E,color:#fff,stroke:none
    style B fill:#00C853,color:#fff,stroke:none
    style C fill:#2196F3,color:#fff,stroke:none
    style D fill:#FF6D00,color:#fff,stroke:none
    style E fill:#E91E63,color:#fff,stroke:none
    style F fill:#00C853,color:#fff,stroke:none
    style G fill:#FFC107,color:#000,stroke:none
    style H fill:#7B2D8E,color:#fff,stroke:none
Loading
Step Command Output
1 /new-project Deep questioning → SPEC.md (finalized)
2 /discuss-phase N Clarify scope → DECISIONS.md
3 /plan N Technical discovery → PLAN.md with XML tasks
4 /execute N Wave-based execution → Atomic commits
5 /verify N Must-haves check → Evidence captured
6 Repeat Next phase or /complete-milestone

🧩 Why It Works

📦 Context Engineering

The AI is incredibly powerful if you give it the context it needs. Most people don't. GSD handles it for you:

File Role Icon
SPEC.md Project vision, always loaded 🎯
ARCHITECTURE.md System understanding 🏗️
ROADMAP.md Where you're going, what's done 🗺️
STATE.md Decisions, blockers, memory across sessions 💾
PLAN.md Atomic tasks with XML structure 📐
SUMMARY.md What happened, what changed 📝

Size limits based on where AI quality degrades. Stay under, get consistent excellence.

🏷️ XML Prompt Formatting

Every plan is structured XML optimized for AI execution:

<task type="auto">
  <name>Create login endpoint</name>
  <files>src/app/api/auth/login/route.ts</files>
  <action>
    Use jose for JWT (not jsonwebtoken - CommonJS issues).
    Validate credentials against users table.
    Return httpOnly cookie on success.
  </action>
  <verify>curl -X POST localhost:3000/api/auth/login returns 200 + Set-Cookie</verify>
  <done>Valid credentials return cookie, invalid return 401</done>
</task>

Precise instructions. No guessing. Verification built in.

🌊 Wave-Based Execution

Plans are grouped into waves based on dependencies:

graph TD
    subgraph W1["🌊 Wave 1 — Foundation"]
        T1["Task A"] & T2["Task B"] & T3["Task C"]
    end
    subgraph W2["🌊 Wave 2 — Integration"]
        T4["Task D"] & T5["Task E"]
    end
    subgraph W3["🌊 Wave 3 — Polish"]
        T6["Task F"]
    end

    W1 --> W2 --> W3

    style W1 fill:#E3F2FD,stroke:#2196F3,color:#000
    style W2 fill:#FFF3E0,stroke:#FF6D00,color:#000
    style W3 fill:#F3E5F5,stroke:#7B2D8E,color:#000
    style T1 fill:#2196F3,color:#fff,stroke:none
    style T2 fill:#2196F3,color:#fff,stroke:none
    style T3 fill:#2196F3,color:#fff,stroke:none
    style T4 fill:#FF6D00,color:#fff,stroke:none
    style T5 fill:#FF6D00,color:#fff,stroke:none
    style T6 fill:#7B2D8E,color:#fff,stroke:none
Loading

Each executor gets fresh context. Your main session stays fast.

🔗 Atomic Git Commits

Each task gets its own commit immediately after completion:

abc123f feat(phase-1): create login endpoint
def456g feat(phase-1): add password validation
hij789k feat(phase-1): implement JWT cookie handling

Why? Git bisect finds exact failing task · Each task independently revertable · Clear history for AI in future sessions

🔬 Empirical Verification

No "trust me, it works." Every verification produces evidence:

Change Type Evidence Required
🌐 API endpoint curl output
🖥️ UI change Screenshot
🏗️ Build Command output
🧪 Tests Test results

🎮 Commands (29 Total)

Note

Slash commands are typed directly as chat messages (e.g. send /plan 1). They are not IDE autocomplete features — if your editor shows "nothing found" when pressing /, that's normal. Just type the full command and send it.

🔵 Core Workflow

Command Purpose
/map 🏗️ Analyze codebase → ARCHITECTURE.md
/plan [N] 📐 Create PLAN.md for phase N
/execute [N] ⚙️ Wave-based execution with atomic commits
/verify [N] ✅ Must-haves validation with proof
/debug [desc] 🐛 Systematic debugging (3-strike rule)

🟢 Project Setup

Command Purpose
/install 📦 Install GSD from GitHub
/new-project 🆕 Deep questioning → SPEC.md
/new-milestone 🏁 Create milestone with phases
/complete-milestone 🎉 Archive completed milestone
/audit-milestone 🔍 Review milestone quality

🟠 Phase Management

Command Purpose
/add-phase ➕ Add phase to end of roadmap
/insert-phase 📌 Insert phase (renumbers)
/remove-phase ➖ Remove phase (safety checks)
/discuss-phase 💬 Clarify scope before planning
/research-phase 🔬 Deep technical research
/list-phase-assumptions 📋 Surface planning assumptions
/plan-milestone-gaps 🔧 Create gap closure plans

🟡 Sprint

Command Purpose
/sprint new ⚡ Create a time-boxed sprint for quick focused work
/sprint status 📊 Show sprint progress
/sprint close ✅ Close sprint with retrospective

🟣 Navigation & State

Command Purpose
/progress 📊 Show current position
/pause ⏸️ Save state for session handoff
/resume ▶️ Restore from last session
/add-todo 📝 Quick capture idea
/check-todos 📋 List pending items

🔴 Utilities

Command Purpose
/help ❓ Show all available commands
/web-search 🌐 Search the web for decisions
/whats-new 📢 Show recent GSD changes
/update ⬆️ Update GSD to latest version

💡 Typical Session

/resume              # ← Load context from last session
/progress            # ← See where you left off
/discuss-phase 2     # ← Clarify requirements (optional)
/plan 2              # ← Plan next phase
/execute 2           # ← Implement with atomic commits
/verify 2            # ← Prove it works (screenshots, tests)
/pause               # ← Save state for later

Important

GSD forces planning before coding. The AI can't write code until SPEC.md says FINALIZED. This prevents building the wrong thing.


🔒 Core Rules

Rule Why It Matters
🔒 Planning Lock No code until SPEC.md is FINALIZED — prevents building wrong thing
💾 State Persistence Update STATE.md after every task — memory across sessions
🧹 Context Hygiene 3 failures → state dump → fresh session — prevents circular debugging
Empirical Validation Proof required — no "it should work"

🌍 Cross-Platform Support

All workflow files include dual syntax — both PowerShell and Bash commands.

Platform Instructions
🪟 Windows Use PowerShell blocks
🐧 Linux / Mac Use Bash blocks (may require jq)

Git commands (git add, git commit, git tag) are cross-platform and work identically everywhere.


🤖 Multi-Model Support

GSD is model-agnostic — use any LLM that works in your environment.

Canonical Rules

All rules live in PROJECT_RULES.md — the single source of truth.

Optional Adapters

Model-specific enhancements (optional, never required):

adapters/
├── CLAUDE.md     # Extended thinking, effort levels
├── GEMINI.md     # Flash vs Pro selection
└── GPT_OSS.md    # Function calling, context handling

Model Selection by Phase

Phase Recommended Why
📋 Planning Reasoning models Complex decisions
⚙️ Implementation Fast models Iteration speed
🐛 Debugging Reasoning models Hypothesis testing
🔍 Review Long-context models Full diff analysis

See model-selection-playbook.md for detailed guidance.


🔍 Search-First Mode

Principle: Search before reading files completely.

Why?

  • 🎯 Reduces context pollution
  • ⚡ Faster codebase understanding
  • 🚫 Prevents reading irrelevant code
Setup (Optional)

PowerShell:

.\scripts\setup_search.ps1          # Checks for ripgrep/fd
.\scripts\search_repo.ps1 "pattern" # Search wrapper

Bash:

./scripts/setup_search.sh           # Checks for ripgrep/fd
./scripts/search_repo.sh "pattern"  # Search wrapper

No installation required — falls back to built-in tools (Select-String / grep).

Workflow

  1. Define question — What are you looking for?
  2. Search first.\scripts\search_repo.ps1 "keyword"
  3. Evaluate results — Which files matter?
  4. Targeted read — Only read relevant sections

💰 Token Optimization

Principle: Minimize token consumption while maintaining quality.

Skills Available

Skill Purpose
📊 token-budget Track and manage token usage
🗜️ context-compressor Compress context for efficiency
🔍 context-fetch Search-first loading
🩺 context-health-monitor Detect quality degradation

Budget Thresholds

Usage Status Action
0–50% 🟢 OK Proceed normally
50–70% 🟡 Warning Compress, use outlines
70%+ 🔴 Critical State dump required

See token-optimization-guide.md for complete strategies.


📁 File Structure

📄 PROJECT_RULES.md          # ← Canonical rules (model-agnostic)
📄 GSD-STYLE.md              # Complete style guide

📂 .agent/
└── 📂 workflows/            # 27 slash commands

📂 .agents/
└── 📂 skills/               # 11 agent specializations (Agent Skills standard)

📂 .gemini/
└── 📄 GEMINI.md             # Gemini integration

📂 .gsd/
├── 📄 SPEC.md               # ← START HERE (finalize first)
├── 📄 ROADMAP.md            # Phases and progress
├── 📄 STATE.md              # Session memory
├── 📄 ARCHITECTURE.md       # System design (/map output)
├── 📄 STACK.md              # Tech inventory
├── 📄 DECISIONS.md          # Architecture Decision Records
├── 📄 JOURNAL.md            # Session log
├── 📄 TODO.md               # Quick capture
├── 📂 templates/            # Document templates
└── 📂 examples/             # Usage walkthroughs

📂 adapters/                 # Optional model-specific enhancements
├── 📄 CLAUDE.md
├── 📄 GEMINI.md
└── 📄 GPT_OSS.md

📂 docs/                     # Operational documentation
├── 📄 model-selection-playbook.md
└── 📄 runbook.md

📂 scripts/                  # Utility scripts
├── 📄 validate-*.ps1/.sh    # Structure validators
├── 📄 setup_search.ps1/.sh  # Search tool setup
└── 📄 search_repo.ps1/.sh   # Search wrapper

📄 model_capabilities.yaml   # Optional capability registry

🧪 Testing

Run validation scripts to verify GSD structure:

🪟 PowerShell
.\scripts\validate-all.ps1        # Run all validators
.\scripts\validate-workflows.ps1  # Workflows only
.\scripts\validate-skills.ps1     # Skills only
🐧 Bash
./scripts/validate-all.sh         # Run all validators
./scripts/validate-workflows.sh   # Workflows only
./scripts/validate-skills.sh      # Skills only

📚 Documentation

Resource Description
PROJECT_RULES.md Canonical model-agnostic rules
GSD-STYLE.md Complete style and conventions guide
Model Selection Playbook Model selection guidance
Runbook Operational procedures
Token Optimization Guide Token efficiency strategies
Examples Usage walkthroughs and quick reference
Templates Document templates for plans, verification

🧠 Philosophy

🎯Plan before buildingSPEC.md matters more than you think
🧹Fresh context > polluted context — State dumps prevent hallucinations
🔬Proof over trust — Screenshots and command outputs, not "looks right"
⚛️Aggressive atomicity — 2–3 tasks per plan, atomic commits
🔍Search before reading — Don't load files blindly
💰Token-efficient — Every token counts
🤖Model-agnostic — Works with any capable LLM
🚫No enterprise theater — Solo dev + AI workflow only

Adapted from glittercowboy/get-shit-done for Google Antigravity


GitHub

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors