Agent Skills › Draculabo/AntigravityManager › agm-code-review

agm-code-review

GitHub

用于审查 Antigravity Manager 代码变更,检查语义缺陷、边界违规及证据缺口。适用于 PR 评审或实施后验证,不执行测试选择或重跑。

.agents/skills/agm-code-review/SKILL.md Draculabo/AntigravityManager

Trigger Scenarios

Pull Request 代码审查 实施后的最终人工复核

Install

npx skills add Draculabo/AntigravityManager --skill agm-code-review -g -y
More Options

Non-standard path

npx skills add https://github.com/Draculabo/AntigravityManager/tree/main/.agents/skills/agm-code-review -g -y

Use without installing

npx skills use Draculabo/AntigravityManager@agm-code-review

指定 Agent (Claude Code)

npx skills add Draculabo/AntigravityManager --skill agm-code-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add Draculabo/AntigravityManager --all -g -y

预览 repo 内 skill

npx skills add Draculabo/AntigravityManager --list

SKILL.md

Frontmatter
{
    "name": "agm-code-review",
    "description": "Review a concrete Antigravity Manager diff for semantic defects, boundary violations and evidence gaps. Use for pull request reviews or the final review after implementation validation; this skill does not select or rerun tests."
}

Review an Antigravity Manager Change

Review the exact change for defects that mechanical checks cannot establish. For implementation work, use this after agm-validate-change has selected and run the relevant checks. For review-only work, start here without running validation commands unless the user asks for them.

Establish the review scope

  1. Confirm the repository, branch and starting worktree state. Separate the requested change from pre-existing user changes.
  2. For a pull request, verify the actual base and head from its metadata before calculating the changed paths and diff. Include any relevant uncommitted work separately; never guess either ref.
  3. Read the changed code, affected consumers and the nearest AGENTS.md. Read the architecture, security or testing reference when the changed boundary needs it.
  4. If the PR base, head or merge base changed after earlier review, recalculate the diff and review the newly affected paths. Preserve earlier findings only when their cited code and scope still match.

Review the behavior

  • Ownership and process boundaries: Check feature ownership, dependency direction, renderer/main isolation, and that cross-process calls use the typed preload and ORPC/IPC surface.
  • Contracts and data: Check validation and transformations at external, persisted and process boundaries. For SQLite, Drizzle, credentials and backups, inspect privacy, atomicity, recovery and migration behavior.
  • Proxy behavior: Trace request and response mapping through status handling, streaming, errors, cancellation and retries. Check that diagnostics retain useful context without exposing secrets.
  • Async lifecycle: Follow success, failure, cancellation, timeout and partial-completion paths. Check race behavior, process and resource cleanup, and bounded retry behavior.
  • Failure state: Apply failure ownership to changed errors and recovery. Verify the state after partial writes, unknown remote outcomes and failed rollback; trace safe continuation and final reporting to their owners.
  • Alternate callers and limits: Trace denials through the operation that executes them, including alternate entry points. Check retained values against their authoritative source and measure limits on the complete emitted result, including metadata and UTF-8 bytes when applicable.
  • User experience: For UI changes, check loading, empty and error states, retry behavior, keyboard access, localization ownership and whether user-visible errors match the actual failure.
  • Evidence quality: Confirm tests exercise an observable behavior that would fail for the regression. Match mocks, integration tests, packaged checks and native or live evidence to the behavior each can establish. Do not treat mocks as proof of native, installer, updater or live-provider behavior.
  • Runner reliability: Apply test reliability to asynchronous, native or resource-owning tests and script instructions to changed runners. Verify readiness, isolated resources, full teardown and a representative negative case for changed acceptance predicates. Check that the entry point matches the shipped behavior being claimed.
  • Recurring lessons: For work triggered by a regression, repeated CI failure, reopened issue, rollback or failed live acceptance, apply Agent lessons. Check that any new candidate has verified evidence, a supported cause and a concrete prevention check, and that an existing rule is not duplicated.
  • Change hygiene: Check that current documentation and comments match behavior, Agent Notes record durable decisions, and the diff contains no unrelated files, generated output, secrets or user-owned changes.
  • Upgrade and decision history: For incompatible user data, configuration, CLI or public API changes, check upgrade instructions against actual migration, recovery and downgrade evidence. Follow note retention when a decision is replaced; retain partial obligations, verify replacement links and review archive-body changes as historical edits, not link maintenance.

Report findings

Report actionable defects first, ordered by impact. Each finding includes a precise file and line, the affected behavior, impact and supporting evidence from the diff or execution path. Separate blocking findings from non-blocking suggestions. Omit style preferences, speculative risks and issues already established by passing mechanical checks.

If there are no findings, say so and identify material behavior the review could not verify. A review does not replace executed validation; report validation evidence and unverified environments separately.

Version History

  • ca1cf03 Current 2026-10-19 19:40

Same Skill Collection

.agent/skills/openspec-apply-change/SKILL.md
.agent/skills/openspec-archive-change/SKILL.md
.agent/skills/openspec-bulk-archive-change/SKILL.md
.agent/skills/openspec-continue-change/SKILL.md
.agent/skills/openspec-explore/SKILL.md
.agent/skills/openspec-ff-change/SKILL.md
.agent/skills/openspec-new-change/SKILL.md
.agent/skills/openspec-onboard/SKILL.md
.agent/skills/openspec-sync-specs/SKILL.md
.agent/skills/openspec-verify-change/SKILL.md
.agent/skills/project_overview/SKILL.md
.agent/skills/ui-ux-pro-max/SKILL.md
.agent/skills/vercel-composition-patterns/SKILL.md
.agent/skills/vercel-react-best-practices/SKILL.md
.agent/skills/web-design-guidelines/SKILL.md
.agents/skills/agm-validate-change/SKILL.md
.agents/skills/vercel-composition-patterns/SKILL.md
.agents/skills/vercel-react-best-practices/SKILL.md
.agents/skills/web-design-guidelines/SKILL.md
.claude/skills/openspec-apply-change/SKILL.md
.claude/skills/openspec-archive-change/SKILL.md
.claude/skills/openspec-bulk-archive-change/SKILL.md
.claude/skills/openspec-continue-change/SKILL.md
.claude/skills/openspec-explore/SKILL.md
.claude/skills/openspec-ff-change/SKILL.md
.claude/skills/openspec-new-change/SKILL.md
.claude/skills/openspec-onboard/SKILL.md
.claude/skills/openspec-sync-specs/SKILL.md
.claude/skills/openspec-verify-change/SKILL.md
.codex/skills/openspec-apply-change/SKILL.md
.codex/skills/openspec-archive-change/SKILL.md
.codex/skills/openspec-bulk-archive-change/SKILL.md
.codex/skills/openspec-continue-change/SKILL.md
.codex/skills/openspec-explore/SKILL.md
.codex/skills/openspec-ff-change/SKILL.md
.codex/skills/openspec-new-change/SKILL.md
.codex/skills/openspec-onboard/SKILL.md
.codex/skills/openspec-sync-specs/SKILL.md
.codex/skills/openspec-verify-change/SKILL.md
.codex/skills/ui-ux-pro-max/SKILL.md

Metadata

Files
0
Version
ca1cf03
Hash
3c3c5fdb
Indexed
2026-10-19 19:40

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-01 11:55
浙ICP备14020137号-1