mit einem Klick
mit einem Klick
Automated code review and fix for local branches, PRs, commits, and files. Supports single-agent interactive fix and multi-agent adversarial review with auto-fix.
Analyze branch commits and consolidate iterative modifications.
Accept screenshot baseline changes and commit the updated version.json.
Commit local changes without pushing.
| name | pr |
| description | Commit and push changes, then create a new PR or append to an existing one. |
| disable-model-invocation | true |
Commits local changes, pushes to remote, and creates a new PR or appends to an existing one — automatically detected based on branch state.
git branch --show-current — current branch name.
If empty (detached HEAD), ask the user to switch to a branch first and stop.gh pr list --head {branch} --state open --json number,url — open PRsDetermine the remote's default branch and store as {default_branch}.
Mode selection:
| Current branch | Open PR on this branch | Mode |
|---|---|---|
| {default_branch} | N/A (new branch) | Create |
| other | yes | Append |
| other | no | Create |
Run git status --porcelain and inspect the output:
If full: run git add -A. If partial: skip (files are already staged).
Read the staged diff (git diff --cached) and generate a commit message
following the project's commit conventions. If no convention is found, default
to a concise English message under 120 characters ending with a period, with no other punctuation, focusing on user-perceivable changes.
If there is staged content, commit first. Then push and output the existing PR URL.
If there is nothing to commit and nothing to push, inform the user and stop.
Based on all changes since {default_branch} (staged diff and existing commits), generate:
feature/{username}_topic or
bugfix/{username}_topic ({username} = local git username, lowercase; obtain via git config user.name).
When on a non-default branch, use the current branch name.If on {default_branch}, create a new branch: git checkout -b {branch_name}.
If there is staged content, commit.
Push and create the PR:
git push -u origin {branch_name}
gh pr create --title "{title}" --body "$(cat <<'EOF'
{description}
EOF
)"
Output the PR URL to the user.