用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Marshall-Hallenbeck/dot_files --skill review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when asked to work on, implement, or complete a GitHub issue — before writing any code, checks issue state, existing PRs, git history, and codebase to determine what work remains or if the issue is already resolved
Use when starting, checking, or finishing work on a GitHub issue in any repo where multiple agents may work in parallel — posts a session-info claim comment and manages the in-progress label so other agents skip claimed issues
Use when asked to create, open, publish, or submit a pull request from the current branch
基于 SOC 职业分类
正在显示 SKILL.md
| name | review |
| description | Review uncommitted code changes for bugs, security issues, and correctness. Finds AND fixes all issues. |
| argument-hint | [path] |
| context | fork |
Review all uncommitted changes (staged + unstaged) for bugs and correctness issues, then fix every finding. Does NOT post to GitHub — this is a local review.
/review
/review backend/src/ (scope to specific paths)
git diff HEAD
If arguments were provided, scope the diff:
git diff HEAD -- <path>
If there are no uncommitted changes, say so and stop.
Read the root CLAUDE.md and any CLAUDE.md files in directories touched by the diff. These contain project conventions that inform the review.
For each changed file, read the full file for context (not just the diff hunks). Then review against these criteria, adapted from OpenAI Codex's review guidelines:
Flag an issue ONLY if ALL of these are true:
Also check for:
console.log/console.debug/console.warn statements in production code (not in test files or intentional logging utilities)Explicitly ignore:
For each finding:
Before reporting a finding, verify:
If confidence is below 70%, drop the finding.
After identifying findings, fix every one of them — P0 through P3. Do not leave any finding unfixed.
For each finding:
If a finding is a pure style/naming issue (P3) that doesn't affect behavior, skip the regression test.
Run tests after all fixes to verify nothing broke. Auto-detect the test runner:
| Indicator | Command |
|---|---|
pyproject.toml, pytest.ini, conftest.py | pytest tests/ -x -q (prefix with uv run if uv.lock exists) |
jest.config.*, package.json jest config | npx jest --bail --no-coverage |
vitest.config.* | npx vitest run |
Cargo.toml | cargo test |
go.mod | go test ./... |
If tests fail due to a fix, adjust the fix until tests pass.
After fixing, output the review summary:
## Code Review
Reviewed N files with uncommitted changes.
### Findings (all fixed)
1. **[P1] Brief title** — `file:line`
One paragraph explaining the problem. **Fixed:** brief description of the fix. **Regression test:** `test_file:test_name`
2. **[P2] Brief title** — `file:line`
Explanation. **Fixed:** brief description of the fix. **Regression test:** `test_file:test_name`
### Verdict: PASS | NEEDS FIXES
- **PASS**: All findings fixed and tests passing.
- **NEEDS FIXES**: Has findings that could not be auto-fixed (explain why).
If there are zero findings:
## Code Review
Reviewed N files with uncommitted changes.
No issues found. Checked for bugs, security issues, and CLAUDE.md compliance.
### Verdict: PASS