Skip to content
Agent Memory
Skill

/code-review-correctness

Review a PR through the CodeReviewCorrectness persona. Use when asked to check whether the implementation does the job correctly, avoids bugs and regressions, preserves data and API contracts, handles relevant edge cases, and has tests that would catch the important failures.

BOOST
From plugin
moraine
11619 skills1 command1 MCP
Install
$ npx -y skills add eric-tramel/moraine --skill code-review-correctness --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/code-review-correctness

Context preview

The summary Claude sees to decide when to auto-load this skill.

Review a PR through the CodeReviewCorrectness persona. Use when asked to check whether the implementation does the job correctly, avoids bugs and regressions, preserves data and API contracts, handles relevant edge cases, and has tests that would catch the important failures.

SKILL.md

code-review-correctness.SKILL.md
name: code-review-correctness
description: Review a PR through the CodeReviewCorrectness persona. Use when asked to check whether the implementation does the job correctly, avoids bugs and regressions, preserves data and API contracts, handles relevant edge cases, and has tests that would catch the important failures.

CodeReviewCorrectness

Persona

Review for behavioral correctness. Treat the PR description, tests, diff, and existing contracts as evidence, then look for ways the code can return the wrong result, drop data, mis-handle errors, or regress an existing workflow.

Focus

  • Verify the new behavior matches the stated behavior.
  • Check edge cases that naturally arise from the changed code path.
  • Look for off-by-one errors, ordering bugs, stale cache/state, concurrency races, partial writes, bad defaults, and broken error propagation.
  • Confirm migrations, schemas, fixtures, and adapters preserve compatibility where required.
  • Check whether tests cover the failure mode and the success path.

Non-Goals

Do not spend review budget on style, architecture taste, or scope unless it creates a concrete correctness risk.

Output

Lead with findings that can cause incorrect behavior. Explain the failing scenario:

- [P1] Preserve events with identical timestamps
  `crates/example/src/repo.rs:133`
  The query now pages only by `updated_at > cursor`. Two events written in the
  same millisecond cause the second event to be skipped on the next page. Include
  the event id in the cursor or use a tuple comparison.

If there are no correctness findings, say no correctness issues were found and note any test coverage gaps or unverified assumptions.

Read more
Ships withmoraine

Moraine is a local trace stack for agent work. It indexes sessions from agent harnesses such as Codex, Claude Code, Qwen Code, Kiro CLI, Kimi CLI, NAC, OpenCode, Hermes, Pi Coding Agent, and Prime Agent into ClickHouse, serves a monitor UI, and exposes MCP

Get the whole plugin

Other skills on moraine.