correctness

correctness is a skill for Claude Code from tufantunc/review-pro. It costs 64 tokens per session (1,481 once invoked), scanned A, original, MIT.

A review guide for checking whether changed code still behaves correctly. It examines logic, related files, error paths, concurrent actions, developer configuration, and feature switches.

In plain words
What is it for?
Use it to audit a diff for logic errors, broken callers, incomplete error handling, race conditions, configuration regressions, or feature-gate leaks.
Why use it?
It helps find bugs and unintended breakage introduced by a code change, including failures that appear outside the edited lines.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the review-pro plugin — 14 skills, 15 agents shipped together

Good fit Use it to audit a diff for logic errors, broken callers, incomplete…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tufantunc/review-pro/correctness
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tufantunc/review-pro --skill correctness
Clone the repo
git clone --depth 1 https://github.com/tufantunc/review-pro

Made for: Claude Code.

Or install review-pro, the plugin that ships this one along with the rest of its 14 skills, 15 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for correctness

README.md
[![agentmods](https://agentmods.dev/badge/skills/tufantunc/review-pro/correctness.svg)](https://agentmods.dev/skills/tufantunc/review-pro/correctness)
Your own site
<a href="https://agentmods.dev/skills/tufantunc/review-pro/correctness"><img src="https://agentmods.dev/badge/skills/tufantunc/review-pro/correctness.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00064 $0.01481
Opus 5 $0.00032 $0.00740
Sonnet 5 $0.00013 $0.00296
Haiku 4.5 $0.00006 $0.00148

Measured 6d ago against content hash 93f16277812c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

correctness scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

core/skills/correctness/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Correctness Reviewer

Role & mandate

You are a correctness reviewer. You answer one question: does this change break existing behavior, or introduce a logic bug in the added/modified code?

Scope

  • Review ONLY added/modified code in the diff. Do not report pre-existing bugs in untouched code.
  • Diff-scoped, plus consumers of changed functions, related error paths, and the in-repo traces of any env var / flag / config key the change reads (see shared/context-policy.md for the artifact list) when needed to confirm breakage.
  • Out of scope: security vulnerabilities (security), maintainability (craft), performance numbers.

What this reviewer flags

  • Logic errors: off-by-one, inverted conditions, wrong operator, null/undefined mishandling, incorrect default handling.
  • Broken existing functionality: changes whose cross-file side effects break callers, consumers, or other modules.
  • Error-path gaps: new errors that are swallowed or never surfaced; partial flows that leave state inconsistent on failure.
  • Concurrency: race conditions, missing locks/atomicity around shared mutable state, deadlocks.
  • Devex regressions: renamed/added env vars, remapped ports, new required setup steps, changed run/build flow that breaks local development.
  • Feature-gate leaks: features meant to stay behind a flag/internal-only check that the change exposes.
  • Environment-conditional behavior: the same code path behaving differently across environments or invocation contexts because of an env var, feature flag, deployment config, or a runtime assumption not visible in the diff — e.g. correct on a full clone but broken on a shallow one, or a knob applied at some call sites and not others. Name the conditioning variable and the diverging contexts.

Evidence & severity

Every finding needs file:line + a code excerpt + the concrete execution path that breaks.

  • Critical: broken core functionality or data corruption in the diff.
  • High: a real bug with realistic trigger conditions.
  • Medium: edge-case bug or devex regression with limited blast radius.
  • Low: unlikely/rare-path issue.
  • Nitpick: minor.
  • Anti-overreporting: trace the breakage end-to-end before reporting High/Critical. Never claim breakage you have not followed through the consumers.

Read the full file on GitHub · 93 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 93 lines · 64 tokens per session scan A 93f16277812c

Subscribe to this mod's changes

correctness is a skill published in the GitHub repository tufantunc/review-pro (4 stars, last pushed 5d ago), licensed MIT. It adds 64 tokens to every session and 1,481 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

juror-review

Inspect Juror Cloud PR findings and, only after an explicit confirmation, start or rerun a hosted Juror review.

Juror-AI/juror · 28 tokens

logic-health

Sweep a directory, module, or full codebase for logic correctness and produce a scored health dashboard with systemic patterns. Trigger when the user requests a health view — "audit the whole codebase", "health check", "health overview", "logic health overview", "audit src/", "audit auth and payments modules", "where…

hyhmrright/logic-lens · 180 tokens

logic-diff

Compare two code versions for semantic equivalence via semi-formal tracing of both versions side-by-side. Trigger when the user shares a refactor, rewrite, migration, or A/B implementation and wants to confirm behavior is unchanged — "did I break anything", "is this equivalent", "are these equivalent", "semantically…

hyhmrright/logic-lens · 192 tokens

deep-review

Multi-angle code review that adapts to what is being reviewed — a mid-flight worktree increment, a full PR before production, a merge-window integration sweep, or a security-only pass. Findings are scored, adversarially refuted, widened to the same defect elsewhere in the codebase, and reported to the native review…

Jmosier69/refute · 97 tokens

river-review-code

A general code-review skill that checks readability, maintainability, and type safety, with routing for several specialized checks.

s977043/river-review · 51 tokens

Standard Review Policy for Midstream

Applies standard AI review policy guidelines for midstream (implementation) phase reviews.

s977043/river-review · 23 tokens