Agent skill

Code Review Checklist

by 7-e1even in 7-e1even/learn-agent

审查代码改动(review diff / PR)时使用——按固定清单过正确性、边界、错误处理和测试盲区,避免只看顺眼不顺眼。

MITAuto-check passedDevelopment

Install Code Review Checklist

skills CLI
$ npx skills add 7-e1even/learn-agent --skill code-review-checklist -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install 7-e1even/learn-agent code-review-checklist --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/7-e1even/learn-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/notes/s10_prompt_assembly/skills/code-review-checklist .claude/skills/code-review-checklist && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-review-checklist
GitHub stars
282
Token cost
~176 tokens
SKILL.md length
24 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

审查代码改动(review diff / PR)时使用——按固定清单过正确性、边界、错误处理和测试盲区,避免只看顺眼不顺眼。

  • Tasks that involve Code review
  • SKILL.md covers 正确性(最高优先级), 边界, 错误处理 and 测试盲区, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Review Checklist is an agent skill from 7-e1even/learn-agent. 审查代码改动(review diff / PR)时使用——按固定清单过正确性、边界、错误处理和测试盲区,避免只看顺眼不顺眼。

Its SKILL.md is about 180 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Code review. It works with OpenAI and Node.js. The repository describes itself as: 学习Agent开发的笔记,尝试让Agent从可用到可靠. The licence is MIT.

When your agent uses it

  • Tasks that involve Code review

Example prompts

  • “/code-review-checklist”

What it can do on your machine

Read from SKILL.md and the folder at commit 8664245. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Review Checklist loads about 176 tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 24 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~176

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from 7-e1even/learn-agent at commit 8664245, republished under its MIT licence (© 7-e1even). 24 words, ~176 tokens.

Download SKILL.mdSave it as .claude/skills/code-review-checklist/SKILL.md (or your agent's skills folder).
name
code-review-checklist
description
审查代码改动(review diff / PR)时使用——按固定清单过正确性、边界、错误处理和测试盲区,避免只看顺眼不顺眼。

代码审查清单

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

正确性(最高优先级)

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

边界

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

错误处理

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

测试盲区

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

输出格式

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

© 7-e1even, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in notes/s10_prompt_assembly/skills/code-review-checklist of 7-e1even/learn-agent.

Open the folder on GitHubat commit 8664245

Compare with similar skills

Code Review Checklist next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Review Checklist compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review Checklist this skill7-e1even/learn-agent282—~176Automated safety check: PassMIT
Open Code Review CLIalibaba/open-code-review44k—~3.1kAutomated safety check: PassApache-2.0
Review Implement Phaseprisma/orm48k—~1.7kAutomated safety check: PassApache-2.0
Change Verification Gatefengshao1227/ccg-workflow5.9k—~511Automated safety check: NotesMIT
Deep Reviewdyad-sh/dyad22k—~1.4kAutomated safety check: PassCustom licence
Coding Protocollencx/skills196—~2.4kAutomated safety check: PassMIT

Similar skills

  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    44k GitHub stars~3.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Official

    Implements triaged pull request review actions, commits focused fixes, posts status replies on GitHub and resolves the threads.

    48k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Change Verification Gate

    fengshao1227/ccg-workflow

    Analyzes a code diff for documentation sync, test coverage and impact scope, warning when docs or tests lag behind a design-level change or a large edit.

    5.9k GitHub stars~511 tokensUpdated 22 days ago
    DevelopmentAuto-check: notes
  • Deep Review

    dyad-sh/dyad

    Deep multi-agent code review run locally — a fleet of parallel finder agents reviews the diff from independent angles, then adversarial verifier agents reproduce each finding before it is reported.

    22k GitHub stars~1.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Coding Protocol

    lencx/skills

    Risk-scaled repo execution and code-evidence protocol. An agent skill from lencx/skills.

    196 GitHub stars~2.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Gated Module Implementation

    AlephantAI/AIephant-AI-Agent-Gateway

    Plan-first, one-time human plan approval; batched execution in either Gated (human confirms between batches) or Auto-loop (continuous run after plan approval); strict task-state updates; automatic…

    114 GitHub stars~2.7k tokensUpdated 3 mo ago
    DevelopmentAuto-check passed

More from 7-e1even/learn-agent

  • Git Commit Convention

    7-e1even/learn-agent

    写 git 提交信息、整理提交历史时使用——Conventional Commits 的格式、类型选择和拆分原则. An agent skill from 7-e1even/learn-agent.

    282 GitHub stars~206 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Code Review Checklist

What does Code Review Checklist do?

审查代码改动(review diff / PR)时使用——按固定清单过正确性、边界、错误处理和测试盲区,避免只看顺眼不顺眼。. Code Review Checklist is an agent skill from 7-e1even/learn-agent.

When should I use Code Review Checklist?

Code Review Checklist fits situations like: tasks that involve Code review.

How do I install Code Review Checklist in Claude Code?

Run `npx skills add 7-e1even/learn-agent --skill code-review-checklist -a claude-code`. Or copy the skill folder (notes/s10_prompt_assembly/skills/code-review-checklist in 7-e1even/learn-agent) into .claude/skills/code-review-checklist in your project. Claude Code loads it when a task matches its description.

How do I install Code Review Checklist in Codex?

Run `npx skills add 7-e1even/learn-agent --skill code-review-checklist -a codex`. Or copy the skill folder (notes/s10_prompt_assembly/skills/code-review-checklist in 7-e1even/learn-agent) into .agents/skills/code-review-checklist in your project. Codex loads it when a task matches its description.

Can I use Code Review Checklist in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add 7-e1even/learn-agent --skill code-review-checklist -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-review-checklist, .gemini/skills/code-review-checklist, .github/skills/code-review-checklist and .opencode/skills/code-review-checklist in your project.

What does Code Review Checklist need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Review Checklist is instructions for the agent only.

Does Code Review Checklist access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Review Checklist safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Review Checklist use?

Code Review Checklist is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Review Checklist use?

About 176 tokens (SKILL.md is roughly 704 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Review Checklist?

Skills that share tags, products or a category with Code Review Checklist: Open Code Review CLI (alibaba/open-code-review, 44k stars), Review Implement Phase (prisma/orm, 48k stars), Change Verification Gate (fengshao1227/ccg-workflow, 5.9k stars) and Deep Review (dyad-sh/dyad, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review Checklist?

7-e1even (a GitHub user) maintains it in 7-e1even/learn-agent, which has 282 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 5, 2026.

Source: 7-e1even/learn-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.