PR Creator Skill
Create a pull request after development on a branch is complete.
Development Types
| Type | Branch Pattern | Title Prefix | Draft | Template |
|---|---|---|---|---|
| Feature | feature/* | feat: | Yes | feature.md |
| Bug fix | fix/* | fix: | No | fix.md |
| Documentation | docs/* | docs: | No | docs.md |
| Refactoring | refactor/* | refactor: | Yes | refactor.md |
Guidelines
- •Link the specification - Every PR must reference its specification
- •One feature per PR - Keep PRs focused and small
- •All tests must pass - Ensure CI is green
- •Request a review - Wait for approval before merging
Workflow
- •Analyze: Get branch name, commits (
main..HEAD), and diff to understand changes - •Find spec: Look for related spec in
docs/specs/ - •Draft: Generate title and body using the appropriate template
- •Confirm: Show draft to user for approval
- •Create: Push if needed, run
gh pr create - •Report: Show PR URL