AGENT SKILL

antigravity-coding

Use when the user asks for coding help, architecture analysis, debugging strategy, refactoring options, implementation planning, or code explanation where Antigravity model assistance can complement Codex's local repo work.

License 许可
MIT
所属仓库
Meapri/agent-hub
最近更新
2026-08-04
Stars
★ 0
Forks
0

01 前言 Front Matter

name
antigravity-coding
description
Use when the user asks for coding help, architecture analysis, debugging strategy, refactoring options, implementation planning, or code explanation where Antigravity model assistance can complement Codex's local repo work.

03 SKILL.md 正文

Antigravity Coding

Use this skill for engineering tasks where Codex should combine local repo inspection with Antigravity model reasoning.

For code reviews, regression audits, or security findings, use antigravity-code-review instead. That workflow keeps finding discovery and technical verification in Codex and limits Antigravity to a writing-only pass.

Workflow

  1. Inspect the local files, errors, tests, and git state in Codex first.
  2. If Antigravity is not authenticated, use google_antigravity_login_status and the login_start / login_complete flow (see google-antigravity skill).
  3. Use google_antigravity_route_model with task: "code" when model choice matters or the task is complex.
  4. Use google_antigravity_chat for code reasoning, architecture tradeoffs, bug hypotheses, refactor plans, or alternative implementation sketches. Optional: stream: true for long answers; messages for multi-turn / tool-call context; data-URL images when needed.
  5. Apply edits in Codex only after validating the model output against the actual codebase.
  6. Run local tests or focused verification before reporting completion.

Tool Shape

Preferred google_antigravity_chat arguments:

{
  "model": "gemini-3.1-pro-preview",
  "prompt": "Analyze this code context and suggest the root-cause fix.",
  "retry_count": 1,
  "timeout_sec": 180,
  "stream": false
}

Use google_antigravity_list_models when a specific Gemini model is requested and availability is uncertain.

Boundaries

  • Do not send secrets, credential files, tokens, private keys, or raw .env contents to Antigravity.
  • Do not paste large unrelated files. Summarize local context and include only the relevant snippets.
  • Codex remains responsible for final code edits, tests, and user-facing conclusions.

04 同仓库更多 Skills