一键导入
review-branch
Review the diff of the current branch against the base branch, critique the changes, then fix any issues found.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review the diff of the current branch against the base branch, critique the changes, then fix any issues found.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Squash all commits on the current git branch into a single commit. Soft-resets to the base branch, then re-commits the combined working tree with a single message.
Read the full diff of the current branch against its base so the assistant has context for follow-up prompts. Produces a brief grouped summary, not a critique.
基于 SOC 职业分类
| name | review-branch |
| description | Review the diff of the current branch against the base branch, critique the changes, then fix any issues found. |
| disable-model-invocation | true |
| argument-hint | ["base-branch"] |
Review the diff of the current branch against the base branch and critique the code changes. Don't make any edits yet, just provide a review with issues categorized as major, minor, or nitpick.
If an argument is provided ($ARGUMENTS), use that as the base branch. Otherwise, detect the default branch from the remote by running git symbolic-ref refs/remotes/origin/HEAD and extracting the branch name. If that fails, fall back to whichever of main, master, or dev exists locally (check in that order with git rev-parse --verify).
isinstance checks or other runtime type guards that are redundant given the declared types. If values don't actually conform to the annotations, the annotations are wrong — that's the bug to fix, not a reason to add defensive checks.Ask whether to fix the issues. If yes, fix them, run typecheck/lint/tests to verify, and commit the fixes.