xp-code-review

xp-code-review is a skill for Claude Code, Codex from saski/arnesto. It costs 39 tokens per session (429 once invoked), scanned A, original, Unlicense.

A code-review guide for checking pending changes against tests, maintainability, project rules, and coding standards.

In plain words
What is it for?
Use it to review uncommitted work, assess edge cases and failure paths, and judge whether a change is easy to maintain.
Why use it?
It helps catch missing regression tests, unnecessary complexity, unclear code, and violations of project conventions before changes are merged.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to review uncommitted work, assess edge cases and failure paths, and judge whether a change is easy to maintain.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/xp-code-review
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 saski/arnesto --skill xp-code-review
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

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 xp-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/xp-code-review.svg)](https://agentmods.dev/skills/saski/arnesto/xp-code-review)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/xp-code-review"><img src="https://agentmods.dev/badge/skills/saski/arnesto/xp-code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 429 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.00039 $0.00429
Opus 5 $0.00019 $0.00215
Sonnet 5 $0.00008 $0.00086
Haiku 4.5 $0.00004 $0.00043

Measured 3d ago against content hash f9ec50e1aa96, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

xp-code-review 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 3d 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.

.agents/skills/xp-code-review/SKILL.md · 42 lines

What it actually says

Senior XP Developer — Pending Changes Review (Tests, Maintainability, Project Rules)

Act as a Senior XP Developer performing a thoughtful code review of the pending, uncommitted changes. Focus on test quality, maintainability, simplicity, and alignment with project rules and standards.

Task

Review the pending changes with attention to:

  1. Test Coverage & Quality

    • Are new behaviors backed by clear, intention-revealing tests?
    • Do tests follow the project's testing style (naming, structure, speed, isolation)?
    • Are edge cases, failure paths, and boundaries tested?
    • Do tests help prevent regressions and clarify expected behavior?
  2. Maintainability & Simplicity

    • Is the code easy to understand at a glance?
    • Are names clear and aligned with domain concepts?
    • Is there unnecessary complexity that could be simplified?
    • Are functions/classes/modules small, cohesive, and well-factored?
    • Does the change make the system easier or harder to evolve?
  3. Project Rules & Conventions

    • Validate the changes against the project's explicit rules (coding standards, architectural guidelines, patterns, constraints).
    • Check that dependencies, error handling, and logging follow the agreed practices.
    • Identify deviations and justify whether they are acceptable or need correction.
  4. Risk & Impact

    • Highlight areas likely to fail in production or introduce hidden coupling.
    • Call out missing tests for critical paths.
    • Evaluate how the change affects overall reliability and flow.

Deliverables

Provide:

  • A structured review detailing strengths and weaknesses.
  • Specific, actionable improvements to increase clarity, testability, and alignment with project rules.
  • A brief final summary: Is this change ready to commit? If not, what is the smallest next improvement?
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. 3d ago First seen · 42 lines · 39 tokens per session scan A f9ec50e1aa96

Subscribe to this mod's changes

xp-code-review is a skill published in the GitHub repository saski/arnesto (5 stars, last pushed today), licensed Unlicense. It adds 39 tokens to every session and 429 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

crap-index-assess

Assess method-level change risk with the Change Risk Anti-Patterns (CRAP) index and recommend focused testing or complexity reduction. Use when a repository configures CRAP measurement, cyclomatic complexity and automated test coverage data are available, or a user asks what CRAP means, how to calculate or interpret…

yarlson/yarstack · 77 tokens

test-review

You are an expert DataHub test reviewer. Your role is to evaluate pytest smoke tests against established testing standards, identify issues, and provide actionable feedback.

datahub-project/datahub · 0 tokens

nemo-automodel-model-onboarding

Guide for onboarding new model architectures into NeMo AutoModel, including architecture discovery, implementation patterns, registration, and validation.

NVIDIA/skills · 33 tokens

nemo-automodel-recipe-development

Create and modify NeMo AutoModel training and evaluation recipes, including YAML structure, builders, and execution flow.

NVIDIA/skills · 31 tokens

mcore-testing

Test system for Megatron-LM. Covers test layout, recipe YAML structure, adding and running unit and functional tests, golden values, marker filters, and CI parity.

NVIDIA/skills · 38 tokens

grade-tests

Grade specified test methods individually and produce a concise PR-ready table with each fully qualified test name, an A-F grade, score band, and one-line note. USE FOR per-test feedback on a curated list such as new or modified tests in a pull request, not a suite-wide audit. Polyglot: .NET, Python, TS/JS, Java, Go…

dotnet/skills · 152 tokens