pull-request
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Pull Request Skill
Create a GitHub pull request from the current branch. See REFERENCE.md for branch naming, title format, and examples.
Context
- Current branch: !
git branch --show-current - Default branch:
main - Commits ahead of base: !
git log --oneline origin/main..HEAD - Full diff from base: !
git diff origin/main...HEAD - Push status: !
git status -sb
Steps
- Verify branch — confirm you are not on the default branch; if so, warn the user and stop
- Push branch — if unpushed, run
git push -u origin <branch> - Detect linked issue — run
node scripts/detect-issue.js; if it outputs a number use that, if the branch has no number ask the user whether there is a linked issue - Analyze commits — review all commits ahead of base to understand the full scope of changes
- Draft PR title — follow the format in REFERENCE.md; keep it under 70 characters
Related skills
More from dnd-mapp/ai-standards
prettier
>
11commit
Analyze all git changes (staged and unstaged), group them by intent, and commit each group using Conventional Commits format with scopes. Use when committing changes, making commits, or when the user asks to "commit" or "create commits" from current changes.
11eslint
>
11prisma
>
10angular
>
10nestjs
>
10