Agent skill
create-pr
Create and push PR with auto-generated title and description
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/git-create-pr-flosrn-claude
SKILL.md
Create PR
Create pull request with concise, meaningful description.
Context
- Current branch: !
git branch --show-current - Working tree status: !
git status --short - Recent commits: !
git log --oneline -5 - Remote tracking: !
git rev-parse --abbrev-ref @{upstream} 2>/dev/null || echo "none"
Workflow
- Verify: Check
git statusand current branch - Branch Safety: CRITICAL - If on main/master, create descriptive branch from changes
- Push:
git push -u origin HEAD - Analyze:
git diff origin/main...HEAD --stat - Generate PR:
- Title: One-line summary (max 72 chars)
- Body: Bullet points of key changes
- Submit:
gh pr create --title "..." --body "..." - Return: Display PR URL
PR Format
## Summary
• [Main change or feature]
• [Secondary changes]
• [Any fixes included]
## Type
[feat/fix/refactor/docs/chore]
Rules
- NO verbose descriptions
- NO "Generated with" signatures
- Auto-detect base branch (main/master/develop)
- Use HEREDOC for multi-line body
- If PR exists, return existing URL
User: $ARGUMENTS
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?