knofler/myai/github-pr-create
Claude Code and agent skill by knofler/myai
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Create a pull request with auto-generated description from git history. Summarize changes, categorize type, generate Summary and Test Plan sections. Triggers: create pr, open pr, new pull request, pr create, submit pr
Install
npx vskill@latest install knofler/myai/github-pr-createSKILL.md
The same SKILL.md was published earlier as knofler/myai/github-pr-create.
GitHub PR Create Playbook
When to Use
- A feature branch is ready for review and needs a pull request.
- User says "create pr", "open pr", or "ship it" (ship it delegates here).
- Branch has commits not yet in the base branch.
Prerequisites
ghCLI installed and authenticated.- Current branch is not
main— PRs go from feature/test branch intomain. - All changes committed (no uncommitted work).
Playbook
1. Identify Branch and Base
- Run
git branch --show-currentto get the source branch. - Default base is
mainunless user specifies otherwise. - Verify remote tracking:
git rev-parse --abbrev-ref @{upstream}. - If no upstream, push with
git push -u origin <branch>.
2. Gather Commit History
- Run
git log main..<branch> --oneline --no-mergesto list all new commits. - Run
git diff main...<branch> --statto get changed file summary. - Count files changed, insertions, deletions.
3. Categorize Change Type
- Scan commit prefixes for conventional commit types.
feat:→ Feature,fix:→ Bug Fix,refactor:→ Refactoring.docs:→ Documentation,test:→ Testing,chore:→ Maintenance.- If mixed, use the dominant type. If no convention, infer from diff content.
4. Generate PR Title
- Keep under 70 characters.
- Format:
<type>: <concise description>(e.g.,feat: add user profile page). - Derive from commit messages or branch name if commits lack clarity.
5. Generate PR Body
- Structure with two sections:
- Summary: 2-5 bullet points describing what changed and why.
- Test Plan: Checklist of manual or automated verification steps.
- Include file change stats at the bottom.
- Add
Generated with Claude Codefooter.
6. Create the PR
- Run
gh pr create --title "<title>" --body "<body>" --base main. - Capture the returned PR URL.
- If draft requested, add
--draftflag.
7. Post-Creation
- Report the PR URL to the user.
- Log the PR creation in
logs/claude_log.mdwith timestamp. - Update
state/STATE.mdif relevant to current milestone.
Output
- Pull request created on GitHub with structured description.
- PR URL returned to user.
- Log entry in
logs/claude_log.md.
Review Checklist
- [ ] Branch pushed to remote with upstream tracking.
- [ ] PR title is concise and under 70 characters.
- [ ] Summary section accurately describes all changes.
- [ ] Test plan section has actionable verification steps.
- [ ] Correct base branch specified.
- [ ] PR URL confirmed accessible.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/github-pr-create/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/knofler/myai/github-pr-create)