review-core-correctness

review-core-correctness is a skill for Claude Code, Codex from explyt/spring-plugin. It costs 67 tokens per session (3,180 once invoked), scanned A, original, Apache-2.0.

A mandatory code-review guide for the explyt Spring plugin, covering correctness, contracts, architecture, user-visible behavior, tests, performance, and code quality. It is the broad reasoning pass alongside narrower reviewers.

In plain words
What is it for?
Reviewing pull requests, diffs, commits, or branches for logic errors, broken contracts, architectural problems, UX issues, missing tests, performance concerns, and general code quality.
Why use it?
It helps reviewers understand intended behavior, trace successful and failing paths, and look beyond the first bug they find. The checklist supports coverage without replacing reasoning about the actual change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: agent in frontmatter.

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.

agentmods
npx agentmods add skills/explyt/spring-plugin/review-core-correctness
Any agent
npx skills add explyt/spring-plugin --skill review-core-correctness
Clone the repo
git clone --depth 1 https://github.com/explyt/spring-plugin

Made for: Claude Code, Codex.

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 review-core-correctness

README.md
[![agentmods](https://agentmods.dev/badge/skills/explyt/spring-plugin/review-core-correctness.svg)](https://agentmods.dev/skills/explyt/spring-plugin/review-core-correctness)
Your own site
<a href="https://agentmods.dev/skills/explyt/spring-plugin/review-core-correctness"><img src="https://agentmods.dev/badge/skills/explyt/spring-plugin/review-core-correctness.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,180 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00067 $0.03180
Opus 5 $0.00034 $0.01590
Sonnet 5 $0.00013 $0.00636
Haiku 4.5 $0.00007 $0.00318

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

Security

Grade A, and why

review-core-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.

.explyt/skills/review-core-correctness/SKILL.md · 212 lines

How it starts

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

Core correctness reviewer

You are the mandatory reviewer pass. This is a normative skill and the main reasoning-first reviewer. It covers everything that must not be lost between narrow domain reviewers: correctness, contracts, architecture sanity, UX behavior, tests, and core code-quality rules.

Owned checklist IDs

Use and reference these checklist IDs when applicable:

  • G1, G2, G3, G4, G7, G9, G10, G11, G13
  • PERF1, PERF11, PERF12
  • also reference G5, G6, G12 (owned by review-persistence-security-resources) and G8 (owned by review-ui-platform) when needed for broad reasoning
  • and, when needed for broad reasoning, H42, H43, H44, H45, H46

Non-negotiable review method

  1. Read REVIEW_SCOPE.md and REVIEW_PACKET.md first.
  2. Understand the intent before judging the code.
  3. Trace the happy path, then every unhappy path.
  4. If you find one logic bug, apply the Neighborhood Scan Rule: scan the whole method, class and sibling files.
  5. Do not replace reasoning with checklist ticking. Use the checklist to ensure coverage, not to avoid thinking.

Hard rules

1. Correctness

The most important question: does the code do what it claims to do?

  • Read the PR description and linked issue. Understand the intent before reading code.
  • Trace the happy path. Does it produce the correct result?
  • Trace every unhappy path. What happens on:
    • null, empty collection, missing file, missing config?
    • Unresolved Spring bean, missing annotation attribute, malformed YAML/properties file?
    • Library class absent from the project classpath (feature must degrade, not throw)?
    • Concurrent modification, race condition?
    • User cancels the operation mid-way?
    • Component is disposed during async callback?
  • Boundary conditions: first element, last element, empty, single item, maximum size.
  • State consistency: if the code modifies state, is the state consistent after every possible exit point — including exceptions and cancellation? If a try sets state in the try body but does not reset in catch/finally, that is a bug.
  • If there is an if, ask: What happens in the else? Missing else branches are a top source of silent bugs.
  • Order of operations: when multiple side effects happen in sequence (resolve beans, update gutter markers, show notification), ask: Is this the order the user expects? Getting this wrong silently breaks UX.
  • Transitive consistency: if the code resolves a graph of objects (beans → dependent beans, endpoint mappings → handler methods, configs → imported configs), invalidity must propagate to dependents. A resolved parent with an unresolved child is a logic bug.
  • Silent early returns hiding bugs: val x = getSomething() ?: return — ask in what case this is null and whether return masks a state bug.
  • Return type semantics: getX() (singular) → single item or null. getXs() (plural) → collection. Return Set if duplicates are impossible, List only if order matters.

Read the full file on GitHub · 212 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 · 212 lines · 67 tokens per session scan A 60c7fd21612f

Subscribe to this mod's changes

review-core-correctness is a skill published in the GitHub repository explyt/spring-plugin (160 stars, last pushed yesterday), licensed Apache-2.0. It adds 67 tokens to every session and 3,180 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-30.