Agent skill

Codenote Code Review Prompt

by Philip-Cao-9527 in Philip-Cao-9527/code-note-helper

为 CodeNote Helper 生成 code review 中文 prompt。用于审查当前 diff、指定 commit、PR、发布前风险、文档一致性或扩展审核风险;默认只生成审查任务 prompt,不直接 review、不直接修改代码,除非用户明确要求审查并修复。

MITAuto-check passedDevelopment

Install Codenote Code Review Prompt

skills CLI
$ npx skills add Philip-Cao-9527/code-note-helper --skill codenote-code-review-prompt -a claude-code

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

GitHub CLI
$ gh skill install Philip-Cao-9527/code-note-helper codenote-code-review-prompt --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/Philip-Cao-9527/code-note-helper.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/codenote-code-review-prompt .claude/skills/codenote-code-review-prompt && 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
codenote-code-review-prompt
GitHub stars
273
Token cost
~764 tokens
SKILL.md length
223 words
Files
3 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

为 CodeNote Helper 生成 code review 中文 prompt。用于审查当前 diff、指定 commit、PR、发布前风险、文档一致性或扩展审核风险;默认只生成审查任务 prompt,不直接 review、不直接修改代码,除非用户明确要求审查并修复。

  • Works in 6 steps: 确认用户要的是 code review prompt,而不是直接 review。 → 明确审查范围:当前 diff、指定 commit、PR… → 读取项目材料 → …
  • Tasks that involve Code review
  • SKILL.md covers 技能定位, Skill 交叉引用规则, 使用流程 and 风险地图规则, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Codenote Code Review Prompt is an agent skill from Philip-Cao-9527/code-note-helper. 为 CodeNote Helper 生成 code review 中文 prompt。用于审查当前 diff、指定 commit、PR、发布前风险、文档一致性或扩展审核风险;默认只生成审查任务 prompt,不直接 review、不直接修改代码,除非用户明确要求审查并修复。

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/review-template.md`).

It sits in Development, covering Code review. It works with Google Drive. The repository describes itself as: 一个专为算法刷题、深度学习和 AI 学习场景打造的浏览器扩展。拒绝机械的复制粘贴,帮你自动化生成高质量复盘笔记、内置遗忘曲线驱动的间隔复习、轻松驾驭超长对话,让刷过的每一道题都成为真正的技术资产!. The licence is MIT.

When your agent uses it

  • Tasks that involve Code review

Example prompts

  • “/codenote-code-review-prompt”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 确认用户要的是 code review prompt,而不是直接 review。
  2. 明确审查范围:当前 diff、指定 commit、PR diff、发布包、用户指定文件或目录。
  3. 读取项目材料
  4. 判断是否需要外部事实支撑:如果审查范围涉及外部平台行为、浏览器 API、OAuth / Google Drive / WebDAV、权限 / 审核政策、第三方 API、最新文档、跨浏览器差异、已知社区问题或反复定位失败的 bug,生成的 review prompt…
  5. 读取 references/review-template.md,按本轮范围裁剪。
  6. 输出一份完整、连续、可复制的中文 code review prompt。

What it can do on your machine

Read from SKILL.md and the folder at commit 7421249. 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

Codenote Code Review Prompt loads about 764 tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 41 tokens; SKILL.md has 223 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~764
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.9k

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 Philip-Cao-9527/code-note-helper at commit 7421249, republished under its MIT licence (© Philip-Cao-9527). 223 words, ~764 tokens.

Download SKILL.mdSave it as .claude/skills/codenote-code-review-prompt/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
codenote-code-review-prompt
description
为 CodeNote Helper 生成 code review 中文 prompt。用于审查当前 diff、指定 commit、PR、发布前风险、文档一致性或扩展审核风险;默认只生成审查任务 prompt,不直接 review、不直接修改代码,除非用户明确要求审查并修复。

CodeNote Helper Code Review Prompt 生成

技能定位

本 skill 只生成 code review 任务 prompt。它不直接审查当前代码,不默认修复问题,不替代普通开发任务。

默认边界:

  • 只要求后续执行者输出 findings first 的审查报告和建议。
  • 除非用户明确要求“审查并修复”,否则 prompt 中必须禁止直接修改代码。
  • 即使用户要求修复,也要先 findings first,再进入最小修复闭环。

Skill 交叉引用规则

如果生成的 code review prompt 需要指向其他 skill,必须使用 $skill-name 形式引用,例如 $codenote-fix-prompt 或 $codenote-plan-mode-prompt。不要只写反引号包裹的 skill 名称,也不要把 skill 名称写成普通说明。

使用流程

  1. 确认用户要的是 code review prompt,而不是直接 review。
  2. 明确审查范围:当前 diff、指定 commit、PR diff、发布包、用户指定文件或目录。
  3. 读取项目材料:
    • AGENTS.md
    • 仅当 AGENTS.override.md 存在时读取它。
    • DEVLOG.md
    • README.md
    • 审查范围相关代码、配置、文档、测试和历史报告。
  4. 判断是否需要外部事实支撑:如果审查范围涉及外部平台行为、浏览器 API、OAuth / Google Drive / WebDAV、权限 / 审核政策、第三方 API、最新文档、跨浏览器差异、已知社区问题或反复定位失败的 bug,生成的 review prompt 必须明确要求后续执行者先调用 $web-search。
  5. 读取 references/review-template.md,按本轮范围裁剪。
  6. 输出一份完整、连续、可复制的中文 code review prompt。

风险地图规则

最终 prompt 不得把固定风险清单当成审查上限。必须要求后续执行者先基于真实 diff、项目规则和审查目标建立本轮风险地图,再从风险地图生成审查重点。

CodeNote Helper 常见风险域可作为启发:

  • Chrome MV3 扩展权限、host_permissions、content_scripts.matches、optional_host_permissions。
  • 远程请求、用户配置的 API、Google Drive、WebDAV、用户数据是否离开本地。
  • 站点隔离、脚本注入顺序、共享模块依赖、全局命名空间。
  • README、隐私政策、manifest、商店说明与代码实际行为一致性。
  • 用户可见中文文案、错误暴露方式、调试信息是否泄露到 UI。
  • Node 测试、浏览器验证、Playwright 证据、报告链接和版本记录是否充分。
  • 外部平台行为、浏览器 API、OAuth / Google Drive / WebDAV、第三方 API、跨浏览器差异、审核政策或已知社区问题是否需要 $web-search 建立证据链。

这些只是风险维度示例;后续执行者必须根据真实改动补充项目专属风险,不能把示例当完整清单。

报告要求

生成的 review prompt 必须要求:

  • 审查报告保存为单独 Markdown 文档。
  • 报告默认放在项目 docs/ 下;用户指定路径时使用用户路径。
  • 问题位置使用可跳转 Markdown 相对路径链接,优先精确到行号;带行号时统一使用 [文件名](相对路径#L行号),不要把 :行号 写进链接目标。
  • 每条 finding 包含严重级别、位置、证据、影响、可能解决方案、验证建议、是否影响发布或交付。
  • 生成的 review prompt 必须要求最终审查报告面向新手可读:技术结论、严重程度排序和证据链不能降低,但每条 finding 的“影响”“为什么这是问题”“可能的解决方案”后面,应尽量补一小段准确的通俗解释,说明这件事对扩展功能、用户数据、权限审核或用户体验会造成什么后果。
  • 通俗解释要借鉴本仓库 .agents/skills/knowledge-explainer/SKILL.md 第二部分 详细原理讲解(通俗版) 的方法:从零讲清楚、把术语翻译成项目里发生了什么、用短小例子帮助理解;只借鉴讲法,不套用 3000 字等字数要求,也不要把 code review 报告写成超长教学文。
  • 技术字段、manifest 字段、API 字段名、函数名和文件名可以保留英文原文,但不能连续堆成读者难以理解的大段句子。涉及多个浏览器扩展术语时,优先用“中文含义 + 原字段名”拆开,例如把 host_permissions 解释为“扩展被允许访问哪些网站”,把 content_scripts.matches 解释为“脚本会自动注入到哪些页面”。
  • 涉及 OAuth、Google Drive 或 WebDAV 风险时,必须补充用户能听懂的影响说明,例如“用户数据会不会离开本地”“凭据会不会泄露”“同步失败时用户能不能看懂原因”,禁止只堆英文协议名或字段名。
  • 问题按严重程度排序。
  • 没发现明确问题时,也要生成报告,说明已检查范围、未发现严重项、剩余风险和测试缺口。

输出包裹规则

  • 最终 code review prompt 必须整体放入一个 Markdown 文本块。
  • 如果 prompt 内部包含三反引号,外层使用四反引号或更长围栏。
  • 输出代码块前最多写一句中文引导;代码块后不要追加正文。

自检

输出前检查:

  1. 是否明确本 skill 生成的是 review prompt,不是直接 review。
  2. 是否要求 findings first、严重程度排序和证据链接。
  3. 是否要求先生成本轮风险地图,而不是照抄固定清单。
  4. 是否要求审查报告保存为单独 Markdown 文档。
  5. 是否保留 CodeNote Helper 的 MV3、权限、远程请求、用户数据、文档一致性、中文文案和测试证据风险域。
  6. 涉及外部平台行为、浏览器 API、OAuth、审核政策、第三方 API、跨浏览器差异或反复定位失败 bug 时,是否要求先调用 $web-search。
  7. 如果 prompt 中交叉引用其他 skill,是否统一使用 $skill-name 形式。
  8. 是否没有把普通执行或 Plan mode 的完整职责塞进本 prompt。

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

Files

SKILL.md and 2 other files (references) in .agents/skills/codenote-code-review-prompt of Philip-Cao-9527/code-note-helper.

  • SKILL.md
  • agents/openai.yaml
  • references/review-template.md

Open the folder on GitHubat commit 7421249

Compare with similar skills

Codenote Code Review Prompt 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.

Codenote Code Review Prompt compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codenote Code Review Prompt this skillPhilip-Cao-9527/code-note-helper273—~764Automated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT
Backend Code Reviewlangflow-ai/langflow155k—~3.5kAutomated safety check: NotesMIT
Mole Bug Patternstw93/Mole70k—~2kAutomated safety check: PassGPL-3.0
Backend Code Reviewlanggenius/dify158k—~676Automated safety check: PassCustom licence

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Backend Code Review

    langflow-ai/langflow

    Review backend code for quality, security, maintainability, and best practices based on established checklist rules.

    155k GitHub stars~3.5k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Backend Code Review

    langgenius/dify

    Reviews backend code under api/ for concrete, reproducible defects, routes to rule packs for architecture, schema, repositories and SQLAlchemy, and ranks findings from P0 to P3.

    158k GitHub stars~676 tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed

More from Philip-Cao-9527/code-note-helper

All 13 skills in this repo
  • Agents Md Creator

    Philip-Cao-9527/code-note-helper

    基于项目真实背景、用户长期偏好和现有文档生成或更新项目级 AGENTS.md。用于新项目初始化、迁移协作规则、整理语言编码测试版本文档约束、沉淀长期协作底线和交付格式时使用。

    273 GitHub stars~581 tokensUpdated 2 mo ago
    Auto-check passed
  • Codenote Fix Prompt

    Philip-Cao-9527/code-note-helper

    为 CodeNote Helper 生成普通开发、修复、验证、治理、文档和审核友好类中文执行 prompt。用于把一次具体任务整理成可直接交给 Codex 或 Agent 执行的 prompt;不承载 Plan mode prompt、code review prompt 或项目 skill creator 的完整职责。

    273 GitHub stars~931 tokensUpdated 2 mo ago
    Auto-check passed
  • Codenote Skill Creator

    Philip-Cao-9527/code-note-helper

    创建或更新 CodeNote Helper 项目本地 .agents/skills 下的 Codex skills。用于把高频协作流程、prompt 生成流程、审查流程或项目专项流程沉淀为可复用 skill;不替代一次性任务 prompt、普通开发实现或万能规则汇总。

    273 GitHub stars~948 tokensUpdated 2 mo ago
    Auto-check passed
  • Project Prompt Creator

    Philip-Cao-9527/code-note-helper

    在项目 AGENTS.md 约束下生成可直接交给 Codex 或 Agent 执行的中文任务 prompt。用于开发、修复、文档、验证、审计、治理或交接任务的 prompt 化,但不承载 Plan mode 和 code review 的完整模式规则。

    273 GitHub stars~693 tokensUpdated 2 mo ago
    Auto-check passed
  • Project Skill Creator

    Philip-Cao-9527/code-note-helper

    基于用户需求和项目真实上下文创建或更新项目本地 skill。用于把高频协作流程、领域任务、项目规范、prompt 生成流程或审查流程沉淀为可复用 skill,并避免把一次性任务误做成长期 skill。

    273 GitHub stars~820 tokensUpdated 2 mo ago
    Auto-check passed
  • Knowledge Explainer

    Philip-Cao-9527/code-note-helper

    当用户要求技术原理讲解、八股讲解、从零教学、面试口述、项目追问回答、领域补课、把项目实现转成可复习表达,或在缺少领域背景时需要先理解概念再推进项目时使用;覆盖后端、前端、数据库、分布式、系统设计、编译构建、DevOps、安全、产品业务、数据分析、Agent、LLM、科研方法等可迁移领域。若涉及最新论文、官方文档、benchmark、争议结论或现代 API,先调用 $web-search。

    273 GitHub stars~899 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Categories

Questions about Codenote Code Review Prompt

What does Codenote Code Review Prompt do?

为 CodeNote Helper 生成 code review 中文 prompt。用于审查当前 diff、指定 commit、PR、发布前风险、文档一致性或扩展审核风险;默认只生成审查任务 prompt,不直接 review、不直接修改代码,除非用户明确要求审查并修复。. Codenote Code Review Prompt is an agent skill from Philip-Cao-9527/code-note-helper.

When should I use Codenote Code Review Prompt?

Codenote Code Review Prompt fits situations like: tasks that involve Code review.

How do I install Codenote Code Review Prompt in Claude Code?

Run `npx skills add Philip-Cao-9527/code-note-helper --skill codenote-code-review-prompt -a claude-code`. Or copy the skill folder (.agents/skills/codenote-code-review-prompt in Philip-Cao-9527/code-note-helper) into .claude/skills/codenote-code-review-prompt in your project. Claude Code loads it when a task matches its description.

How do I install Codenote Code Review Prompt in Codex?

Run `npx skills add Philip-Cao-9527/code-note-helper --skill codenote-code-review-prompt -a codex`. Or copy the skill folder (.agents/skills/codenote-code-review-prompt in Philip-Cao-9527/code-note-helper) into .agents/skills/codenote-code-review-prompt in your project. Codex loads it when a task matches its description.

Can I use Codenote Code Review Prompt 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 Philip-Cao-9527/code-note-helper --skill codenote-code-review-prompt -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codenote-code-review-prompt, .gemini/skills/codenote-code-review-prompt, .github/skills/codenote-code-review-prompt and .opencode/skills/codenote-code-review-prompt in your project.

What does Codenote Code Review Prompt need to run?

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

Does Codenote Code Review Prompt 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 Codenote Code Review Prompt 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 Codenote Code Review Prompt use?

Codenote Code Review Prompt 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 Codenote Code Review Prompt use?

About 764 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Codenote Code Review Prompt?

Skills that share tags, products or a category with Codenote Code Review Prompt: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Backend Code Review (langflow-ai/langflow, 155k stars) and Mole Bug Patterns (tw93/Mole, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codenote Code Review Prompt?

Philip-Cao-9527 (a GitHub user) maintains it in Philip-Cao-9527/code-note-helper, which has 273 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on July 15, 2026.

Source: Philip-Cao-9527/code-note-helper on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.