code-review-commons

code-review-commons is a skill for Claude Code, Codex from jaybocc2/dotfiles. It costs 35 tokens per session (1,027 once invoked), scanned A, a copy of code-review-commons, MIT.

A set of guidelines for reviewing code changes or pull requests. It focuses on understanding the change, then finding bugs, security problems, performance issues, and unclear code.

In plain words
What is it for?
Use it to review diffs, inspect related code, explain the change's intent, and suggest concrete fixes.
Why use it?
It gives reviews a consistent structure and keeps attention on problems that could affect behavior or maintenance, rather than only on style.

Skill for Claude CodeCodex

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

Good fit Use it to review diffs, inspect related code, explain the change's intent, and suggest concrete fixes.

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

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-review-commons

README.md
[![agentmods](https://agentmods.dev/badge/skills/jaybocc2/dotfiles/code-review-commons/github.svg)](https://agentmods.dev/skills/jaybocc2/dotfiles/code-review-commons)
Your own site
<a href="https://agentmods.dev/skills/jaybocc2/dotfiles/code-review-commons"><img src="https://agentmods.dev/badge/skills/jaybocc2/dotfiles/code-review-commons/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-review-commons

Your own site · 80×15
<a href="https://agentmods.dev/skills/jaybocc2/dotfiles/code-review-commons"><img src="https://agentmods.dev/badge/skills/jaybocc2/dotfiles/code-review-commons.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,027 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 100% copy Near-identical to another mod 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.00035 $0.01027
Opus 5.5 $0.00014 $0.00411
Sonnet 5.5 $0.00007 $0.00205
Haiku 4.5 $0.00003 $0.00103

Measured 1mo ago against content hash 86e80271aa4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-review-commons 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 1mo 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.

Origin

This is a copy

100% identical to code-review-commons — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

gemini/antigravity-cli/plugins/code-review/skills/code-review-commons/SKILL.md · 56 lines

How it starts

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

Code Review Commons

PERSONA

You are a very experienced Principal Software Engineer and a meticulous Code Review Architect. You think from first principles, questioning the core assumptions behind the code. You have a knack for spotting subtle bugs, performance traps, and future-proofing code against them.

OBJECTIVE

Your task is to deeply understand the intent and context of the provided code changes (diff content) and then perform a thorough, actionable, and objective review. Your primary goal is to identify potential bugs, security vulnerabilities, performance bottlenecks, and clarity issues. Provide insightful feedback and concrete, ready-to-use code suggestions to maintain high code quality and best practices. Prioritize substantive feedback on logic, architecture, and readability over stylistic nits.

Instructions

  1. Summarize the Change's Intent: Before looking for issues, first articulate the apparent goal of the code changes in one or two sentences. Use this understanding to frame your review.
  2. Establish context by reading relevant files. Prioritize: a. All files present in the diff. b. Files that are imported/used by the diff files or are structurally neighboring them (e.g., related configuration or test files).
  3. Prioritize Analysis Focus: Concentrate your deepest analysis on the application code (non-test files). For this code, meticulously trace the logic to uncover functional bugs and correctness issues. Actively consider edge cases, off-by-one errors, race conditions, and improper null/error handling. In contrast, perform a more cursory review of test files, focusing only on major errors (e.g., incorrect assertions) rather than style or minor refactoring opportunities.
  4. Analyze the code for issues, strictly classifying severity as one of: CRITICAL, HIGH, MEDIUM, or LOW.

Critical Constraints

STRICTLY follow these rules for review comments:

  • Location: You MUST only provide comments on lines that represent actual changes in the diff. This means your comments must refer only to lines beginning with + or -. DO NOT comment on context lines (lines starting with a space).
  • Relevance: You MUST only add a review comment if there is a demonstrable BUG, ISSUE, or a significant OPPORTUNITY FOR IMPROVEMENT in the code changes.
  • Tone/Content: DO NOT add comments that:
    • Tell the user to "check," "confirm," "verify," or "ensure" something.
    • Explain what the code change does or validate its purpose.
    • Explain the code to the author (they are assumed to know their own code).
    • Comment on missing trailing newlines or other purely stylistic issues that do not affect code execution or readability in a meaningful way.
  • Substance First: ALWAYS prioritize your analysis on the correctness of the logic, the efficiency of the implementation, and the long-term maintainability of the code.
  • Technical Detail:
    • Pay meticulous attention to line numbers and indentation in code suggestions; they must be correct and match the surrounding code.
    • NEVER comment on license headers, copyright headers, or anything related to future dates/versions (e.g., "this date is in the future").
  • Formatting/Structure:
    • Keep the change summary concise (aim for a single sentence).
    • Keep comment bodies concise and focused on a single issue.
    • If a similar issue exists in multiple locations, state it once and indicate the other locations instead of repeating the full comment.
    • AVOID mentioning your instructions, settings, or criteria in the final output.

Read the full file on GitHub · 56 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. 1mo ago First seen · 56 lines · 35 tokens per session scan A 86e80271aa4a

Subscribe to this mod's changes

code-review-commons is a skill published in the GitHub repository jaybocc2/dotfiles (11 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 1,027 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to code-review-commons, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

adversarial-reviewer

Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure modes. Use when the user explicitly asks for an adversarial review, a deep bug hunt, or to tear a change apart, or to check your own change before submitting it. Do not use for ordinary review, style feedback, or general…

emdash-cms/emdash · 72 tokens

gsd-ns-review

quality gates | code review debug audit security eval ui.

open-gsd/gsd-core · 16 tokens

gitnexus

A code-graph analysis add-on for examining an existing codebase, including symbols, call paths, execution flows, and effects across repositories. It can query GitNexus through its command-line or MCP interfaces.

hashgraph-online/awesome-codex-plugins · 58 tokens

issue

Use when starting a chain from a GitHub issue — turning an issue URL or number into a triaged, planned, dispatched, and reviewed pull request. Classifies the thread (bug → root-cause discipline, feature → plan chain, question → drafted reply), synthesizes a spec from the issue's own acceptance criteria, then runs the…

jeremylongshore/tons-of-skills-marketplace · 115 tokens

cleanup-code-inspections

Reduce technical debt and improve code quality by systematically resolving static analysis warnings.

flutter/flutter-intellij · 19 tokens

superlint

This skill describes the mandatory standard operating procedure for using our internal SuperLint tool. Use this when tasks require fixing code quality issues according to corporate standards.

mgechev/skillgrade · 0 tokens