review-efficiency-patterns

review-efficiency-patterns is a skill for Claude Code, Codex from mickeyyaya/refactoring-skills. It costs 47 tokens per session (2,572 once invoked), scanned A, original, MIT.

A guide to spending limited code-review time where it is most likely to find important defects. It covers risk ordering, time limits, stopping points, and review-size limits.

In plain words
What is it for?
Use it to plan review order, set time boxes, and decide when a review has gone far enough.
Why use it?
It reduces wasted review effort and helps reviewers focus first on changes involving security, data, payments, APIs, and other high-risk areas.

Skill for Claude CodeCodex

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

Good fit Use it to plan review order, set time boxes, and decide when a review has gone far enough.

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

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 review-efficiency-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/mickeyyaya/refactoring-skills/review-efficiency-patterns/github.svg)](https://agentmods.dev/skills/mickeyyaya/refactoring-skills/review-efficiency-patterns)
Your own site
<a href="https://agentmods.dev/skills/mickeyyaya/refactoring-skills/review-efficiency-patterns"><img src="https://agentmods.dev/badge/skills/mickeyyaya/refactoring-skills/review-efficiency-patterns/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 review-efficiency-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/mickeyyaya/refactoring-skills/review-efficiency-patterns"><img src="https://agentmods.dev/badge/skills/mickeyyaya/refactoring-skills/review-efficiency-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,572 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.00047 $0.02572
Opus 5 $0.00023 $0.01286
Sonnet 5 $0.00009 $0.00514
Haiku 4.5 $0.00005 $0.00257

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

Security

Grade A, and why

review-efficiency-patterns 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 9d 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.

skills/review-efficiency-patterns/SKILL.md · 233 lines

How it starts

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

Review Efficiency Patterns

Overview

Review time is finite. This skill teaches how to maximize defect detection per minute by applying risk-based ordering, time-boxing, explicit stopping signals, and session hygiene. Pairs with review-code-quality-process (what to check) and review-accuracy-calibration (how to calibrate findings).

Risk-Based Review Ordering

Start with the highest-risk surface before reading anything else.

Change Type Risk Tier Review Priority Why
Auth, tokens, session management CRITICAL Review first, always Defects are exploitable immediately
Security validation, input handling CRITICAL Review first, always Injection and bypass bugs live here
Database writes, migrations, deletes HIGH Review second Data loss is irreversible
External API calls, payment flows HIGH Review second Failures have real-world consequences
Public API contracts, response schemas HIGH Review second Breaking changes cascade to consumers
Business logic, calculation, pricing MEDIUM-HIGH Review third Subtle errors go unnoticed until production
Error handling, retry logic MEDIUM Review third Silent failures degrade reliability over time
Internal service calls, shared utilities MEDIUM Review third Coupling and blast radius risk
UI rendering, display logic LOW-MEDIUM Review fourth Visible defects are reported quickly
Config changes, feature flags LOW-MEDIUM Review fourth Often high blast radius despite small diff
Documentation, comments LOW Review last or skip No runtime impact
Generated code, vendor files SKIP Do not review Machine-written; review the generator instead
Test files (passing CI) SKIM Spot-check only Confirm coverage intent, skip implementation detail

Within each tier, order by blast radius: how many users or downstream systems are affected if this code is wrong.

Time-Boxing Heuristics

Read the full file on GitHub · 233 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. 9d ago First seen · 233 lines · 47 tokens per session scan A d8159344e60b

Subscribe to this mod's changes

review-efficiency-patterns is a skill published in the GitHub repository mickeyyaya/refactoring-skills (6 stars, last pushed 5mo ago), licensed MIT. It adds 47 tokens to every session and 2,572 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