用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Morrison-Lab/ai-config --skill agy-review-workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | agy-review-workflow |
| description | Set up Antigravity workflow. |
| user-invocable | true |
| allowed-tools | ["Read","Edit","Write","Bash"] |
[!IMPORTANT] Antigravity is permanently out of service (user directive, 2026-08-20), confirmed on a dispatched run that ended
request failed (code 429): Your prepayment credits are depleted/Execution failed: model unreachable. This skill is kept as history, not as an option. Do not dispatch the workflow --- a dispatch burns a run and leaves a red check for a reviewer that cannot answer. For a cross-vendor second opinion usedelegate-to-codex, the billed ChatGPT-plan CLI this corpus dispatches. Copilot stays requestable on the PR where the org's licensing reaches it. Tracked as ai-config#1776.
Sets up or edits the Google Antigravity PR review, security audit, and test generation workflow (antigravity-review.yml),
which invokes the reusable antigravity-code-review.yml workflow from Morrison-Lab/gha.
Path: .github/workflows/antigravity-review.yml
Morrison-Lab/gha reusable workflowjobs:
review:
uses: Morrison-Lab/gha/.github/workflows/antigravity-code-review.yml@v2
The workflow delegates execution to Morrison-Lab/gha's reusable workflow,
which executes Morrison-Lab/gha/antigravity-review@v2.
This ensures updates, safety checks, and runner handling in gha are automatically shared across repos.
permissions:
contents: read
pull-requests: write
issues: write
id-token: write
actions: read
contents: read: Allows reading repository code and diffs.pull-requests: write: Grants permission to post review comments and verdicts on PRs.issues: write: Allows writing issue comments where required.id-token: write: Enables OIDC authentication where required.actions: read: Lets automated review agents inspect CI run status.concurrency:
group: antigravity-review-${{ github.event.pull_request.number || inputs.pr_number || github.ref }}
cancel-in-progress: true
cancel-in-progress: true cancels superseded runs on rapid sequential pushes,
preventing API quota waste and review comment race conditions.
GEMINI_API_KEY)secrets:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
Antigravity uses the Gemini API.
Ensure the target repo has GEMINI_API_KEY defined in repository or organization secrets (gh secret list).
Supported operational modes passed via inputs.mode:
code-review (default): Performs an automated PR code review.security-audit: Runs targeted security inspection on modified code.test-generation: Generates suggested test cases for changed files.with:
trigger-policy: ${{ github.event_name == 'pull_request' && 'on-push' || 'on-request' }}
on-push: Automatically reviews PR updates on pull_request events (opened, synchronize, ready_for_review, reopened).on-request: Restricts review to manual execution via workflow_dispatch.The underlying action (Morrison-Lab/gha/antigravity-review@v2) enforces guards so draft PRs,
cross-repository (fork) PRs, and dependabot[bot] runs do not leak secrets or execute untrusted code.
GEMINI_API_KEY secret exists (gh secret list)..github/workflows/antigravity-review.yml using the template below.main or open a PR to enable automated reviews.# Active caller for Morrison-Lab/gha's reusable Antigravity PR review workflow.
name: Antigravity Code Review
on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
workflow_dispatch:
inputs:
pr_number:
description: 'Pull request number to review'
required: true
type: string
mode:
description: 'Operational mode: code-review, security-audit, or test-generation'
required: false
default: 'code-review'
type: choice
options:
- code-review
- security-audit
- test-generation
concurrency:
group: antigravity-review-${{ github.event.pull_request.number || inputs.pr_number || github.ref }}
cancel-in-progress: true
jobs:
review:
permissions:
claude-review-workflow -- sets up the Claude Code PR review workflow (claude-code-review.yml).claude-agent-workflow -- sets up the Claude Code agent workflow (claude.yml).config-ai -- routes AI capability and bot workflow requests to the appropriate skill.