From dev
Creates a GitHub PR for current work. Handles branch creation, committing, pushing, and PR creation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev:create-prThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Creates a complete PR from current work: branch, commit, push, and open the PR.
Creates a complete PR from current work: branch, commit, push, and open the PR.
Status:
!git status
Changes:
!git diff
Current branch:
!git branch --show-current
Recent commits:
!if git rev-parse --verify HEAD >/dev/null 2>&1; then git log --oneline -5; else echo "(no commits yet)"; fi
Determine the current branch:
main or master, create a new feature branchBranch naming: Generate from conversation context using format {category}/{short-description}:
feat/add-user-authfix/login-validationrefactor/extract-utilsReview the conversation context and git diff:
If uncertain about which files belong, ask the user.
git addPush the branch to origin:
git push -u origin <branch-name>
Search for a PR template in the repository. Check these locations in priority order (filenames are case-insensitive):
.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE/ (directory with multiple templates)docs/pull_request_template.mdpull_request_template.md (repository root)Use Glob to find matching files and Read to read the template content.
If .github/PULL_REQUEST_TEMPLATE/ contains multiple templates, pick the one most relevant to the changes (e.g., a bug fix template for fixes, a feature template for new features). If unsure which template fits, ask the user.
Create the PR using gh pr create:
If a PR template was found: Use the template's structure for the body, filling in each section based on the conversation context and the changes being submitted.
If no PR template was found: Write a plain text body of 1-2 paragraphs describing what and why. No headers, no "Test Plan" section, no markdown formatting in the body.
gh pr create --title "..." --body "..."
npx claudepluginhub computomatic/claude-plugin --plugin devGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.