Skip to content

fix(antigravity): emit skill disable-model-invocation and kebab-case plugin names - #3713

Merged
dyoshikawa merged 6 commits into
mainfrom
resolve-issue-2666-antigravity-skills-plugin-name
Oct 30, 2026
Merged

dyoshikawa merged 6 commits into
mainfrom
resolve-issue-2666-antigravity-skills-plugin-name

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Fixes the two gaps from the 2026-10-31 re-check on #2666.

  1. Skills: root disable-model-invocation (antigravity-ide, antigravity-cli, antigravity-plugin). The Build plugins skill frontmatter table documents disable-model-invocation ("When true, prevents automatic model invocation so the skill runs only when invoked explicitly via /<name>"). AntigravitySharedSkill.fromRulesyncSkill now writes the root-level flag into SKILL.md; an antigravity-* section value overrides it. Import already keeps the key in the target section, so generate -> import -> generate is stable (covered by a test). The key is added to the Antigravity section schema and docs.
  2. antigravity-plugin: plugin.json name. The name derived from the output root is now lower-cased with _ turned into - (My_Plugin -> my-plugin), with a warning, because since CLI 1.4.9 agy plugin validate warns on non-kebab-case names and fails under --strict (schema ^[a-z0-9]+(-[a-z0-9]+)*$ on the Build plugins page). Names with other characters are still skipped with a warning, and an existing manifest is still never touched. The stale docstring is fixed and docs/guide/plugin-packaging.md is updated.

Left on #2666

  • Watch only: Agent Plugins spec 1.0.0 (enable-agent-plugins-spec, mcp.json) and earlier watch items.

Refs #2666

🤖 Generated with Claude Code

https://claude.ai/code/session_0179ZomNiDQHCzgoxeRVmfth

dyoshikawa and others added 6 commits October 31, 2026 01:43
…plugin names

- skills (antigravity-ide, antigravity-cli, antigravity-plugin): write the
  root-level disable-model-invocation into SKILL.md, documented on the
  Antigravity "Build plugins" page; a section value wins, and import keeps it
  in the target section so generate writes it back.
- antigravity-plugin: normalize the plugin.json name derived from the output
  root to lowercase kebab-case (My_Plugin -> my-plugin, with a warning), since
  `agy plugin validate --strict` rejects other names from CLI 1.4.9. Fix the
  stale docstring.

Refs #2666

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0179ZomNiDQHCzgoxeRVmfth
…ions

- Say the directory name needs at least one letter or digit when it only
  fails after normalization (e.g. `___`).
- Warn when two output roots normalize to the same plugin.json name.
- Test that a section disable-model-invocation: false overrides the root
  value for the IDE and plugin skills trees.

Refs #2666

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0179ZomNiDQHCzgoxeRVmfth
Read the `name` of an existing plugin.json (root or manifest folder) and
include it in the collision check, so a hand-written name that matches a
derived one is reported. The manifest itself is still never rewritten.

Refs #2666

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_0179ZomNiDQHCzgoxeRVmfth
@dyoshikawa
dyoshikawa merged commit 320b378 into main Oct 30, 2026
9 checks passed
@dyoshikawa
dyoshikawa deleted the resolve-issue-2666-antigravity-skills-plugin-name branch October 30, 2026 19:32
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.

1 participant