Agent Skillsmtarcure/claude-vibe-squad › differential-review

differential-review

GitHub

通过对比变更前后两个状态的执行行为来审查代码,预测并测量可观测差异,识别未预期的行为变更及边界情况,而非仅检查代码行。

.agents/skills/differential-review/SKILL.md mtarcure/claude-vibe-squad

Trigger Scenarios

需要验证变更是否意外破坏了现有行为 需区分预期内的破坏性变更与未预期的错误

Install

npx skills add mtarcure/claude-vibe-squad --skill differential-review -g -y
More Options

Non-standard path

npx skills add https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/differential-review -g -y

Use without installing

npx skills use mtarcure/claude-vibe-squad@differential-review

指定 Agent (Claude Code)

npx skills add mtarcure/claude-vibe-squad --skill differential-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add mtarcure/claude-vibe-squad --all -g -y

预览 repo 内 skill

npx skills add mtarcure/claude-vibe-squad --list

SKILL.md

Frontmatter
{
    "name": "differential-review",
    "audience": "specialist",
    "description": "Use when a proposed change claims to preserve or intentionally alter behavior and the delta must be proven between baseline and candidate—run both states, predict each observable shift, then compare return values, persistence, emitted events, logs, exit codes, wire formats, timing, errors, empty cases, and boundaries. This is execution-based comparison, not changed-line inspection or pixel diffing."
}

Differential Review

Review a change by comparing behavior before and after, rather than by reading the new code in isolation.

Steps

  1. Build the two states: base and head. Anything that cannot be built in both states cannot be differentially reviewed — say so instead of guessing.
  2. Enumerate observable surfaces the change could move: return values, persisted rows, emitted events, logs, exit codes, wire formats, timing, and error text.
  3. For each surface, predict the intended delta from the change's stated intent, then measure the actual delta.
  4. Treat every unpredicted delta as a finding until explained. Silent behavior changes are the class this method exists to catch.
  5. Pay special attention to the unchanged-looking paths: refactors that preserve the happy path frequently move error, empty, and boundary behavior.
  6. Where a surface cannot be measured, construct the smallest differential test that would measure it, and note the gap if the test is out of scope.
  7. Compare against a scalar or previous reference implementation where one exists — vectorized, cached, or rewritten code is unverified without it.
  8. Record deltas that are intended-but-breaking separately from deltas that are unintended; they need different decisions from the operator.

Acceptance

  • Base and head were both built or run; if not, the review states that it is analysis-only.
  • Every moved surface is listed with predicted versus observed behavior.
  • Unpredicted deltas are reported as findings or explicitly explained.
  • Error, empty, and boundary paths are covered, not just the happy path.
  • Intended-breaking and unintended changes are distinguished.

Version History

  • d5262e2 Current 2026-09-11 11:16

Same Skill Collection

.agents/skills/accessible-media-authoring/SKILL.md
.agents/skills/agent-prompt-engineering/SKILL.md
.agents/skills/agentic-safety-audit/SKILL.md
.agents/skills/audio-event-map-authoring/SKILL.md
.agents/skills/auto-scaffold/SKILL.md
.agents/skills/claim-verification/SKILL.md
.agents/skills/code-reachability-audit/SKILL.md
.agents/skills/code-review-loop/SKILL.md
.agents/skills/color-theory/SKILL.md
.agents/skills/conversation-design/SKILL.md
.agents/skills/copy-refinement/SKILL.md
.agents/skills/cross-file-relationship-synthesis/SKILL.md
.agents/skills/dependency-cycle-audit/SKILL.md
.agents/skills/dependency-health-triage/SKILL.md
.agents/skills/detection-as-code/SKILL.md
.agents/skills/diff-aware-semgrep-scan/SKILL.md
.agents/skills/dimensional-analysis-check/SKILL.md
.agents/skills/dual-level-retrieval/SKILL.md
.agents/skills/figma-implement-design/SKILL.md
.agents/skills/forensic-timeline-authoring/SKILL.md
.agents/skills/game-design-fundamentals/SKILL.md
.agents/skills/game-mechanics-balancing/SKILL.md
.agents/skills/head-tail/SKILL.md
.agents/skills/incident-response-runbook/SKILL.md
.agents/skills/interactive-audio-design/SKILL.md
.agents/skills/interface-ambiguity-check/SKILL.md
.agents/skills/keyword-clustering/SKILL.md
.agents/skills/knowledge-base-integration/SKILL.md
.agents/skills/layered-analysis-loop/SKILL.md
.agents/skills/level-design-patterns/SKILL.md
.agents/skills/locale-adaptation/SKILL.md
.agents/skills/narrative-structure/SKILL.md
.agents/skills/platform-compliance/SKILL.md
.agents/skills/player-engagement-psychology/SKILL.md
.agents/skills/requirements-elicitation/SKILL.md
.agents/skills/rule6-rights-gate/SKILL.md
.agents/skills/rule8-truth-gate/SKILL.md
.agents/skills/sandbox-provision-discipline/SKILL.md
.agents/skills/scope-decomposition/SKILL.md
.agents/skills/scope-estimation/SKILL.md
.agents/skills/security-ownership-map/SKILL.md
.agents/skills/security-threat-model/SKILL.md
.agents/skills/semgrep-rule-author/SKILL.md
.agents/skills/skill-description-trigger-authoring/SKILL.md
.agents/skills/sound-design-principles/SKILL.md
.agents/skills/structured-data-authoring/SKILL.md
.agents/skills/supply-chain-audit/SKILL.md
.agents/skills/take-over-resume/SKILL.md
.agents/skills/technical-seo-audit/SKILL.md

Metadata

Files
0
Version
d5262e2
Hash
55884a04
Indexed
2026-09-11 11:16

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-13 05:02
浙ICP备14020137号-1 $Map of visitor$