code-review-checklist

code-review-checklist is a skill for Claude Code, Codex from 7-e1even/learn-agent. It costs 47 tokens per session (473 once invoked), scanned A, original, MIT.

A structured checklist for reviewing code changes or pull requests. It checks whether the change works, handles unusual inputs and failures, and has appropriate tests.

In plain words
What is it for?
Use it to review diffs and pull requests, test boundary cases, inspect error paths, identify missing tests, and group findings by severity.
Why use it?
It reduces the chance of overlooking correctness bugs, unsafe edge cases, resource leaks, or untested behavior while focusing the review on concrete findings.

Skill for Claude CodeCodex

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

Good fit Use it to review diffs and pull requests, test boundary cases, inspect error paths, identify missing tests, and group findings by severity.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/7-e1even/learn-agent/code-review-checklist/github.svg)](https://agentmods.dev/skills/7-e1even/learn-agent/code-review-checklist)
Your own site
<a href="https://agentmods.dev/skills/7-e1even/learn-agent/code-review-checklist"><img src="https://agentmods.dev/badge/skills/7-e1even/learn-agent/code-review-checklist/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-checklist

Your own site · 80×15
<a href="https://agentmods.dev/skills/7-e1even/learn-agent/code-review-checklist"><img src="https://agentmods.dev/badge/skills/7-e1even/learn-agent/code-review-checklist.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 473 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.00047 $0.00473
Opus 5.5 $0.00019 $0.00189
Sonnet 5.5 $0.00009 $0.00095
Haiku 4.5 $0.00005 $0.00047

Measured 3mo ago against content hash e7cde0a90a23, 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-checklist 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 3mo 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.

notes/s10_prompt_assembly/skills/code-review-checklist/SKILL.md · 37 lines

What it actually says

代码审查清单

审查的第一原则:先读需求再读 diff。不知道这次改动想达成什么,就只能审出格式问题。

正确性(最高优先级)

  • 改动是否真的解决了它声称要解决的问题?构造一个具体输入在脑中跑一遍。
  • 有没有"顺手"改了不相关的行为?每一行改动都应该能追溯到本次目标。
  • 并发/重入:这段代码被同时调用两次会怎样?

边界

  • 空集合、空字符串、null/undefined、0、负数、超长输入——逐个问"这里会怎样"。
  • 循环的第一次和最后一次迭代是否和中间行为一致?
  • 时区、编码(UTF-8 BOM、CRLF)、路径分隔符这类"在我机器上没问题"的经典来源。

错误处理

  • 失败路径是吞掉、抛出还是返回错误值?和周围代码的约定一致吗?
  • 报错文案是否包含足够上下文(哪个文件、哪个参数、期望什么)让人照做就能修?
  • 资源(文件句柄、子进程、定时器)在错误路径上是否也被释放?

测试盲区

  • 新增分支有没有对应测试?没有的话,是"难测"还是"忘了"?
  • 测试断言的是行为还是实现细节?断实现细节的测试会在无害重构时误报。

输出格式

按严重度分组给结论:必须改(正确性/安全)→ 建议改(可维护性)→ 可选(风格)。 每条指出具体行号和理由,不说"感觉不太好"这种无法执行的话。

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. 3mo ago First seen · 37 lines · 47 tokens per session scan A e7cde0a90a23

Subscribe to this mod's changes

code-review-checklist is a skill published in the GitHub repository 7-e1even/learn-agent (292 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 473 once invoked, about $0.0002 per session on Opus 5.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.

Related

code-review-checklist compared with skills from other repositories

code-review-checklist next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-review-checklist7-e1even/learn-agentSkill2922mo agoMITA47Claude Code, Codex
ahk-reviewenmanuelmag/agent-harness-kitSkill1831mo agoApache-2.0A35Claude Code
review-agentlimecloud/limeSkill1.5k11d agoGPL-3.0A48Codex
open-code-reviewalibaba/open-code-reviewSkill57k4d agoApache-2.0A86Cursor
dingtalk_channel_connectagentscope-ai/QwenPawSkill38k3d agoApache-2.0A69Claude Code, Codex
pdfagentscope-ai/QwenPawSkill38k3d agoApache-2.0A95Claude Code, Codex
make_planagentscope-ai/QwenPawSkill38k3d agoApache-2.0A51Claude Code, Codex