gemini-superpowers-antigravity  by anthonylee991

AI coding framework for structured development

Created 1 week ago

New!

412 stars

Top 71.1% on SourcePulse

GitHubView on GitHub
Project Summary

Gemini Superpowers for Antigravity provides a structured workflow framework designed to enhance AI-assisted code generation within Google Antigravity. It targets developers seeking to improve code quality and development efficiency by preventing premature coding and guiding users through a systematic process of brainstorming, planning, execution, and review. The primary benefit is a more robust and predictable AI coding experience, akin to "guardrails for AI coding."

How It Works

This framework implements a multi-stage workflow initiated via Antigravity slash commands. It begins with optional brainstorming to clarify requirements, followed by a detailed, step-by-step plan generation that requires user approval before execution. The core execution phase builds code incrementally, verifying each step. A key innovation is the optional parallel execution mode (/superpowers-execute-plan-parallel), which can significantly accelerate development by running independent plan steps concurrently using multiple sub-agents. This approach enforces best practices like test-driven development (TDD) and systematic debugging through integrated skills and predefined rules.

Quick Start & Requirements

  • Primary Install/Run: No direct installation for the framework itself; it's integrated into a project by copying the .agent folder.
  • Prerequisites:
    • Google Antigravity (must be installed and functional).
    • Python 3.10 or newer.
    • Optional for parallel execution: Gemini CLI (npm install -g @google/gemini-cli).
  • Setup: For a new project, copy the .agent folder into the project directory, initialize Git, and open Antigravity in that folder. For testing the demo, clone the repository, set up a Python virtual environment, install dependencies (fastapi, uvicorn, httpx, pytest), and run pytest.
  • Verification: Use the /superpowers-reload command within Antigravity.

Highlighted Details

  • Structured Workflows: Includes commands like /superpowers-brainstorm, /superpowers-write-plan, /superpowers-execute-plan, and /superpowers-execute-plan-parallel.
  • Integrated Skills: Supports Test-Driven Development (TDD), systematic debugging, code review, and REST/Python automation.
  • Enforced Rules: Mandates planning before coding, user approval for plans, step verification, and saving outputs to disk.
  • Parallel Execution: Leverages the Gemini CLI to run independent development tasks concurrently, potentially reducing execution time by up to 60%.

Maintenance & Community

The project welcomes contributions via pull requests, with suggestions for improvements including more language-specific skills, additional workflows, enhanced parallel execution logic, and more end-to-end demos. Specific community links (Discord, Slack) or maintainer details are not provided in the README.

Licensing & Compatibility

The project is released under the MIT License, which is permissive and generally suitable for commercial use and integration into closed-source projects.

Limitations & Caveats

Parallel execution is dependent on the Gemini CLI, which may require separate installation and PATH configuration. As with all AI-driven development tools, the effectiveness of the generated code relies on the quality of prompts and the AI's current capabilities, necessitating human oversight and review.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
2
Star History
421 stars in the last 9 days

Explore Similar Projects

Feedback? Help us improve.