review-pr
Review a pull request or local changes using the PR Review Toolkit's specialized checks for code quality, tests, error handling, comments, type design, and simplification. Use when asked for a PR review or a focused review of these aspects.
- License 许可
- MIT
- 所属仓库
- mono0x/dotfiles
- 最近更新
- 2026-11-15
- Stars
- ★ 10
- Forks
- 0
01 前言 Front Matter
- name
- review-pr
- description
- Review a pull request or local changes using the PR Review Toolkit's specialized checks for code quality, tests, error handling, comments, type design, and simplification. Use when asked for a PR review or a focused review of these aspects.
03 SKILL.md 正文
Review PR
Use the upstream PR Review Toolkit
with the Codex adaptations below. Paths are relative to this skill directory.
chezmoi downloads the unmodified upstream files into upstream/ at a commit
tracked by Renovate.
Read the review workflow, then read only the
relevant reviewer instructions under upstream/agents/. Apply these adaptations
to both the workflow and reviewer instructions.
Scope and review passes
- Use the user's PR, commit range, files, and requested aspects to define scope. For a PR, review its diff against the PR's base branch. For local work with no explicit scope, inspect staged, unstaged, and relevant untracked changes. Keep that scope consistent across all review passes.
- With no aspects specified, select all applicable passes. Assess test coverage when behavior changes, even if no test files changed. Treat simplification as suggestions; modify files only when the user has requested changes.
- Run the selected passes sequentially yourself. If the user requests parallel review, use available Codex subagents, giving each the scope, relevant upstream instructions, and these adaptations. Merge duplicate findings afterward.
Codex adaptations
- Treat
/pr-review-toolkit:review-prand$ARGUMENTSas this skill's invocation and the user's request. Use available Codex tools for upstreamBash,Glob,Grep, andReadoperations.Taskrefers to delegation as described above; Claude's/agentslist and frontmatter fields such asmodel,color, andallowed-toolsdo not configure Codex. - Follow applicable
AGENTS.mdinstructions for the reviewed project. InterpretCLAUDE.mdreferences as project-guideline checks against those instructions. Upstream examples of logging functions, error IDs, frameworks, and coding conventions apply only when the project actually uses or requires them. - Use upstream procedures within the requested review. Their proactive triggers and autonomous editing instructions do not expand the task. A review request does not authorize publishing a GitHub review, comment, or PR.
Return the combined findings in the upstream workflow's format, preserving file and line references and distinguishing actionable issues from suggestions.
04 同仓库更多 Skills
ghq
Locate local clones of repositories managed by ghq. Use whenever the user mentions a repository by name or URL (for example `owner/repo`, `repo`, or a GitHub URL) and its source code, docs, or history would help, before searching the web. Also use when the user asks to clone a repository.
Git 提交创建
commit
`/commit-commands:commit` 技能的别名。创建一个 git 提交。
代码变更端到端验证
verify
通过构建、运行并端到端地演练受影响的行为来验证代码变更。当用户要求验证改动,或确认某项功能在运行的应用程序中正常工作时使用。
chezmoi 过期条目清理
chezmoi-prune-remove
清理本仓库 src/.chezmoiremove 中的条目:自其加入提交起至少满 30 天后即可清理,并保留带有 keep 注释标记的条目。当用户要求清理旧的 .chezmoiremove 条目时使用。