From git-plugin
Crafts GitHub PR titles using conventional commits format. Use when creating PRs, reviewing or updating titles to ensure release-please automation and consistent git history.
How this skill is triggered — by the user, by Claude, or both
Slash command
/git-plugin:github-pr-titlehaikuThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Craft clear PR titles using conventional commits format.
Craft clear PR titles using conventional commits format.
CRITICAL: PR titles must follow conventional commit format. This drives release-please version automation and ensures consistent git history when using squash-and-merge.
| Use this skill when... | Use X instead when... |
|---|---|
| Creating a PR title | Full PR workflow (git-pr) |
| Reviewing title format | Issue titles (github-issue-writing) |
| Updating existing PR title | Fixing committed messages (see git-commit) |
<type>(<scope>): <subject>
See Conventional Commits Standards for comprehensive format guide.
| Type | Use Case | Version Bump |
|---|---|---|
feat | New feature | Minor |
fix | Bug fix | Patch |
perf | Performance improvement | Patch |
refactor | Code restructure (no behavior change) | None |
docs | Documentation only | None |
test | Tests | None |
build | Build/deps | None |
ci | CI config | None |
chore | Maintenance | None |
Decision tree: Feature → feat | Bug → fix | Performance → perf | Restructure → refactor | Docs → docs | Everything else → chore
Optional component identifier. Keeps commits organized:
feat(auth): add OAuth support
fix(api): handle null response
docs(readme): update install steps
refactor(core): simplify error handling
Discover repo scopes:
gh pr list --state merged -L 30 --json title | jq -r '.[].title' | grep -oE '\([^)]+\)' | sort | uniq -c | sort -rn
Or from commits:
git log --format='%s' -n 50 | grep -oE '\([^)]+\)' | sort | uniq -c | sort -rn
Examples:
| ❌ Bad | ✅ Good |
|---|---|
Added login button | add login button |
Fixes the bug. | fix null pointer in auth |
Update | update dependencies |
Resolved Performance Issues | improve query performance |
Append ! before colon:
feat(api)!: remove deprecated endpoints
fix!: require Node.js 18+
refactor(db)!: change schema format
Breaking changes trigger major version bumps.
revert: feat(auth): add OAuth support
| Scenario | Template |
|---|---|
| Feature | feat(<scope>): add <what> |
| Bug fix | fix(<scope>): resolve <what> |
| Performance | perf(<scope>): optimize <what> |
| Docs | docs(<scope>): update <what> |
| Refactor | refactor(<scope>): simplify <what> |
| Deps | build(deps): bump <pkg> to <ver> |
| Breaking | feat(<scope>)!: change <what> |
Conventional commit PR titles ensure:
| Context | Command |
|---|---|
| Get commits | git log origin/main..HEAD --format='%s' -n 10 |
| Changed dirs | git diff origin/main..HEAD --name-only | xargs dirname | sort -u |
| Update title | gh pr edit N --title "new title" |
| Discover scopes | gh pr list --state merged -L 30 --json title | jq -r '.[].title' | grep -oE '\([^)]+\)' | sort | uniq |
For detailed rules, patterns, and troubleshooting, see Conventional Commits Standards.
npx claudepluginhub laurigates/claude-plugins --plugin git-pluginCreates, refreshes, and rewrites PR titles and descriptions following Sentry conventions. Requires GitHub CLI.
Creates GitHub pull requests from branch changes using git analysis and gh CLI, with conventional commit titles and standardized templated descriptions including summary, changes, testing, and checklists.
Creates structured pull requests with Sentry's engineering practices. Analyzes committed branch diffs and generates descriptions covering what changed, why, and reviewer context.