code-quality-review

code-quality-review is a skill for Claude Code, Codex from thixpin/pitway. It costs 79 tokens per session (673 once invoked), scanned A, original, MIT.

A checklist for reviewing a code change or codebase section for defects and maintainability. It covers readability, design principles, performance and compatibility with existing code.

In plain words
What is it for?
Reviewing diffs, branches or merge requests for correctness risks, hard-to-maintain code and backward-compatibility problems.
Why use it?
It makes review findings specific by identifying the location, severity, problem and suggested fix instead of giving general opinions.

Skill for Claude CodeCodex

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/thixpin/pitway/code-quality-review
Any agent
npx skills add thixpin/pitway --skill code-quality-review
Clone the repo
git clone --depth 1 https://github.com/thixpin/pitway

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thixpin/pitway/code-quality-review.svg)](https://agentmods.dev/skills/thixpin/pitway/code-quality-review)
Your own site
<a href="https://agentmods.dev/skills/thixpin/pitway/code-quality-review"><img src="https://agentmods.dev/badge/skills/thixpin/pitway/code-quality-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 673 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 $0.00079 $0.00673
Opus 5 $0.00039 $0.00336
Sonnet 5 $0.00016 $0.00135
Haiku 4.5 $0.00008 $0.00067

Measured 4d ago against content hash 5ae5a7a03790, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-quality-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 4d 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.

src/integrations/common/skills/code-quality-review/SKILL.md · 54 lines

How it starts

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

Code Quality Review

Review for defects and maintainability, in that order. Every finding names the location, the concrete problem, and a suggested fix; every finding has a severity.

Scope

Reviews a change — a diff, branch, or set of files — at the function and file level.

Use for quality review of written code: readability, maintainability, correctness risks, backward compatibility.

Do not use for:

  • System-wide structure, module boundaries, or layering — use architecture-review. If a finding here is really "the whole codebase is shaped wrong," it belongs there.
  • Security review — use security-audit.
  • Reviewing a GitHub pull request — use the built-in /review.

Method

  1. Understand the change's intent before judging it — read the description, then the diff, then enough surrounding code to know how the pieces are used.
  2. Review the design first (is this the right shape?), then the details (is it written well?). A perfectly formatted wrong abstraction is still wrong.
  3. Report findings by severity: blocker (bugs, data loss, breaking changes), should-fix (maintainability problems that will hurt soon), nit (style and polish, clearly labeled as optional).
  4. Distinguish "this violates the project's conventions" from "this differs from my preference." Only the first is a finding.

Checklist

Correctness & safety

  • Edge cases: empty inputs, nulls, boundaries, concurrency, partial failure.
  • Error handling: failures surfaced, not swallowed; resources released on all paths.

Backward compatibility

  • Public APIs, wire formats, database schemas, and config keys keep working for existing callers, or the break is explicit and justified.
  • Behavior changes to shared code checked against all existing call sites.

Maintainability — scoped to the change; escalate system-wide findings to architecture-review

  • DRY: real duplication (same knowledge in two places) flagged; incidental similarity left alone.
  • Single responsibility: each unit has one reason to change; mixed concerns (I/O + logic + formatting in one function) flagged.
  • Dependencies point the right way — no new coupling from low-level modules to high-level ones, no cycles.
  • Naming says what things are; no comment needed to decode a name.

Read the full file on GitHub · 54 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. 4d ago First seen · 54 lines · 79 tokens per session scan A 5ae5a7a03790

Subscribe to this mod's changes

code-quality-review is a skill published in the GitHub repository thixpin/pitway (19 stars, last pushed 5d ago), licensed MIT. It adds 79 tokens to every session and 673 once invoked, about $0.0004 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.