Agent Skills › Draculabo/AntigravityManager › agm-validate-change

agm-validate-change

GitHub

用于验证代码变更的最小化可靠测试集选择与执行,通过分析变更影响范围精准选取单元测试、类型检查或 Playwright 等证据,避免盲目运行全量套件。

.agents/skills/agm-validate-change/SKILL.md Draculabo/AntigravityManager

Trigger Scenarios

实现仓库变更后的验证 声称已验证但需确认时

Install

npx skills add Draculabo/AntigravityManager --skill agm-validate-change -g -y
More Options

Non-standard path

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

Use without installing

npx skills use Draculabo/AntigravityManager@agm-validate-change

指定 Agent (Claude Code)

npx skills add Draculabo/AntigravityManager --skill agm-validate-change -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-validate-change",
    "description": "Select and run the smallest reliable validation set for an Antigravity Manager worktree change. Use after implementing repository changes or before claiming they are validated; do not use for read-only analysis."
}

Validate an Antigravity Manager Change

Validate the behavior a diff can affect without reflexively running the full repository suite. Testing strategy owns the change-to-evidence mapping; the nearest AGENTS.md owns additional requirements.

Inspect the change

  1. Confirm the repository root, branch and worktree status.
  2. Inspect staged, unstaged and relevant untracked files without modifying unrelated user work.
  3. Classify each changed path as documentation/governance, renderer UI, routing, IPC/preload, Electron main lifecycle, persistence/security, proxy protocol/server, build/update or shared contract.
  4. Identify behavior that crosses more than one category; those paths need evidence from each affected side.

Select evidence

  • Start with the owning unit or integration test file.
  • Add npm run type-check for shared types, public exports, IPC contracts and module-boundary changes.
  • Add npm run check:agent-contracts for AGENTS.md, governance docs, Agent Notes or project Skills.
  • Add focused Playwright evidence for user flows that require the packaged Electron boundary, not for a purely local component change.
  • Add packaging, native keyring, updater or live-provider evidence only when the diff can affect that environment-dependent path.
  • Use the full local rehearsal only when the change is repository-wide, CI is being diagnosed, or the user explicitly requests it.

Do not use a passing mock-only test as proof of native Electron, keyring, installer or live-provider behavior. Do not repeat an already passing command unless later edits invalidated its evidence.

Handle results

If a relevant check fails, diagnose that failure before widening scope. Do not skip it, weaken assertions or attribute it to the environment without concrete environment evidence. Stop when fixing it would require authority or scope beyond the requested change.

Report:

  • changed behavior and affected surfaces;
  • commands actually run and their results;
  • environment-dependent or broader checks not run;
  • residual risk that the executed evidence does not cover.

Version History

  • fc8404a Current 2026-08-28 21:13

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/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
9b25563
Hash
370b780f
Indexed
2026-08-28 21:13

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-29 01:36
浙ICP备14020137号-1