What problem does it solve?
This skill streamlines creating or updating GitHub pull requests with concise, structured summaries.
Core Features & Use Cases
- Generate PR content: titles, descriptions, and change summaries based on git history.
- Detect project conventions and format PR content to fit GitHub or Azure DevOps workflows.
- Create or update PRs via gh and az commands, or provide structured description for reviewers with minimal manual input.
- Use Case: When you finish a feature branch, run the skill to open a PR with a summarized changeset and suggested title.
Quick Start
Detect the convention for the repository: run ~/.claude/skills/github-pr/scripts/detect-convention.sh.
Generate summary for the current branch: run ~/.claude/skills/github-pr/scripts/git-summary.sh.
Create or update PR with title/body using the convention-specific tool, e.g., gh pr create --title "Your title" --body "Your body" or az repos pr create --title "Your title" --description "Your body". The command adapts per convention.