一键导入
commit
Review current changes, commit, push, and optionally open a PR
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review current changes, commit, push, and optionally open a PR
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | commit |
| description | Review current changes, commit, push, and optionally open a PR |
| argument-hint | [pr or draft pr] |
Review the current git changes, create a commit, push to remote, and optionally open a pull request.
$ARGUMENTS
!git status --short
!git diff --cached
!git diff
!git log --oneline -5
!git branch --show-current
!git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@'
Read full diff if truncated. If changes above show "Output too large" with a file path, read that file first. Never review based on partial output.
Review changes for bugs, security issues (secrets, .env files), and incomplete work. If issues found, ask the user how to proceed.
Prepare commit:
-u origin <branch> for new branches)If PR requested: use gh pr create (add --draft if requested) with a clear title and description targeting the default branch. Follow PR conventions from CLAUDE.md.
If there are no changes to commit, let me know.