superpowers-tdd
π―Skillfrom anthonylee991/gemini-superpowers-antigravity
Guides AI through test-driven development by requiring tests to be written before implementation, ensuring code is verified and validated at each development stage.
Installation
npx skills add https://github.com/anthonylee991/gemini-superpowers-antigravity --skill superpowers-tddSkill Details
Overview
# Gemini Superpowers for Antigravity
A systematic workflow framework for Google Antigravity that helps you build better code through structured planning, test-driven development, and optional parallel execution.
Think of it as "guardrails for AI coding" - it prevents you from diving straight into code and instead guides you through brainstorming β planning β building β reviewing.
> Inspired by: [Claude Superpowers](https://github.com/obra/superpowers)
> Adapted for: Google Antigravity with native workflows and skills
---
π― What This Does
Instead of this chaotic workflow:
```
You: "Build me a CLI tool"
AI: immediately starts writing code
You: realizes halfway through it's not what you wanted
```
You get this structured approach:
```
You: "Build me a CLI tool"
β Brainstorm: AI asks clarifying questions
β Plan: AI writes a step-by-step plan with verification
β You approve the plan
β Execute: AI builds it step-by-step with tests
β Review: AI checks for issues
β Finish: Everything documented and working
```
Bonus: If your plan has independent steps (like "add 3 separate features"), the AI can work on them in parallel to save time!
---
β¨ What's Included
Workflows (Slash Commands)
These are commands you type in Antigravity:
/superpowers-brainstorm- Explore ideas and ask questions before planning/superpowers-write-plan- Create a detailed plan (no code yet!)/superpowers-execute-plan- Build the code step-by-step/superpowers-execute-plan-parallel- Build independent steps in parallel (faster!)/superpowers-review- Check code quality/superpowers-debug- Systematic debugging/superpowers-finish- Final summary and documentation
Skills (Building Blocks)
These teach the AI how to work:
- TDD - Test-driven development (write tests first)
- Debug - Systematic problem solving
- Review - Code quality checks
- REST/Python Automation - Best practices for specific tasks
Rules (Guardrails)
Automatic enforcement of good practices:
- β Must write a plan before coding
- β Must get approval before implementing
- β Must verify each step works
- β Must save outputs to disk (not just chat)
---
π Getting Started (Step-by-Step)
Step 1: Check What You Have Installed
Before starting, make sure you have these tools:
#### β Required (You must have these):
Google Antigravity
- How to check: Open Antigravity (if it opens, you have it!)
- Don't have it? [Install Antigravity](https://antigravity.google)
Python 3.10 or newer
- How to check:
```bash
python --version
```
- Should show:
Python 3.10.xor higher - Don't have it? [Download Python](https://www.python.org/downloads/)
#### π¨ Optional (Only needed for parallel execution):
Gemini CLI (makes things faster but not required)
- How to check:
```bash
gemini --version
```
- If it says "command not found", you don't have it
- To install:
```bash
npm install -g @google/gemini-cli
```
Windows users: After installing, verify it works:
```powershell
gemini --version
```
If you see a version number, you're good! If not, see [Troubleshooting](#troubleshooting) below.
---
Step 2: Set Up This Framework in Your Project
You have two options:
#### Option A: Start a New Project (Recommended for First-Time Users)
- Create a new folder for your project:
Windows (PowerShell):
```powershell
mkdir my-awesome-project
cd my-awesome-project
```
Mac/Linux:
```bash
mkdir my-awesome-project
cd my-awesome-project
```
- Copy the
.agentfolder from this repo into your project:
Windows (PowerShell):
```powershell
# Replace the path with where you downloaded this repo
Copy-Item -Recurse C:\path\to\gemini-superpowers-antigravity\.agent .
```
Mac/Linux:
```bash
# Replace the path with where you cloned this repo
cp -r /path/to/gemini-superpowers-antigravity/.agent .
```
- *
More from this repository2
Generates a comprehensive, step-by-step project plan with verification points before any actual coding begins, ensuring structured and thoughtful development workflow.
Systematically reviews code quality, checking for potential issues, best practices, and improvement opportunities during the development process.