skills/pr/SKILL.md
Create or update a pull request for the current branch with a summary of all changes. Use when the user asks to open, create, update, or refresh a PR/pull request.
npx skillsauth add derogab/agent-kit prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
git branch --show-currentgit branch -r | grep -E 'origin/(main|master)'gh pr view --json number,title,url 2>/dev/null || echo "NO_PR"Create or update a pull request for the current branch.
git rev-parse --verify origin/main >/dev/null 2>&1 && echo main || echo master. Use this as <base>.git log <base>..HEAD --oneline. If there are no commits ahead of the base branch, stop and tell the user to commit changes first. Do nothing else.git add or git commit. Only manage the PR.git diff <base>...HEAD to get the full diff of all changes on this branch.git log <base>..HEAD --format="%h %s" to get all commit messages.NO_PR → create a new PR.Follow Conventional Commits format: <type>: <description>.
Types: feat, fix, docs, refactor, test, chore, build, perf, ci. Append ! for breaking changes.
When updating, keep the existing title unless it is generic (e.g. "Update"), outdated, or does not follow Conventional Commits.
First, check if the repository has a PR template. Look for these files in order:
pull_request_template.md in the repo root.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE/*.mdIf multiple templates exist in .github/PULL_REQUEST_TEMPLATE/:
bugfix.md for bug fixes, feature.md for new features, docs.md for documentation changes)If a template is found:
{{description}}, {{summary}}) with actual content derived from the changesIf no template is found, use this default format:
## Summary
<1-2 sentence high-level description of what this PR does and why>
## Changes
<bulleted list of all meaningful changes, grouped logically>
## Test plan
<bulleted checklist of how to verify these changes>
Create flow:
git push -u origin <branch>.gh pr create --title "<title>" --body "$(cat <<'EOF'
<body>
EOF
)"
Update flow:
gh pr edit --title "<title>" --body "$(cat <<'EOF'
<body>
EOF
)"
tools
Run code review tools in parallel, validate findings with a second-opinion agent, and aggregate a comprehensive review report.
development
Reply to unresolved PR review comments that clearly relate to the current conversation. Use when the user asks to respond to PR review feedback without resolving threads or editing code.
documentation
Read the Redis Patterns for Coding Agents documentation before answering Redis questions or making Redis changes.
testing
Create a git commit following the Conventional Commits specification. Use when the user asks to commit staged changes or create a commit message.