Skip to content

fix(antigravity): show plugin names in the skill picker - #42191

Merged
juliusmarminge merged 3 commits into
pingdotgg:mainfrom
Lucenx9:fix/antigravity-plugin-skill-labels
Nov 24, 2026
Merged

juliusmarminge merged 3 commits into
pingdotgg:mainfrom
Lucenx9:fix/antigravity-plugin-skill-labels

Conversation

@Lucenx9

@Lucenx9 Lucenx9 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Problem

Searching for a plugin name in an Antigravity thread leaves out its skills unless their own names or descriptions happen to match. Discovery reads the plugin's skill files but drops the plugin name before the result reaches the picker.

Change

Carry the plugin name into the existing display label, for example example-suite:inspect. The picker already searches that label. Selection still inserts $inspect, the name Antigravity resolves.

Scope

Fixes #42096. This is a server metadata change for skills discovered under an enabled Antigravity plugin. Existing discovery precedence, disabled plugin filtering and skill names are preserved.

Verification

I reproduced the reported search with two enabled skills in a temporary profile and ran the production discovery and web slash-search functions.

Search Before After
/example-suite No matches example-suite:inspect, example-suite:record

The extended scanner regression fails on base because the plugin skill lacks a display label. It checks both the label and the name used for invocation. The replay also checks a disabled plugin, a regular project skill and a one-skill fixture.

  • fast-check passed 100 generated cases. Jazzer.js completed 160 bounded runs. Stryker killed 5/5 mutants on the display-label expression in a source-derived copy.
  • Fallow's advisory audit flagged the added label branch under estimated coverage. CodeScene's advisory gate flagged the existing test callback growing from 415 to 418 lines. Both used a two-file snapshot.

Verified on Linux with real temporary directories and the production search functions. No live Antigravity session or browser was used.

vp run check:changed --concurrency 1 passed with 16 tests, typecheck, format, lint, Knip and GraphQL. The same check passed after rebasing onto a7a6126. Normal commit hooks passed.

Independent review: Gemini 4 Neon on Antigravity at medium effort and Claude Opus 5.5 at high effort approved the same diff.

Reviewed with sol-loop: 1 round with GPT-6.2 Sol on high. Sol verdict: approved.

Created with GPT-6.2 Sol in Codex through T3 Code.

Copilot AI balanced review requested due to automatic review settings November 24, 2026 14:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T14:12:19.592119Z a1b5d67 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Antigravity plugin skill scans now pass the plugin name through skill loading. Discovered plugin skills retain their existing name and receive a display name in the form <pluginName>:<skillName>. Slash-triggered skill rows use formatProviderSkillDisplayName, and the test checks both skill fields.

Changes: Antigravity plugin skill labels

Layer / File(s) Summary
Plugin identity propagation and labels
apps/server/src/provider/Drivers/AntigravitySkills.ts, apps/server/src/provider/Drivers/AntigravitySkills.test.ts
Plugin scans pass the plugin name through manifest, directory, and recursive loading. Discovered plugin skills receive a <pluginName>:<skillName> display name. The test checks the skill name and display name.
Composer skill display
apps/mobile/src/features/threads/ComposerCommandPopover.tsx
Slash-triggered skill rows use formatProviderSkillDisplayName instead of displaying skill.name directly.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix · Severity of issue fixed: Low

Suggested reviewers: maria-rcks, juliusmarminge

Merge Risk: Minimal · up to efe61

Antigravity plugin skills now show their plugin name in the picker and can be found by searching for it. Selecting one still inserts the original skill name. No merge-blocking issues were found.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #42096 asks that Antigravity plugin skills under config/plugins//skills carry the plugin name in the picker, keep the invocation name, and be searchable by plugin name. At head efe61ff, … Provide the readable source of the plugin loop in AntigravitySkills.ts at head (the call to scanDirectory on path.join(pluginDirectory, "skills") and its trailing arguments), or a readable diff of that hunk, to confirm that the plugin name …
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "fix(antigravity): show plugin names in the skill picker" matches the main change. Discovery now attaches the plugin name to each plugin skill's displayName (:), and t…
Description check Passed The description follows the template's Problem, Change, Scope, and Verification sections. The Problem and Change sections explain the bug and the fix clearly. The Scope section links issue #42096 and …
Out of Scope Changes check Passed The whole-PR diff contains two code areas. (1) AntigravitySkills.ts adds an optional pluginName parameter and the displayName field. This serves #42096 directly. (2) apps/mobile/src/features/threads/C…
Full details: Title check

Explanation

The title "fix(antigravity): show plugin names in the skill picker" matches the main change. Discovery now attaches the plugin name to each plugin skill's displayName (<pluginName>:<skillName>), and the mobile picker renders that label, so plugin names appear and become searchable. The title is concise, uses the conventional commit form, and names the affected area.

Full details: Description check

Explanation

The description follows the template's Problem, Change, Scope, and Verification sections. The Problem and Change sections explain the bug and the fix clearly. The Scope section links issue #42096 and says the change is server-side and limited to enabled plugins. The Verification section gives a before/after table, test results, and the environment used, and it notes what was not checked (no live Antigravity session or browser). The model and harness are named at the end, as the template asks. The description is complete enough to pass.

Full details: Out of Scope Changes check

Explanation

The whole-PR diff contains two code areas. (1) AntigravitySkills.ts adds an optional pluginName parameter and the displayName field. This serves #42096 directly. (2) apps/mobile/src/features/threads/ComposerCommandPopover.tsx imports formatProviderSkillDisplayName and renders slash skill rows with it instead of skill.name. This changes the mobile skill picker row. It connects to #42096, which asks that the picker show the plugin source of each skill. The PR description does not mention mobile. The helper is shared, so the row change can apply to skills from other providers that have displayName. This is a note for the author, not a demonstrated unrelated change. The test file change serves the server objective.

Full details: Linked Issues check

Explanation

Issue #42096 asks that Antigravity plugin skills under config/plugins/<plugin>/skills carry the plugin name in the picker, keep the invocation name, and be searchable by plugin name. At head efe61ff, addSkillFile in apps/server/src/provider/Drivers/AntigravitySkills.ts sets displayName to ${pluginName}:${skill.name} when pluginName is defined, and leaves name unchanged. scanDirectory accepts pluginName and passes it to addSkillFile and to child scans. The visible file ends before the plugin loop call that would pass the plugin name into scanDirectory for config/plugins/<plugin>/skills. The file read was truncated at that point. The previous assessment and the AI summary say this wiring exists, and the test asserts displayName demo:demo-skill for the enabled-plugin skill. Those sources are secondary, so the end-to-end wiring is not confirmed from source at head. The mobile change in ComposerCommandPopover.tsx also depends on displayName for plugin skills, but it does not affect the server requirement.

Resolution

Provide the readable source of the plugin loop in AntigravitySkills.ts at head (the call to scanDirectory on path.join(pluginDirectory, "skills") and its trailing arguments), or a readable diff of that hunk, to confirm that the plugin name is passed. The test file at head should also be readable to confirm the displayName assertion.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8106685 and efe61ff.

Files selected for processing: 1

  • apps/mobile/src/features/threads/ComposerCommandPopover.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 24, 2026
juliusmarminge and others added 2 commits November 24, 2026 14:15
…n-skill-labels

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plugin skills carry a plugin-qualified displayName; the mobile slash picker showed only the bare name, unlike web.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@juliusmarminge

Copy link
Copy Markdown
Member

Evidence

On both commits, install enabled Antigravity plugin t3-pstack with bro, ship, and trace skills whose names/descriptions omit the plugin name. Enter /bro, then /t3-pstack, then select bro through /bro. Separately enter /review-code in Codex for a skill whose interface display name is Friendly Code Review.

Desktop: real Linux Electron builds, 1280×900 content viewport, light theme. Mobile: native Android dev client on Pixel 9/API 36, 1080×2424, light theme, real Gboard visible. Each side used its own checkout, server, fresh database and equivalent synthetic profiles.

Capture Before After
Commit 7c42bb1c5c efe61ff54b
Electron plugin-name search Before: no matching plugin skills After: three qualified plugin skills
Native Android skill label Before: skill bro After: skill t3-pstack bro
Native Android plugin-name search Before: plugin search has no skill rows After: plugin search lists all three skills
Native Android selection Before: selected bro skill After: selected qualified bro skill
Native Android Codex display name Before: skill review-code After: skill Friendly Code Review
Electron interaction Before recording After recording
Native Android interaction Before recording After recording

Base omits plugin-name matches; head lists all three qualified skills. The Codex captures also cover the broader mobile rendering change. Selecting bro copies as $bro in Electron and exposes $bro in the native text field on both commits: observed invocation output.

All stills and recordings were visually inspected. Stills were accepted after consecutive matching screenshots; no duplicate assertion-failure image is presented.

Drivers and seeds: instructions, profile seed, RPC thread seed, Electron driver, Electron steps, native driver.

Supplementary Android accessibility report: unnamed controls and small targets are flagged; the newly visible search rows measure about 41dp.

Android accessibility annotation

@juliusmarminge juliusmarminge added takeover:ready Takeover done; auto-lands when gates pass and removed takeover:in-progress A takeover lead is working on this PR labels Nov 24, 2026
@juliusmarminge
juliusmarminge merged commit 38bfe53 into pingdotgg:main Nov 24, 2026
58 checks passed
@juliusmarminge juliusmarminge removed the takeover:ready Takeover done; auto-lands when gates pass label Nov 24, 2026
fcakyon added a commit to fcakyon/t3code that referenced this pull request Nov 25, 2026
Keep pingdotgg#42191 plugin skill display names and retain the skill scanning,
YAML, model refresh, and update settings from pingdotgg#42095, pingdotgg#42539, pingdotgg#42475,
and pingdotgg#42545.

verification: focused Antigravity tests 99/99 across 4 files, vp run check:changed upstream/main passed 7/7 stages with 101/101 tests across 5 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Antigravity plugin skills appear without their plugin name in the skill picker

3 participants