-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat: Add Antigravity IDE integration #192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
9be9566
437eecd
a6186fb
016f30c
26c12be
1f68854
2cf325e
c904952
d98437d
0fc4b64
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| # Installing Superpowers for Antigravity IDE | ||
|
|
||
| Antigravity IDE has native Skills support. Follow these steps to install superpowers skills. | ||
|
|
||
| ## Installation | ||
|
|
||
| ### 1. Clone the repository | ||
|
|
||
| **Linux/macOS:** | ||
| ```bash | ||
| git clone https://github.com/obra/superpowers.git ~/.gemini/antigravity/superpowers | ||
| ``` | ||
|
|
||
| **Windows:** | ||
| ```powershell | ||
| git clone https://github.com/obra/superpowers.git "$env:USERPROFILE\.gemini\antigravity\superpowers" | ||
| ``` | ||
|
|
||
| ### 2. Copy skills to your project | ||
|
|
||
| Copy the skills folder to your workspace's `.agent/skills` directory: | ||
|
|
||
| **Linux/macOS:** | ||
| ```bash | ||
| mkdir -p .agent | ||
| cp -r ~/.gemini/antigravity/superpowers/skills .agent/skills | ||
| ``` | ||
|
|
||
| **Windows:** | ||
| ```powershell | ||
| New-Item -ItemType Directory -Force -Path ".agent" | ||
| Copy-Item -Recurse "$env:USERPROFILE\.gemini\antigravity\superpowers\skills" ".agent\skills" | ||
| ``` | ||
|
|
||
| ### 3. Configure Global Rules | ||
|
|
||
| Add the following content to your `~/.gemini/GEMINI.md` (Linux/macOS) or `$env:USERPROFILE\.gemini\GEMINI.md` (Windows) file: | ||
|
|
||
| ```markdown | ||
| ## Superpowers System | ||
|
|
||
| <EXTREMELY_IMPORTANT> | ||
| You have superpowers. Superpowers teach you new skills and capabilities. | ||
| **RIGHT NOW** use: **using-superpowers** skill and follow the instructions it returns!!! | ||
| </EXTREMELY_IMPORTANT> | ||
| ``` | ||
|
|
||
| ### 4. Verify installation | ||
|
|
||
| **Linux/macOS:** | ||
| ```bash | ||
| ls .agent/skills/ | ||
| ``` | ||
|
|
||
| **Windows:** | ||
| ```powershell | ||
| Get-ChildItem ".agent\skills" | ||
| ``` | ||
|
|
||
| You should see skill folders like `brainstorming`, `writing-plans`, `test-driven-development`, etc. | ||
|
|
||
| ## Done! | ||
|
|
||
| Skills are now available in Antigravity IDE. They activate automatically based on context. | ||
|
|
||
| ## Updating | ||
|
|
||
| To update skills, pull the latest changes and copy again: | ||
|
|
||
| ```bash | ||
| cd ~/.gemini/antigravity/superpowers && git pull | ||
| ``` | ||
|
|
||
| Then re-copy the skills folder to your project. | ||
|
|
||
| --- | ||
|
|
||
| ## Global Installation (Alternative) | ||
|
|
||
| If you prefer to install skills globally (available across all projects): | ||
|
|
||
| **Linux/macOS:** | ||
| ```bash | ||
| cp -r ~/.gemini/antigravity/superpowers/skills ~/.gemini/antigravity/skills | ||
| ``` | ||
|
|
||
| **Windows:** | ||
| ```powershell | ||
| Copy-Item -Recurse "$env:USERPROFILE\.gemini\antigravity\superpowers\skills" "$env:USERPROFILE\.gemini\antigravity\skills" | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## Personal Skills | ||
|
|
||
| To add personal skills alongside superpowers, create new skill folders in `.agent/skills/`: | ||
|
|
||
| ```bash | ||
| mkdir -p .agent/skills/my-skill | ||
| ``` | ||
|
|
||
| Create `.agent/skills/my-skill/SKILL.md`: | ||
|
|
||
| ```markdown | ||
| --- | ||
| name: my-skill | ||
| description: Use when [condition] - [what it does] | ||
| --- | ||
|
|
||
| # My Skill | ||
|
|
||
| [Your skill content here] | ||
| ``` |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,128 @@ | ||||||||||
| # Superpowers for Antigravity IDE | ||||||||||
|
|
||||||||||
| Complete guide for using Superpowers with Antigravity IDE. | ||||||||||
|
|
||||||||||
| ## Quick Install | ||||||||||
|
|
||||||||||
| Tell Antigravity: | ||||||||||
|
|
||||||||||
| ``` | ||||||||||
| Fetch and follow instructions from https://raw.githubusercontent.com/obra/superpowers/refs/heads/main/.antigravity/INSTALL.md | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| ## Manual Installation | ||||||||||
|
|
||||||||||
| ### Prerequisites | ||||||||||
|
|
||||||||||
| - Antigravity IDE installed | ||||||||||
| - Git installed | ||||||||||
|
|
||||||||||
| ### Installation Steps | ||||||||||
|
|
||||||||||
| #### 1. Clone Superpowers | ||||||||||
|
|
||||||||||
| **Linux/macOS:** | ||||||||||
| ```bash | ||||||||||
| git clone https://github.com/obra/superpowers.git ~/.gemini/antigravity/superpowers | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| **Windows (PowerShell):** | ||||||||||
| ```powershell | ||||||||||
| git clone https://github.com/obra/superpowers.git "$env:USERPROFILE\.gemini\antigravity\superpowers" | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| #### 2. Copy Skills | ||||||||||
|
|
||||||||||
| Copy the skills folder to your workspace: | ||||||||||
|
|
||||||||||
| **Linux/macOS:** | ||||||||||
| ```bash | ||||||||||
| mkdir -p .agent | ||||||||||
| cp -r ~/.gemini/antigravity/superpowers/skills .agent/skills | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| **Windows:** | ||||||||||
| ```powershell | ||||||||||
| New-Item -ItemType Directory -Force -Path ".agent" | ||||||||||
| Copy-Item -Recurse "$env:USERPROFILE\.gemini\antigravity\superpowers\skills" ".agent\skills" | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| #### 3. Configure Global Rules | ||||||||||
|
|
||||||||||
| Add the following content to your `~/.gemini/GEMINI.md` (Linux/macOS) or `$env:USERPROFILE\.gemini\GEMINI.md` (Windows) file: | ||||||||||
|
|
||||||||||
| ```markdown | ||||||||||
| ## Superpowers System | ||||||||||
|
|
||||||||||
| <EXTREMELY_IMPORTANT> | ||||||||||
| You have superpowers. Superpowers teach you new skills and capabilities. | ||||||||||
| **RIGHT NOW** use: **using-superpowers** skill and follow the instructions it returns!!! | ||||||||||
| </EXTREMELY_IMPORTANT> | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| #### 4. Verify Installation | ||||||||||
|
|
||||||||||
| In Antigravity, ask: "What skills are available?" | ||||||||||
|
|
||||||||||
| You should see superpowers skills listed. | ||||||||||
|
|
||||||||||
| ## Usage | ||||||||||
|
|
||||||||||
| Skills activate automatically based on context. For example: | ||||||||||
|
|
||||||||||
| - Say "I want to build a new feature" → `brainstorming` skill activates | ||||||||||
| - Say "I need to debug this issue" → `systematic-debugging` skill activates | ||||||||||
| - Say "Let's implement this" → `test-driven-development` skill activates | ||||||||||
|
|
||||||||||
| --- | ||||||||||
|
|
||||||||||
| ## Global Installation (Alternative) | ||||||||||
|
|
||||||||||
| If you prefer to install skills globally (available across all projects): | ||||||||||
|
|
||||||||||
| **Linux/macOS:** | ||||||||||
| ```bash | ||||||||||
| cp -r ~/.gemini/antigravity/superpowers/skills ~/.gemini/antigravity/skills | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| **Windows:** | ||||||||||
| ```powershell | ||||||||||
| Copy-Item -Recurse "$env:USERPROFILE\.gemini\antigravity\superpowers\skills" "$env:USERPROFILE\.gemini\antigravity\skills" | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| --- | ||||||||||
|
|
||||||||||
| ## Personal Skills | ||||||||||
|
|
||||||||||
| To add personal skills, create new skill folders in `.agent/skills/`: | ||||||||||
|
|
||||||||||
| ```bash | ||||||||||
| mkdir -p .agent/skills/my-skill | ||||||||||
| ``` | ||||||||||
|
Comment on lines
99
to
101
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Provide Windows equivalents for personal skills setup. The Personal Skills section only includes bash commands, but earlier sections consistently provided both Linux/macOS and Windows instructions. This inconsistency prevents Windows users from following the personal skills setup. 📝 Suggested fix to add Windows commands To add personal skills alongside superpowers:
+**Linux/macOS:**
```bash
# Remove the symlink and create a directory
rm .agent/skills
mkdir -p .agent/skills
# Link superpowers as a subdirectory
ln -sf ~/.gemini/antigravity/superpowers/skills .agent/skills/superpowers
# Add personal skills
mkdir -p .agent/skills/my-skill+Windows (PowerShell as Administrator): Create In |
||||||||||
|
|
||||||||||
| Create `.agent/skills/my-skill/SKILL.md`: | ||||||||||
|
|
||||||||||
| ```markdown | ||||||||||
| --- | ||||||||||
| name: my-skill | ||||||||||
| description: Use when [condition] - [what it does] | ||||||||||
| --- | ||||||||||
|
|
||||||||||
| # My Skill | ||||||||||
|
|
||||||||||
| [Your skill content here] | ||||||||||
| ``` | ||||||||||
|
|
||||||||||
| ## Updating | ||||||||||
|
|
||||||||||
| ```bash | ||||||||||
| cd ~/.gemini/antigravity/superpowers | ||||||||||
| git pull | ||||||||||
| ``` | ||||||||||
|
Comment on lines
+118
to
+121
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Provide Windows equivalents for update commands. The Updating section only provides bash commands, inconsistent with the platform-specific approach used throughout the rest of the documentation. Windows users need equivalent PowerShell commands. 📝 Suggested fix to add Windows commands ## Updating
+**Linux/macOS:**
```bash
cd ~/.gemini/antigravity/superpowers
git pull+Windows (PowerShell): Symlinks automatically reflect the latest changes. 🤖 Prompt for AI Agents |
||||||||||
|
|
||||||||||
| Then re-copy the skills folder to your project. | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Provide complete re-copy commands after update. Line 110 instructs users to "re-copy the skills folder" but doesn't show how. This leaves users without clear next steps after pulling updates. 📝 Suggested fix to add platform-specific copy commands-Then re-copy the skills folder to your project.
+Then re-copy the skills folder to your project:
+
+**Linux/macOS:**
+```bash
+cp -r ~/.gemini/antigravity/superpowers/skills .agent/skills
+```
+
+**Windows (PowerShell):**
+```powershell
+Copy-Item -Recurse -Force "$env:USERPROFILE\.gemini\antigravity\superpowers\skills" ".agent\skills"
+```📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
|
|
||||||||||
| ## Getting Help | ||||||||||
|
|
||||||||||
| - Report issues: https://github.com/obra/superpowers/issues | ||||||||||
| - Main documentation: https://github.com/obra/superpowers | ||||||||||
|
Comment on lines
+127
to
+128
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use proper markdown link syntax for URLs. Bare URLs should be formatted with markdown link syntax for better accessibility and rendering. 📝 Suggested fix ## Getting Help
-- Report issues: https://github.com/obra/superpowers/issues
-- Main documentation: https://github.com/obra/superpowers
+- [Report issues](https://github.com/obra/superpowers/issues)
+- [Main documentation](https://github.com/obra/superpowers)🧰 Tools🪛 markdownlint-cli2 (0.18.1)114-114: Bare URL used (MD034, no-bare-urls) 115-115: Bare URL used (MD034, no-bare-urls) 🤖 Prompt for AI Agents |
||||||||||
Uh oh!
There was an error while loading. Please reload this page.