code-review

code-review is a skill for Cursor from girijashankarj/cursor-handbook. It costs 27 tokens per session (464 once invoked), scanned A, original, MIT.

A structured checklist for reviewing code changes, pull requests, or selected files. It checks behavior, architecture, security, code quality, error handling, and tests.

In plain words
What is it for?
Use it to review new features, bug fixes, refactors, and test changes, including input validation, authentication, database queries, logging, and edge cases.
Why use it?
It helps reviewers find defects, security problems, missing tests, and inconsistent patterns before code is merged.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to review new features, bug fixes, refactors, and test changes, including input validation, authentication, database queries, logging, and edge cases.

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

Made for: Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/girijashankarj/cursor-handbook/code-review.svg)](https://agentmods.dev/skills/girijashankarj/cursor-handbook/code-review)
Your own site
<a href="https://agentmods.dev/skills/girijashankarj/cursor-handbook/code-review"><img src="https://agentmods.dev/badge/skills/girijashankarj/cursor-handbook/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 464 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00027 $0.00464
Opus 5 $0.00014 $0.00232
Sonnet 5 $0.00005 $0.00093
Haiku 4.5 $0.00003 $0.00046

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

Security

Grade A, and why

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

.cursor/skills/backend/code-review/SKILL.md · 63 lines

What it actually says

Skill: Code Review Workflow

Trigger

When the user asks to review code, a PR, or specific files.

Steps

Step 1: Understand Context

  • Read the PR description or user's explanation
  • Identify the type of change (feature, bug fix, refactor, test)
  • Check which files are modified

Step 2: High-Level Review

  • Does the change accomplish its stated goal?
  • Is the approach appropriate for the problem?
  • Are there simpler alternatives?
  • Does it follow project architecture patterns?

Step 3: Security Review

  • No hardcoded secrets or credentials
  • No PII in logs or error messages
  • Input validation on all external inputs
  • Parameterized database queries
  • Proper authentication/authorization checks
  • No sensitive data in URLs or headers

Step 4: Code Quality Review

  • Functions are single-responsibility and < 30 lines
  • Naming is clear and consistent
  • No code duplication
  • Error handling is comprehensive
  • Logging includes correlationId
  • Import order follows conventions

Step 5: Testing Review

  • Tests exist for new/changed code
  • Success and error paths tested
  • Edge cases covered
  • Mocks are appropriate (not over-mocking)
  • Test names are descriptive

Step 6: Performance Review

  • No N+1 database queries
  • Appropriate use of indexes
  • No unnecessary data loading
  • Caching where appropriate
  • No memory leaks

Step 7: Provide Feedback

Use this format:

  • 🔴 Critical: Must fix before merge
  • 🟡 Suggestion: Should improve
  • 🟢 Nitpick: Optional improvement
  • 👍 Positive: Things done well

Completion

Review is complete with actionable feedback categorized by priority.

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 · 63 lines · 27 tokens per session scan A 8bc254bc76ac

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository girijashankarj/cursor-handbook (30 stars, last pushed 8d ago), licensed MIT. It adds 27 tokens to every session and 464 once invoked, about $0.0001 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

code-review

Use when asked to review a PR, MR, branch, or diff, audit changed files, or check code quality.

evanca/flutter-ai-rules · 27 tokens

octocode-roast

Use when code needs a blunt evidence-backed roast or memorable critique: smell inventory, debt ranking, hot-path autopsy, savage/diff review, security or performance sins, or practical redemption paths. Phrases like roast this, brutal review, top sins, cleanup debt. Polite evidence-first PR review → octocode-research.

bgauryy/octocode · 71 tokens

audit-code-review

Review this PR or diff for quality, security, and maintainability. Use when reviewing pull requests, examining a named change set, or the user asks for a code review of current work. Repo-wide anti-patterns → audit-code-quality. Bulk transform semantics → audit-codemod-safety.

kensaurus/cursor-kenji · 63 tokens

audit-codemod-safety

Read-only audit of a codemod or bulk mechanical transform for behavior-preservation — compiles/lints is not same-behavior. Use when "did this codemod break anything", "audit this bulk refactor", or before merging a mass find-replace. Diff quality → audit-code-review. SQL → plan-data-integrity.

kensaurus/cursor-kenji · 76 tokens

audit-doctrine

Read-only audit of custom lint/ratchet doctrine — is each rule right on the merits, not merely enforced. Use when "is this lint rule wrong", "the ratchet banned a legitimate pattern", "audit our guardrail doctrine". Enforcement → audit-gate-logic. Consolidation → housekeep-gates.

kensaurus/cursor-kenji · 68 tokens

enhance-arch-boundaries

Install mechanically-enforced architecture boundaries (dependency-cruiser / eslint-boundaries) so layer direction, feature isolation, and forbidden imports fail CI. Use when "enforce module boundaries" or "stop spaghetti imports". Advisory audit → audit-backend-architecture. Rule content → audit-doctrine.

kensaurus/cursor-kenji · 66 tokens