Skip to content

Add native Antigravity CLI plugin packaging#22

Merged
nehal-a2z merged 1 commit into
mainfrom
nehal/antigravity-cli-plugin
Jul 20, 2026
Merged

Add native Antigravity CLI plugin packaging#22
nehal-a2z merged 1 commit into
mainfrom
nehal/antigravity-cli-plugin

Conversation

@nehal-a2z

@nehal-a2z nehal-a2z commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • Add the repository-root plugin.json manifest required by Antigravity CLI.
  • Document direct installation with agy plugin install https://github.com/coderabbitai/skills and verification with agy plugin list.
  • Correct Antigravity's workspace and global skill paths, and record the native distribution channel in the changelog and maintainer inventory.

Before → After

Before: the repository was available through generic skill installers but had no native Antigravity plugin manifest, and its Antigravity paths were stale.

After: Antigravity CLI can install the repository as a native plugin and discover its two skills, code-review subagent, and review command.

Validation

  • Antigravity CLI 1.1.4: agy plugin validate .
    • 2 skills processed
    • 1 agent processed
    • 1 command processed and converted to a skill
  • git diff --check

Related

Summary by CodeRabbit

  • New Features

    • Added native Antigravity CLI plugin packaging and GitHub installation support.
    • Added setup guidance for installing, listing, and using the plugin through the Antigravity CLI.
    • Documented the plugin’s included skills, review command, and code-review subagent.
  • Documentation

    • Updated supported installation paths, plugin components, resources, and distribution-channel records.
    • Added maintenance guidance for validating the plugin manifest when packaging requirements change.

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 0b287233-1934-4c73-8ef1-bb2860d85704

📥 Commits

Reviewing files that changed from the base of the PR and between 2fd091d and c49c4b3.

⛔ Files ignored due to path filters (1)
  • plugin.json is excluded by !**/*.json
📒 Files selected for processing (3)
  • CHANGELOG.md
  • DISTRIBUTION_CHANNELS.md
  • README.md
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • coderabbitai/bitbucket (manual)
📜 Recent review details
⚠️ CI failures not shown inline (2)

GitHub Actions: Required approver / verify: Add native Antigravity CLI plugin packaging

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1m�[0m
 �[36;1mowner="${REPOSITORY%%/*}"�[0m
 �[36;1mrepo="${REPOSITORY#*/}"�[0m
 �[36;1m�[0m
 �[36;1mresponse="$(�[0m
 �[36;1m  gh api graphql \�[0m
 �[36;1m    -f owner="$owner" \�[0m
 �[36;1m    -f repo="$repo" \�[0m
 �[36;1m    -F number="$PR_NUMBER" \�[0m
 �[36;1m    -f query='�[0m
 �[36;1m      query($owner: String!, $repo: String!, $number: Int!) {�[0m
 �[36;1m        repository(owner: $owner, name: $repo) {�[0m
 �[36;1m          pullRequest(number: $number) {�[0m
 �[36;1m            isDraft�[0m
 �[36;1m            reviews(last: 100) {�[0m
 �[36;1m              nodes {�[0m
 �[36;1m                author {�[0m
 �[36;1m                  login�[0m
 �[36;1m                }�[0m
 �[36;1m                commit {�[0m
 �[36;1m                  oid�[0m
 �[36;1m                }�[0m
 �[36;1m                state�[0m
 �[36;1m                submittedAt�[0m
 �[36;1m              }�[0m
 �[36;1m            }�[0m
 �[36;1m          }�[0m
 �[36;1m        }�[0m
 �[36;1m      }�[0m
 �[36;1m    '�[0m
 �[36;1m)"�[0m
 �[36;1m�[0m
 �[36;1mis_draft="$(jq -r '.data.repository.pullRequest.isDraft' <<<"$response")"�[0m
 �[36;1mif [[ "$is_draft" == "true" ]]; then�[0m
 �[36;1m  echo "Draft PRs cannot merge; approver gate will run when ready for review."�[0m
 �[36;1m  exit 0�[0m
 �[36;1mfi�[0m
 �[36;1m�[0m
 �[36;1mapproved_by="$(�[0m
 �[36;1m  jq -r \�[0m
 �[36;1m    --arg head "$HEAD_SHA" \�[0m
 �[36;1m    --argjson approvers "$(jq -Rc 'split(",")' <<<"$REQUIRED_APPROVERS")" \�[0m
 �[36;1m    '�[0m
 �[36;1m      .data.repository.pullRequest.reviews.nodes�[0m
 �[36;1m      | map(select((.author.login // "") as $login | $approvers | index($login)))�[0m
 �[36;1m      | sort_by(.author.login)�[0m
 �[36;1m      | group_by(.author.login)�[0m
 �[36;1m      | map(max_by(.submittedAt))�[0m
 �[36;1m      | map(select(.state == "APPROVED" and .commit.oid == $head))�[0m
 �[36;1m      | first.author.login // empty�[0m
 �[36;1m    ...

GitHub Actions: Required approver / 0_verify.txt: Add native Antigravity CLI plugin packaging

Conclusion: failure

View job details

##[group]Run set -euo pipefail
 �[36;1mset -euo pipefail�[0m
 �[36;1m�[0m
 �[36;1mowner="${REPOSITORY%%/*}"�[0m
 �[36;1mrepo="${REPOSITORY#*/}"�[0m
 �[36;1m�[0m
 �[36;1mresponse="$(�[0m
 �[36;1m  gh api graphql \�[0m
 �[36;1m    -f owner="$owner" \�[0m
 �[36;1m    -f repo="$repo" \�[0m
 �[36;1m    -F number="$PR_NUMBER" \�[0m
 �[36;1m    -f query='�[0m
 �[36;1m      query($owner: String!, $repo: String!, $number: Int!) {�[0m
 �[36;1m        repository(owner: $owner, name: $repo) {�[0m
 �[36;1m          pullRequest(number: $number) {�[0m
 �[36;1m            isDraft�[0m
 �[36;1m            reviews(last: 100) {�[0m
 �[36;1m              nodes {�[0m
 �[36;1m                author {�[0m
 �[36;1m                  login�[0m
 �[36;1m                }�[0m
 �[36;1m                commit {�[0m
 �[36;1m                  oid�[0m
 �[36;1m                }�[0m
 �[36;1m                state�[0m
 �[36;1m                submittedAt�[0m
 �[36;1m              }�[0m
 �[36;1m            }�[0m
 �[36;1m          }�[0m
 �[36;1m        }�[0m
 �[36;1m      }�[0m
 �[36;1m    '�[0m
 �[36;1m)"�[0m
 �[36;1m�[0m
 �[36;1mis_draft="$(jq -r '.data.repository.pullRequest.isDraft' <<<"$response")"�[0m
 �[36;1mif [[ "$is_draft" == "true" ]]; then�[0m
 �[36;1m  echo "Draft PRs cannot merge; approver gate will run when ready for review."�[0m
 �[36;1m  exit 0�[0m
 �[36;1mfi�[0m
 �[36;1m�[0m
 �[36;1mapproved_by="$(�[0m
 �[36;1m  jq -r \�[0m
 �[36;1m    --arg head "$HEAD_SHA" \�[0m
 �[36;1m    --argjson approvers "$(jq -Rc 'split(",")' <<<"$REQUIRED_APPROVERS")" \�[0m
 �[36;1m    '�[0m
 �[36;1m      .data.repository.pullRequest.reviews.nodes�[0m
 �[36;1m      | map(select((.author.login // "") as $login | $approvers | index($login)))�[0m
 �[36;1m      | sort_by(.author.login)�[0m
 �[36;1m      | group_by(.author.login)�[0m
 �[36;1m      | map(max_by(.submittedAt))�[0m
 �[36;1m      | map(select(.state == "APPROVED" and .commit.oid == $head))�[0m
 �[36;1m      | first.author.login // empty�[0m
 �[36;1m    ...
🧰 Additional context used
🪛 LanguageTool
DISTRIBUTION_CHANNELS.md

[style] ~25-~25: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...ckaged in-repo or publicly published. - When the Antigravity manifest or plugin sche...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)

🔇 Additional comments (5)
README.md (3)

79-90: 🎯 Functional Correctness

Verify the commands/ conversion contract before merge.

The official plugin documentation lists skills, agents, rules, hooks, and MCP as native components, and says skills become slash commands; it does not document a commands/ directory or automatic commands/... → skill conversion. Confirm that Antigravity CLI 1.1.4 actually performs this conversion and that agy plugin validate . passes; otherwise, move the review command into a supported skills/ location and update these descriptions. (antigravity.google)

Also applies to: 106-109, 240-245


143-143: 🎯 Functional Correctness

Reconcile the global Antigravity skills path.

Official Antigravity pages currently document different paths: ~/.gemini/config/skills/ and ~/.gemini/antigravity-cli/skills/. Verify which path Antigravity CLI 1.1.4 actually scans and document the version-specific path or both supported locations. (antigravity.google)


8-9: LGTM!

Also applies to: 247-253

CHANGELOG.md (1)

9-10: LGTM!

DISTRIBUTION_CHANNELS.md (1)

3-3: LGTM!

Also applies to: 15-15


📝 Walkthrough

Walkthrough

The documentation now describes native Antigravity CLI plugin packaging through the root plugin.json manifest. README instructions cover installation, listing, component conversion, supported paths, and documentation links. Distribution records add the Antigravity plugin channel, update verification metadata, and require agy plugin validate . after manifest or schema changes. The changelog records the new packaging support.

Suggested reviewers: juanpflores

Poem

I’m a rabbit with plugins tucked neat,
Hopping through manifests crisp and complete.
agy plugin install, then list what you’ve grown,
Skills and commands now travel well-known.
A carrot for docs, validation too—
Antigravity hops right through!

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is concise and clearly describes the main change: native Antigravity CLI plugin packaging.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch nehal/antigravity-cli-plugin
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch nehal/antigravity-cli-plugin

Comment @coderabbitai help to get the list of available commands.

@nehal-a2z
nehal-a2z marked this pull request as ready for review July 20, 2026 17:36
@nehal-a2z
nehal-a2z requested a review from juanpflores as a code owner July 20, 2026 17:36
@nehal-a2z
nehal-a2z merged commit c61c490 into main Jul 20, 2026
5 of 7 checks passed
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.

2 participants