superreview
Skill0 starsChanged 4 months agoMITView on GitHub
Use for code review of a pull request, branch, commit range, staged diff, or working-tree changes when the user says "review this PR", "review and fix", "inspect these changes", "检查这个 PR", "审一下这组改动", or explicitly invokes SuperReview. Make the main Codex agent personally establish the review boundary and confirm evidence-backed findings before delegating each finding as a bounded atomic repair, then personally accept or reject every patch and re-review the final effective diff. Keep generic implicit review report-only; use the repair loop for explicit `$superreview` or an explicit fix request. Compose with SuperDev architecture contracts and SuperGoal child-goal lifecycle rules when those skills are active.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- OmniTensorLabs/SuperReviewtheir own version, first seen Sep 20, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- OmniTensorLabs/SuperReview★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
34 rules. About 0 are common, 26 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈26
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Run a reviewer-owned repair loop for pull requests and local change sets.
- Distinctive: line 25
Use this role split before substantive review work:
- Distinctive: line 27
Run the main reviewer with the model and reasoning effort already active in the current Codex session.
- Very specific: line 31
Run every repair worker through the superreview-repair custom agent on gpt-5.6-sol with Extra High reasoning (model_reasoning_effort = …
- Distinctive: line 34
Do not let delegated repair bypass the ownership invariant.
- Very specific: line 40
Before dispatch, require the named superreview-repair custom agent.
- Very specific: line 43
If the repair profile is unavailable or the spawn surface cannot select it, do not substitute a generic worker.
- Distinctive: line 65
Write every repair contract, review every returned patch, run final checks, and decide whether the reviewed change set is acceptable.
- Distinctive: line 68
Do not delegate the initial review, finding discovery, severity decisions, or final acceptance.
- Very specific: line 78
Review and repair: Default when the user explicitly invokes $superreview on a review target, asks SuperReview to handle it, or explicitly …
- Distinctive: line 82
Report only: Use when the user says to review, inspect, audit, or comment without changing code.
- Distinctive: line 85
Repair existing findings: Use when the user supplies an already accepted finding list and explicitly asks for fixes.
- Distinctive: line 90
If SuperReview was only triggered implicitly by a generic review request, keep the run report-only unless the user also authorized changes.
- Distinctive: line 93
Never post GitHub comments, submit approve/request-changes reviews, resolve threads, commit, push, merge, or open another PR unless the …
- Distinctive: line 100
Before judging the review target:
- Distinctive: line 102
Read repository and directory-scoped instructions.
- Very specific: line 112
Read the PR description or supplied requirements, plus relevant SPEC.md / PLAN.md files when present.
- Distinctive: line 142
Avoid findings based only on taste, speculative future work, formatting already enforced by tooling, or claims that cannot be tied to a …
- Distinctive: line 146
Treat complexity as a finding only when evidence identifies the exact extra mechanism, cites deletion or a simpler repository-established …
- Distinctive: line 167
Keep findings independent.
- Very specific: line 180
Start every repair message with Repair: and include:
- Very specific: line 199
When SuperGoal is also active, embed this repair contract inside its full child Goal Contract and require the child create_goal / …
- Distinctive: line 204
If subagent tools or the required repair profile are unavailable, stop repair dispatch and state the blocker.
- Distinctive: line 210
Treat a subagent patch as untrusted input.
- Distinctive: line 220
Run or independently repeat the focused verification when feasible.
- Distinctive: line 224
Do not silently repair a rejected patch on top of concurrent worker changes.
- Distinctive: line 230
After accepted repairs are integrated, personally review the final effective change set again.
- Distinctive: line 238
Run the strongest proportionate verification available:
- Distinctive: line 246
If the final pass finds a new actionable defect, create a new finding and repeat the atomic repair loop.
- Distinctive: line 250
Every confirmed finding is accepted, withdrawn with evidence, or explicitly blocked.
- Distinctive: line 256
Do not claim a clean review merely because tests pass.
- Very specific: line 260
Use relevant SuperDev SPEC.md and PLAN.md files as review contracts when they exist.
- Distinctive: line 280
When no findings remain, say so directly but still disclose verification gaps.
- Distinctive: line 281
Keep the report focused on evidence and decisions rather than narrating every tool call.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SuperReview
Run a reviewer-owned repair loop for pull requests and local change sets. Keep review judgment, finding quality, patch acceptance, final verification, and the final verdict with the main agent. Use subagents only as bounded repair workers after the main agent has confirmed actionable findings.
Main-Session and Repair-Worker Policy
Use this role split before substantive review work:
- Run the main reviewer with the model and reasoning effort already active in the current Codex session. Never inspect, request, require, verify, or switch the main-session profile, and never pause review or repair because a main model or reasoning level cannot be confirmed.
- Run every repair worker through the
superreview-repaircustom agent ongpt-5.6-solwith Extra High reasoning (model_reasoning_effort = "xhigh"). - Do not let delegated repair bypass the ownership invariant. The main agent must still finish the initial review and freeze findings before any repair worker starts.
Apply the repair-worker policy:
- Before dispatch, require the named
superreview-repaircustom agent. Select that profile explicitly when the spawn surface supports agent types or profiles. - If the repair profile is unavailable or the spawn surface cannot select it,
do not substitute a generic worker. Keep the confirmed findings report-only
and report
Repair model policy blockedwith the missing capability. - Let an explicit user override for the repair worker win, but record the deviation in the final report.
The distributable repair profile lives at
agents/superreview-repair.toml. Install it as
~/.codex/agents/superreview-repair.toml for a personal agent or
.codex/agents/superreview-repair.toml for a project-scoped agent.
Ownership Invariant
The main agent must:
- Resolve the review target and comparison boundary: PR base/head and merge base, branch or commit range, index, or working tree. Inventory changed files, commits, and relevant repository instructions.
- Personally read the complete diff and enough surrounding code to understand behavior, contracts, callers, tests, and failure modes.
- Personally decide which observations are actionable findings and assign their priority.
- Write every repair contract, review every returned patch, run final checks, and decide whether the reviewed change set is acceptable.
Do not delegate the initial review, finding discovery, severity decisions, or final acceptance. Do not ask a subagent to "review the PR", "review these changes", "find bugs", or choose its own repair scope. A subagent may reject its assigned finding as a false positive when it returns concrete evidence and makes no speculative edit; the main agent decides whether to withdraw the finding.
Mode Selection
Use these modes:
- Review and repair: Default when the user explicitly invokes
$superreviewon a review target, asks SuperReview to handle it, or explicitly asks to review and fix. Review first, then repair confirmed findings through subagents. - Report only: Use when the user says to review, inspect, audit, or comment without changing code. Produce findings and verification limits; do not edit, spawn repair workers, commit, push, or publish a review.
- Repair existing findings: Use when the user supplies an already accepted finding list and explicitly asks for fixes. The main agent must validate each finding against the current review target before dispatching it; do not repeat a broad review unless final acceptance requires it.
If SuperReview was only triggered implicitly by a generic review request, keep the run report-only unless the user also authorized changes.
Never post GitHub comments, submit approve/request-changes reviews, resolve threads, commit, push, merge, or open another PR unless the user explicitly requests that external action. Local repair authorization does not imply publication authorization.
Phase 1: Establish the Review Boundary
Before judging the review target:
- Read repository and directory-scoped instructions.
- Classify the target as a PR, branch comparison, commit range, staged changes, working-tree changes, or a combination explicitly requested by the user.
- Freeze the exact comparison boundary. For a PR, prefer its actual merge base
over an assumed branch name. For local changes, distinguish
HEAD, index, and working tree so nothing is silently omitted or included. - Inventory commits, changed files, generated files, migrations, tests, and relevant CI state.
- Preserve unrelated user changes. Do not overwrite a dirty worktree or absorb out-of-scope local edits into the review target.
- Read the PR description or supplied requirements, plus relevant
SPEC.md/PLAN.mdfiles when present. - Record any unavailable context that limits confidence.
Review the change set's effect, not only its textual diff. Follow changed interfaces to callers and consumers, inspect nearby invariants, and compare tests with the behavior they claim to protect. Do not turn unrelated pre-existing defects into findings unless the reviewed changes make them reachable, worse, or newly relevant.
Phase 2: Perform the Main-Agent Review
Inspect all changed behavior before dispatching any repair. Prioritize:
- Correctness, data loss, security, permissions, privacy, and concurrency.
- Contract, schema, migration, compatibility, and rollback safety.
- Boundary conditions, failure handling, idempotency, resource cleanup, and state transitions.
- Cross-module callers, configuration, packaging, deployment, and generated artifacts.
- Missing or misleading tests for material changed behavior.
- Violations of the repository's declared current or target architecture.
- Evidence-backed unnecessary complexity introduced or made newly relevant by the reviewed changes: duplicate active implementations of the same current contract without a compatibility or migration requirement; a replaced implementation left reachable, registered, or referenced; an abstraction or extension point with no distinct current consumer or declared requirement; or a dependency, state value, configuration surface, or source of truth with no current use or that duplicates an established repository capability.
Avoid findings based only on taste, speculative future work, formatting already enforced by tooling, or claims that cannot be tied to a concrete failure mode or the objective unnecessary-complexity standard below.
Treat complexity as a finding only when evidence identifies the exact extra mechanism, cites deletion or a simpler repository-established pattern that satisfies the same current contract, and names focused searches or tests that show removal preserves required behavior. A single implementation, additional lines or layers, unfamiliar style, possible future drift, or a preferred design is not sufficient. Grade a concrete current failure by its demonstrated impact; otherwise a proven behavior-preserving simplification is at most P3. If contract equivalence or absence of a current requirement cannot be shown, do not file a finding.
For each finding, record:
- Stable ID such as
SR-001. - Priority:
P0release-blocking,P1high,P2normal, orP3low. - Tight file and line location in the changed code when possible.
- Observable failure or violated contract.
- Evidence and the conditions required to reproduce the problem.
- Why the reviewed changes caused or exposed it.
- Smallest acceptable repair boundary.
- Focused verification that would close the finding.
Keep findings independent. Split distinct root causes. Combine symptoms only when one atomic repair necessarily closes them together.
Phase 3: Freeze Findings and Dispatch Atomic Repairs
Finish the initial review pass before spawning repair workers. If there are no actionable findings, skip dispatch and proceed to final verification.
Dispatch one bounded repair contract per independent finding. Run contracts in parallel only when their write sets are disjoint; otherwise run them sequentially. The main agent must not edit the same files concurrently with a repair worker.
Start every repair message with Repair: and include:
Repair: <finding ID and one-sentence objective>
Parent Review: <review-target identity, comparison boundary, and priority>
Worker Profile: superreview-repair (gpt-5.6-sol, xhigh / Extra High)
Finding Evidence: <failure, cause, location, and reproduction conditions>
Acceptance: <observable condition that closes this finding>
Allowed Scope: <exact files/modules the worker may inspect or edit>
Forbidden Work: <unrelated cleanup, broad refactors, API changes, extra files>
Required Verification: <focused tests/checks to run>
Expected Output: <patch summary, files changed, commands/results, residual risk>
Parent Merge Plan: <how the main agent will inspect and accept or reject it>
Worker Rules: Validate the finding, make the smallest repair, do not broaden
scope, do not spawn agents, and do not claim PR-level acceptance. If the finding
is false or cannot be fixed inside scope, make no speculative edit and return
evidence to the parent.When SuperGoal is also active, embed this repair contract inside its full child
Goal Contract and require the child create_goal / update_goal lifecycle.
SuperReview's Repair: boundary remains mandatory; SuperGoal adds lifecycle
tracking but does not delegate review ownership.
If subagent tools or the required repair profile are unavailable, stop repair dispatch and state the blocker. Do not replace the required Extra High worker with a generic subagent or a silent main-agent implementation.
Phase 4: Accept or Reject Every Repair
Treat a subagent patch as untrusted input. For each returned repair, the main agent must:
- Re-read the original finding and inspect the complete patch.
- Confirm the patch stays inside allowed scope and does not overwrite other work.
- Reproduce or reason through the original failure and verify the root cause is closed rather than hidden.
- Inspect new edge cases, compatibility effects, test quality, and unnecessary complexity under the Phase 2 evidence standard.
- Run or independently repeat the focused verification when feasible.
- Mark the finding
accepted,rejected,withdrawn, orblocked, with evidence.
Do not silently repair a rejected patch on top of concurrent worker changes. Issue a narrower follow-up repair contract or integrate the fix only after the write scope is safe.
Phase 5: Re-review the Final Change Set
After accepted repairs are integrated, personally review the final effective
change set again. For a PR, include merge base through PR head plus every
accepted uncommitted worktree repair. For local review, include the frozen
commit/index/worktree boundary plus accepted repairs. Do not rely on
base..HEAD alone when worker patches are uncommitted. The final pass must
include all worker-created changes and check that fixes do not conflict with one
another.
Run the strongest proportionate verification available:
- Focused regression tests for every accepted finding.
- Relevant unit, integration, type, lint, build, migration, or smoke checks.
- Targeted searches for stale call sites, duplicate contracts, skipped cases, debug code, or generated artifacts.
- Manual or UI checks when changed behavior cannot be proven by automation.
If the final pass finds a new actionable defect, create a new finding and repeat the atomic repair loop. Stop only when:
- The final diff has no unresolved actionable findings within review scope.
- Every confirmed finding is accepted, withdrawn with evidence, or explicitly blocked.
- Verification passes, or any unavailable/failed check is clearly reported.
- SuperDev docs are consistent with the final implementation when the reviewed changes alter durable architecture.
Do not claim a clean review merely because tests pass.
SuperDev Composition
Use relevant SuperDev SPEC.md and PLAN.md files as review contracts when they
exist. Continue the review even when architecture docs are missing or stale,
but report mismatches that create concrete PR risk. Before accepting an
architecture-changing repair, require a clear target architecture and keep
implementation and docs synchronized. Do not create architecture ceremony for
a local defect fix that does not change durable boundaries.
Final Report
Lead with the verdict, then report:
- Findings by priority, each with status and tight code references.
- Repairs delegated, accepted, rejected, withdrawn, or blocked.
- Verification commands and outcomes.
- Repair-worker profile evidence, including any unavailable, fallback, or user-overridden selection. Do not report or verify the main-session model.
- Residual risks, missing context, and unrun checks.
- Publication state: local only, or the exact explicitly authorized GitHub/git actions completed.
When no findings remain, say so directly but still disclose verification gaps. Keep the report focused on evidence and decisions rather than narrating every tool call.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

