一键导入
一键导入
| 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.