-
Notifications
You must be signed in to change notification settings - Fork 5k
feat: Add Antigravity agent support #1368
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
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9,7 +9,7 @@ Mirrors the behavior of scripts/bash/update-agent-context.sh: | |||||
| 2. Plan Data Extraction | ||||||
| 3. Agent File Management (create from template or update existing) | ||||||
| 4. Content Generation (technology stack, recent changes, timestamp) | ||||||
| 5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, bob, qoder) | ||||||
| 5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, antigravity, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, bob, qoder) | ||||||
|
|
||||||
| .PARAMETER AgentType | ||||||
| Optional agent key to update a single agent. If omitted, updates all existing agent files (creating a default Claude file if none exist). | ||||||
|
|
@@ -25,7 +25,7 @@ Relies on common helper functions in common.ps1 | |||||
| #> | ||||||
| param( | ||||||
| [Parameter(Position=0)] | ||||||
| [ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','q','bob','qoder')] | ||||||
| [ValidateSet('claude','gemini','copilot','cursor-agent','antigravity','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','q','bob','qoder')] | ||||||
| [string]$AgentType | ||||||
| ) | ||||||
|
|
||||||
|
|
@@ -48,6 +48,7 @@ $CLAUDE_FILE = Join-Path $REPO_ROOT 'CLAUDE.md' | |||||
| $GEMINI_FILE = Join-Path $REPO_ROOT 'GEMINI.md' | ||||||
| $COPILOT_FILE = Join-Path $REPO_ROOT '.github/agents/copilot-instructions.md' | ||||||
| $CURSOR_FILE = Join-Path $REPO_ROOT '.cursor/rules/specify-rules.mdc' | ||||||
| $ANTIGRAVITY_FILE = Join-Path $REPO_ROOT '.agent/rules/specify-rules.md' | ||||||
|
||||||
| $ANTIGRAVITY_FILE = Join-Path $REPO_ROOT '.agent/rules/specify-rules.md' | |
| $ANTIGRAVITY_FILE = Join-Path $REPO_ROOT '.agent/workflows/specify-rules.md' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion, but the paths are intentionally different and serve different purposes:
- .agent/workflows/ (in AGENTS.md and release scripts) → Where spec-kit command files are generated (e.g., speckit.plan.md, speckit.spec.md)
- .agent/rules/ (in update-agent-context scripts) → Where the agent context/rules file (specify-rules.md) is stored
This is consistent with other IDE-based agents like Windsurf:
- Commands go to .windsurf/workflows/
- Rules go to .windsurf/rules/specify-rules.md
The AGENTS.md table documents where command files are stored, while the update-agent-context scripts manage per-project agent rules/instructions files. These are two distinct concepts with different file locations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The directory path for Antigravity is inconsistent across files. In AGENTS.md and the release package scripts, it's documented as
.agent/workflows/, but in the update-agent-context scripts (both bash and PowerShell), it's implemented as.agent/rules/specify-rules.md. These need to be aligned. Based on the pattern of similar IDE-based agents like Windsurf which uses.windsurf/workflows/, the.agent/workflows/path appears to be the correct choice.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion, but the paths are intentionally different and serve different purposes:
This is consistent with other IDE-based agents like Windsurf:
The AGENTS.md table documents where command files are stored, while the update-agent-context scripts manage per-project agent rules/instructions files. These are two distinct concepts with different file locations.