Claude-project-skills-template pr-create
Creates GitHub pull requests with properly formatted conventional commit-style titles. Use when creating PRs, submitting changes for review, or when user says /pr, /pr-create, or asks to create a pull request.
install
source · Clone the upstream repo
git clone https://github.com/dohernandez/claude-project-skills-template
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/dohernandez/claude-project-skills-template "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/pr-create" ~/.claude/skills/dohernandez-claude-project-skills-template-pr-create-c59e06 && rm -rf "$T"
manifest:
.claude/skills/pr-create/SKILL.mdsource content
PR Create
Purpose
Creates GitHub pull requests with conventional commit-style titles and structured bodies.
Quick Reference
- Creates: GitHub PR via
gh pr create - Requires: GitHub CLI installed and authenticated, committed changes on a feature branch
Prerequisites
Before creating a PR, verify:
- gh CLI installed:
- if missing:gh --versionbrew install gh - gh CLI authenticated:
- if not:gh auth statusgh auth login
PR Title Format
<type>(<scope>): <subject>
Types
| Type | Use for |
|---|---|
| New features |
| Bug fixes |
| Maintenance, refactoring |
| Documentation |
| Test changes |
| Performance improvements |
| CI/CD changes |
Scopes
- GitHub Actions workflow filesworkflows
- Shell scripts (setup, orchestration)scripts
- CI pipeline configuration and logicci
- Self-hosted runner setup and provisioningrunner
- Configuration filesconfig
Title Rules
- Max 50 characters
- Capitalized first letter after colon
- No period at the end
- Be specific - avoid "improve", "enhance", "update"
- NO AI ATTRIBUTION - STRICTLY FORBIDDEN
AI Attribution Policy
COMPLETE VIOLATION - Never include ANY of the following in PR titles, bodies, or commits:
,Co-Authored-By: Claude
, or any AI nameCo-Authored-By: GPT- AI-related emojis
- "Generated by", "Created with", or similar phrases
- Any reference to AI tools (Claude, ChatGPT, Copilot, etc.)
PRs and commits must appear as human-authored work. This is a strict project requirement.
PR Body Template
## Summary [2-3 sentences summarizing what changed and why] ## Changes - [bullet point of change 1] - [bullet point of change 2] - [bullet point of change 3] ## Checklist - [ ] Code follows project conventions - [ ] Documentation updated (if needed) - [ ] Changes tested locally (if applicable)
Fill in Summary and Changes with specifics. Check applicable Checklist items with
[x].
User Review Step
Before creating the PR, present it to the user for review:
## PR Preview **Title:** feat(workflows): Add retry logic to E2E pipeline **Body:** ## Summary Adds retry logic to the E2E test pipeline to handle transient network failures during consensus deployment. ## Changes - Add retry wrapper for task consensus:deploy - Configure max 3 retries with exponential backoff - Log retry attempts for debugging ## Checklist - [x] Code follows project conventions - [x] Documentation updated (if needed) - [ ] Changes tested locally (if applicable) --- Any changes I should make?
Wait for user confirmation:
- If user says "no" or confirms -> create the PR
- If user requests changes -> incorporate feedback and show again
Automation
See
skill.yaml for the full procedure and patterns.
See sharp-edges.yaml for common failure modes.