From copilot-cli-toolkit
Creates new git branch if on main, commits and pushes changes, adapts PR template to git diffs, and opens GitHub pull request with conventional commit title.
npx claudepluginhub rjmurillo/ai-agentsThis skill is limited to using the following tools:
- Current git status: !`git status`
Automates Git workflow: creates new branch if on main, commits changes with short imperative message, pushes to origin, and opens GitHub PR via gh CLI. Use after code changes.
Commits changes to a new git branch (if on main), pushes to origin, and creates or views GitHub PR with gh CLI. Activates on 'commit and push', 'open PR', 'ship it'.
Generates GitHub PR title and description from git diff, commits, and conversation context; pushes branch and opens PR creation in browser.
Share bugs, ideas, or general feedback.
git statusgit diff HEADgit branch --show-currentBased on the above changes:
Create a new branch if on main
Push the branch to origin
Read @.github/PULL_REQUEST_TEMPLATE.md
Write a new file adapting the template to describe THIS branch's changes (e.g. /tmp/PR-123-BODY.md):
<!-- Brief description --> unfilledCreate a pull request using the new_pr skill script:
SCRIPTS_DIR="${CLAUDE_PLUGIN_ROOT:-.claude}/skills/github/scripts"
python3 "$SCRIPTS_DIR/pr/new_pr.py" --title "<conventional commit title>" --body-file /tmp/PR-123-BODY.md
feat: Add feature, fix(auth): Resolve bug)Closes #123 — auto-closes issue when PR mergesFixes #456 — auto-fixes issue when PR mergesResolves #789 — auto-resolves issue when PR mergesYou have the capability to call multiple tools in a single response. You MUST do all of the above in a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.