Skip to content

feat(agy): enhance Google Antigravity CLI integration#2689

Open
darion-yaphet wants to merge 1 commit into
github:mainfrom
darion-yaphet:feat/agy-enhancement
Open

feat(agy): enhance Google Antigravity CLI integration#2689
darion-yaphet wants to merge 1 commit into
github:mainfrom
darion-yaphet:feat/agy-enhancement

Conversation

@darion-yaphet
Copy link
Copy Markdown
Contributor

Summary

  • Set requires_cli=True and install_url="https://antigravity.google/" so spec-kit detects and links the agy CLI correctly
  • Implement build_exec_args() for non-interactive execution via agy --print "<prompt>"
  • Add dot-to-hyphen hook command note injection in generated SKILL.md files, aligning agy with the codex integration pattern

Test Plan

  • Run uv run pytest tests/integrations/test_integration_agy.py -v — 38 tests pass
  • Run uv run pytest tests/ -q — full suite (2974 tests) passes
  • Run uvx ruff check src — no lint issues
  • Verify specify init <project> --integration agy installs skills to .agents/skills/ with dot-to-hyphen note in SKILL.md files containing hooks

@darion-yaphet darion-yaphet requested a review from mnriem as a code owner May 23, 2026 12:31
@darion-yaphet darion-yaphet force-pushed the feat/agy-enhancement branch from 2012aa6 to 8665f56 Compare May 23, 2026 12:33
- Set requires_cli=True and install_url for CLI tool detection
- Implement build_exec_args() for non-interactive execution via agy --print
- Add dot-to-hyphen hook command note injection in generated SKILL.md files
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the agy (Google Antigravity) integration so spec-kit can better detect/install the required CLI, dispatch commands non-interactively, and align generated SKILL.md hook guidance with the existing Codex pattern.

Changes:

  • Mark agy as a CLI-based integration (requires_cli=True) and provide an install_url for user guidance.
  • Implement build_exec_args() to support non-interactive CLI dispatch via agy --print <prompt>.
  • Inject a dot-to-hyphen normalization note into generated SKILL.md hook sections and add targeted tests for the new behaviors.
Show a summary per file
File Description
tests/integrations/test_integration_agy.py Adds/updates tests for requires_cli, install_url, build_exec_args(), and SKILL.md hook-note injection behavior.
src/specify_cli/integrations/agy/init.py Updates integration metadata, adds build_exec_args(), and post-processes generated SKILL.md files to inject the hook command normalization note.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants