AGENT SKILL

correctness-review

Adversarially review a completed implementation against its specification, invariants, complete diff, and test evidence; use after implementation and before remediation.

License 许可
MIT
最近更新
2026-07-29
Stars
★ 0
Forks
0

01 前言 Front Matter

name
correctness-review
metadata
{ "version": "1.0.0" }
description
Adversarially review a completed implementation against its specification, invariants, complete diff, and test evidence; use after implementation and before remediation.
compatibility
Codex and OpenCode

02 资源文件 1

03 SKILL.md 正文

Correctness Review

Stance and context

Assume the implementation is wrong. Use the active specification, relevant invariants, complete base-to-head diff, source needed to trace changed behavior, and test evidence. Do not request or use the implementer's private reasoning.

Procedure

  1. Map every requirement and acceptance criterion to implementation evidence.
  2. Trace modified success and failure paths.
  3. Check state transitions, transactions, atomicity, ownership, concurrency, and idempotency.
  4. Check retries, timeouts, cancellation, cleanup, and external-side-effect ambiguity.
  5. Check backward compatibility and cross-module contracts.
  6. Inspect tests for missing cases, false positives, skips, weakened assertions, and overfitting.
  7. Search for stubs, swallowed errors, hardcoded success, suppressions, and unjustified workarounds.

Findings

Every finding includes a stable ID, severity, category, file/symbol, violated requirement or invariant, reachable reproduction scenario, evidence, expected behavior, suggested correction, and required regression test.

Judge each candidate finding, and the report as a whole, against rubric-correctness.md. It defines what clears the bar, what not to report, and where defects concentrate in this workflow.

Return PASS only when no actionable finding is found; a pass is not proof of defect absence.

04 同仓库更多 Skills