English | 繁體中文
An Antigravity plugin for Google Antigravity (AGY), providing a complete automated Git Flow pipeline.
Comprehensive support across the three core platforms of Google Antigravity: Antigravity Command-Line Interface (CLI) (agy), Antigravity Integrated Development Environment (IDE), and Antigravity 2.0 Desktop Application.
This plugin automatically produces precise Git commits following the Conventional Commits v1.0.0 specification, orchestrating branch merging, Pull Request (PR) publication, bilingual GitHub Release notes, and automated bilingual documentation generation.
Install the plugin globally using the Antigravity Command-Line Interface (CLI):
agy plugin install https://github.com/AndyAWD/antigravity-git-flow- Seamless Cross-Platform Compatibility: Fully compatible with Antigravity CLI terminal, IDE sidebar chat, and Antigravity 2.0 Chat Canvas.
- Auto Navigation & Flow Progression: Designed for developers of all skill levels, AI automatically analyzes project state and advances to the next logical Git Flow step.
- Strict Conventional Commits Compliance: Built-in prompt rules ensure consistent
<type>[scope]: <description>structure and eliminate model hallucinations. - Multi-Task Auto Splitting: Automatically splits unrelated working tree changes into separate logical commits.
- Standardized Bilingual Documentation & Releases: Integrated multi-language PR templates, bilingual GitHub Release changelogs, and automated README generation.
- Dedicated Co-Author Attribution: Every automated commit includes Google Antigravity co-author attribution.
• List installed plugins:
agy plugin list• Enable this plugin:
agy plugin enable antigravity-git-flow• Disable this plugin:
agy plugin disable antigravity-git-flow• Uninstall this plugin:
agy plugin uninstall antigravity-git-flowantigravity-git-flow/
├── .github/
│ └── PULL_REQUEST_TEMPLATE.md
├── plugin.json
├── package.json
├── LICENSE
├── README.md
├── README.zh-TW.md
├── templates/
│ ├── README.template.md
│ ├── README.zh-TW.template.md
│ ├── RELEASE.template.md
│ ├── PULL_REQUEST_TEMPLATE.md
│ ├── PULL_REQUEST_TEMPLATE.en.md
│ └── PULL_REQUEST_TEMPLATE.bilingual.md
└── skills/
├── auto-next/
├── commit/
├── fetch/
├── github-pr/
├── github-release/
├── init/
├── merge/
├── pull/
├── push/
├── release/
├── sync-readme/
└── tag/
Once installed, trigger capabilities using natural language prompts or dedicated slash commands:
/agy-git-flow:auto-next
- When to Use: When unsure of the next step, or wishing to automate the Git Flow progression.
- How It Works:
- Executes background remote fetch and safely fast-forwards non-current local branches.
- Verifies VCS initialization; runs init if not already set up.
- Checks working tree changes and automatically commits and pushes.
- Automatically advances merge, tag, or release based on current branch context.
/agy-git-flow:commit
- When to Use: When changes are ready to be committed to version history.
- How It Works:
- Stages changes and analyzes diffs.
- Splits multi-task changes into discrete logical commits.
- Generates Conventional Commit messages with Google Antigravity co-author trailer.
/agy-git-flow:merge
- When to Use: When a feature, release, or hotfix branch is ready to merge.
- How It Works:
- Determines target branch by branch type (merging to develop with
--no-ff). - Resolves merge conflicts automatically when possible.
- Prompts whether to delete source branch upon completion.
- Determines target branch by branch type (merging to develop with
/agy-git-flow:github-pr
- When to Use: When opening a code review from release/* or hotfix/* to main.
- How It Works:
- Validates current branch is release/* or hotfix/* and synchronizes with remote.
- Interactively asks for preferred PR language via
ask_question(Traditional Chinese, English, or Bilingual). - Analyzes commit diffs to extract purpose, summary, change type, and affected components (no emojis).
- Reviews PR and publishes via GitHub CLI (
gh pr create).
/agy-git-flow:push
- When to Use: When pushing local commits and tags to remote repository.
- How It Works:
- Runs fetch first to inspect remote state.
- Executes
git push -u origin HEAD --follow-tagsafter confirming branch is up to date.
/agy-git-flow:fetch
- When to Use: When fetching latest remote refs and fast-forwarding non-current local branches.
- How It Works:
- Runs
git fetch --all --prune --tagsto download remote objects. - Safely fast-forwards all non-current local branches.
- Skips diverged branches without affecting current workspace.
- Runs
/agy-git-flow:pull
- When to Use: When synchronizing remote commits into current working branch.
- How It Works:
- Mandates preliminary fetch for global state synchronization.
- Performs safe fast-forward pull (
git pull --ff-only). - Provides
ask_questioninteractive troubleshooting menu if dirty or diverged.
/agy-git-flow:release [vX.Y.Z]
- When to Use: When development cycle ends and release testing phase begins.
- How It Works:
- Calculates SemVer version bump from unreleased commits.
- Creates and checks out
release/<version>branch. - Automatically updates version strings in
package.json,build.gradle, etc.
/agy-git-flow:github-release
- When to Use: When cutting a new formal GitHub release.
- How It Works:
- Confirms version tag and retrieves commits since previous tag.
- Categorizes changes by commit type and produces bilingual changelog (no emojis) with compare link.
- Reviews and publishes via GitHub CLI (
gh release create).
/agy-git-flow:tag [vX.Y.Z]
- When to Use: When tagging a released commit on main branch.
- How It Works:
- Restricts operation to main or master branch.
- Derives version number from SemVer rules.
- Creates
vX.Y.Zannotated tag and guides remote push.
/agy-git-flow:init
- When to Use: When scaffolding Git Flow branch structure for a new repository.
- How It Works:
- Initializes git repository if needed.
- Creates initial commit.
- Sets up dual-branch main and develop structure.
/agy-git-flow:sync-readme
- When to Use: When creating, updating, or refactoring bilingual README files.
- How It Works:
- Inspects workspace structure, manifests, and
skills/directory. - Automatically identifies execution mode (Create, Update, or Refactor).
- Synchronizes symmetric
README.md(English) andREADME.zh-TW.md(Traditional Chinese) adhering to standard specifications.
- Inspects workspace structure, manifests, and
This project is licensed under the MIT License. See the LICENSE file for details.