From beaver
Commit, push, and open a PR linked to a Beaver issue. Trigger this skill whenever the user wants to create a GitHub pull request.
How this skill is triggered — by the user, by Claude, or both
Slash command
/beaver:beaver-prThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Commit staged changes, push the branch, and open a GitHub pull request with optional Beaver issue association. The workflow gathers repository context, handles branching, and links the PR to a Beaver-tracked issue.
Commit staged changes, push the branch, and open a GitHub pull request with optional Beaver issue association. The workflow gathers repository context, handles branching, and links the PR to a Beaver-tracked issue.
gh auth status must succeed (run gh auth login if not)Gather context -- Run the following commands to understand the current repository state:
git status to see staged/unstaged changesgit diff HEAD to see the full diffgit branch --show-current to identify the current branchgit log --oneline -10 to review recent commitsCreate a new branch if currently on main/master. Use a descriptive branch name based on the changes.
Stage and commit all changes with an appropriate commit message.
Push the branch to origin. If a new branch was created, use git push -u origin <branch-name> to set the upstream.
Ask about Beaver issue association. Present this question to the user:
"Associate this PR with a Beaver issue?
- Enter an issue number (e.g.,
#42or42) or full issue URL- Type
newto create a new issue viacreate-beaver-issue- Type
skipto create the PR without issue association"
Handle the response:
https://github.com/org/repo/issues/42 is given, extract ISSUE_OWNER, ISSUE_REPO, and ISSUE_NUMBER. If just a number like #42 or 42, record only ISSUE_NUMBER.new: Tell the user to run create-beaver-issue first, then come back with the issue number. Stop here -- do NOT create the PR yet. Say: "Please run create-beaver-issue to create the issue, then run beaver-pr again or tell me the issue number to continue."skip: Set ISSUE_NUMBER to empty.Create the PR using gh pr create:
ISSUE_NUMBER is set, add a line: Relates to #ISSUE_NUMBER. If ISSUE_OWNER/ISSUE_REPO differ from the current PR's repo, use Relates to ISSUE_OWNER/ISSUE_REPO#ISSUE_NUMBER instead.Report the PR URL to the user.
npx claudepluginhub primatrix/skills --plugin beaverAutomates GitHub workflow: branching, committing, pushing, PRs, issues, and code review. Use when managing git operations or GitHub development lifecycle.
Creates a branch, commits changes, pushes, and creates or updates a GitHub PR with a summary and test plan. Useful for automating the full git-to-PR workflow.
Stages all changes, commits tersely, pushes to claude/* branch if needed, and opens draft GitHub PR with detailed description using authenticated gh CLI. Use on explicit request for one-flow PR creation.