用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/breezewish/skills --skill codex-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | codex-review |
| description | Run a code review using Codex CLI. Use when user asks for a code review. |
This skill provides a black-box review tool that utilizes LLM (Codex CLI) to do a code review, without relying on prior knowledge.
This skill is extremely slow and expensive, but provides high quality results, so you should only use it when:
No need to use this skill for:
This is a black-box review:
This skill only does black-box review (i.e. it only takes repository as input), there are pros and cons. Carefully consider whether it's suitable for your use case before using it.
Pros:
Cons:
IMPORTANT GUIDELINE: Always use this skill as a complementary tool, not the only tool, to provide a more comprehensive review.
This skill is LLM based:
You should always use your own judgment to evaluate the review results, and not blindly trust it.
This skill is very expensive:
Select one of the following review prompts based on the user request. If the user didn't specify, choose the most appropriate one based on the available information.
Review current code changes (staged, unstaged, and untracked files)
Review code changes against the base branch <...>
Review code changes introduced by commit <sha> (<title>)
Review code changes for commit range <sha1>..<sha2>
Review ... (this is the most flexible one, just describe what to review, e.g. review all code in <absolute path> related with ...)
If you believe none of the above prompts are suitable, stop and ask the user for clarification.
node scripts/review.js --cwd "<project directory>" "<review prompt>"
Review script will start a new agent to do the review. It takes a lot of time to complete (e.g. > 1 hour), so be patient, do not interrupt it.
Note: scripts/review.js lives inside this skill's directory, instead of project directory.
To reduce round trips, you should poll script output at least every 5 minutes. Do not poll frequently.
Review script reports findings with these priority definitions:
[P0] – Drop everything to fix. Blocking release, operations, or major usage. [P1] – Urgent. Should be addressed in the next cycle [P2] – Normal. To be fixed eventually [P3] – Low. Nice to have.
基于 SOC 职业分类