Agent skill

Code Review Correctness

by eric-tramel in eric-tramel/moraine

Review a PR through the CodeReviewCorrectness persona. An agent skill from eric-tramel/moraine.

Apache-2.0Auto-check passedDevelopment

Install Code Review Correctness

skills CLI
$ npx skills add eric-tramel/moraine --skill code-review-correctness -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install eric-tramel/moraine code-review-correctness --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/eric-tramel/moraine.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/moraine-dev/skills/code-review-correctness .claude/skills/code-review-correctness && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-review-correctness
GitHub stars
117
Token cost
~428 tokens
SKILL.md length
149 words
Files
2
Skills in repo
19
Repo updated
First seen
Licence
Apache-2.0

At a glance

Review a PR through the CodeReviewCorrectness persona. An agent skill from eric-tramel/moraine.

  • Asked to check whether the implementation does the job correctly
  • SKILL.md covers Persona, Focus, Non-Goals and Output
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Avoids bugs and regressions

What it does

Code Review Correctness is an agent skill from eric-tramel/moraine. 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.

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering API design and Code review. The repository describes itself as: Unified realtime agent trace database & search MCP. The licence is Apache-2.0.

When your agent uses it

  • Asked to check whether the implementation does the job correctly
  • Avoids bugs and regressions
  • Preserves data and API contracts
  • Handles relevant edge cases

Example prompts

  • “/code-review-correctness”

What it can do on your machine

Read from SKILL.md and the folder at commit 2fb4aec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Review Correctness loads about 428 tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 149 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~428

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from eric-tramel/moraine at commit 2fb4aec, republished under its Apache-2.0 licence (© eric-tramel). 149 words, ~428 tokens.

Download SKILL.mdSave it as .claude/skills/code-review-correctness/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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:

markdown
- [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.

© eric-tramel, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/moraine-dev/skills/code-review-correctness of eric-tramel/moraine.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 2fb4aec

Compare with similar skills

Code Review Correctness next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Review Correctness compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review Correctness this skilleric-tramel/moraine117—~428Automated safety check: PassApache-2.0
Code Qualitypiomin/claude-ai-spring-boot1.3k—~2.2kAutomated safety check: PassApache-2.0
Software Design Philosophyluoling8192/software-design-philosophy-skill344—~3.4kAutomated safety check: PassMIT
Fallow Reviewfallow-rs/fallow-skills129—~5.4kAutomated safety check: PassMIT
Frappe Code Reviewfrappe/skills146—~3.8kAutomated safety check: PassNone
Robotics Software Principlesarpitg1304/robotics-agent-skills368—~7.6kAutomated safety check: PassApache-2.0

Similar skills

  • Code Quality

    piomin/claude-ai-spring-boot

    Comprehensive code review for Java - clean code principles, API contracts, null safety, exception handling, and performance.

    1.3k GitHub stars~2.2k tokensUpdated 5 mo ago
    DevelopmentAuto-check passed
  • Software Design Philosophy

    luoling8192/software-design-philosophy-skill

    Software design philosophy guide based on John Ousterhout's "A Philosophy of Software Design." Use this skill during: code reviews, architecture discussions, API design, module decomposition…

    344 GitHub stars~3.4k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Fallow Review

    fallow-rs/fallow-skills

    Review AI-generated or human-written code changes with fallow's graph-grounded review brief.

    129 GitHub stars~5.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Frappe Code Review

    frappe/skills

    Review code for any Frappe application — a checklist distilled from years of engineering practice on correctness, security, performance, concurrency, readability, API design, and testing.

    146 GitHub stars~3.8k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Robotics Software Principles

    arpitg1304/robotics-agent-skills

    Foundational software design principles applied specifically to robotics module development.

    368 GitHub stars~7.6k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Cpp Core Guidelines

    SpecterOps/skills

    Apply a condensed version of the ISO C++ Core Guidelines to C++ design, implementation, refactoring, modernization, and code review.

    702 GitHub stars~500 tokensUpdated 14 days ago
    DevelopmentAuto-check passed

More from eric-tramel/moraine

All 19 skills in this repo
  • Moraine Release Publisher

    eric-tramel/moraine

    Cuts and publishes a Moraine release end to end: version bump PR, tag, GitHub release notes, workflow check and PyPI package verification.

    117 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Moraine Release Notes

    eric-tramel/moraine

    Rewrites a moraine GitHub release body into a usage-focused format with install block, what's new, platform table, upgrade notes and one deduplicated changelog.

    117 GitHub stars~2.7k tokensUpdated 2 days ago
    Auto-check passed
  • Multi-Persona Code Review

    eric-tramel/moraine

    Coordinates a delegated review of a Moraine PR or local change by seven focused reviewer subagents, merges their findings and follows up on the fixes.

    117 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Elegance-Focused Code Review

    eric-tramel/moraine

    Looks at a pull request for the smallest good design, hunting for simplifications and architectural moves that remove whole classes of problems.

    117 GitHub stars~473 tokensUpdated 2 days ago
    Auto-check passed
  • Idiomatic Code Review

    eric-tramel/moraine

    Reviews a pull request for idiomatic implementation: use of the language, standard library, ecosystem conventions and the repository's own patterns.

    117 GitHub stars~469 tokensUpdated 2 days ago
    Auto-check passed
  • Code Review Security Review

    eric-tramel/moraine

    Review a PR through the CodeReviewSecurityReview persona. An agent skill from eric-tramel/moraine.

    117 GitHub stars~497 tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Code Review Correctness

What does Code Review Correctness do?

Review a PR through the CodeReviewCorrectness persona. An agent skill from eric-tramel/moraine. Code Review Correctness is an agent skill from eric-tramel/moraine. Review a PR through the CodeReviewCorrectness persona.

When should I use Code Review Correctness?

Code Review Correctness fits situations like: asked to check whether the implementation does the job correctly; avoids bugs and regressions; preserves data and API contracts; handles relevant edge cases.

How do I install Code Review Correctness in Claude Code?

Run `npx skills add eric-tramel/moraine --skill code-review-correctness -a claude-code`. Or copy the skill folder (plugins/moraine-dev/skills/code-review-correctness in eric-tramel/moraine) into .claude/skills/code-review-correctness in your project. Claude Code loads it when a task matches its description.

How do I install Code Review Correctness in Codex?

Run `npx skills add eric-tramel/moraine --skill code-review-correctness -a codex`. Or copy the skill folder (plugins/moraine-dev/skills/code-review-correctness in eric-tramel/moraine) into .agents/skills/code-review-correctness in your project. Codex loads it when a task matches its description.

Can I use Code Review Correctness in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add eric-tramel/moraine --skill code-review-correctness -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-review-correctness, .gemini/skills/code-review-correctness, .github/skills/code-review-correctness and .opencode/skills/code-review-correctness in your project.

What does Code Review Correctness need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Review Correctness is instructions for the agent only.

Does Code Review Correctness access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Review Correctness safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Review Correctness use?

Code Review Correctness is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Review Correctness use?

About 428 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Review Correctness?

Skills that share tags, products or a category with Code Review Correctness: Code Quality (piomin/claude-ai-spring-boot, 1.3k stars), Software Design Philosophy (luoling8192/software-design-philosophy-skill, 344 stars), Fallow Review (fallow-rs/fallow-skills, 129 stars) and Frappe Code Review (frappe/skills, 146 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review Correctness?

eric-tramel (a GitHub user) maintains it in eric-tramel/moraine, which has 117 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 5, 2026.

Source: eric-tramel/moraine on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.