<< All versions
Skill v1.0.1
currentAutomated scan100/100majiayu000/claude-skill-registry/gh-pull-requests-dtu-mlops-drone-detection-mlop
3 files
──Details
PublishedMay 23, 2026 at 09:39 PM
Content Hashsha256:e85a1759cc4bfcfe...
Git SHA7a16868a958a
Bump Typepatch
──Files
Files (1 file, 1.8 KB)
SKILL.md1.8 KBactive
SKILL.md · 78 lines · 1.8 KB
version: "1.0.1" name: GitHub Pull Requests description: Create a GitHub pull request with conventional commit title
GitHub Pull Requests Skill
You are helping the user create a GitHub pull request for the current branch.
Steps
- Get the current branch name (base branch is always `main`):
``bash git branch --show-current ``
- Ensure main is merged into the branch (no merge conflicts):
``bash git fetch origin main git merge origin/main --no-edit ``
- If merge conflicts occur, stop and help the user resolve them before proceeding
- If the merge introduces new commits, push the updated branch
- Analyze the changes:
``bash git log origin/main..HEAD --oneline git diff origin/main..HEAD --stat ``
- Read commit messages for context:
``bash git log origin/main..HEAD --format="%B---" ``
- Generate the PR:
- Title: Use conventional commits format (e.g.,
feat: add user authentication,fix: resolve null pointer in parser) - Body: Fill out the template below concisely
PR Template
## Description(1-2 sentences on what this PR does)## Reason(1-2 sentences on why this change was needed)
Output
Run this command with the generated title and body:
bash
gh pr create --web --title "<conventional commit title>" --body "<filled template>"
Use a heredoc for the body to handle newlines:
bash
gh pr create --web --title "feat: example title" --body "$(cat <<'EOF'## DescriptionBrief description here.## ReasonWhy this was done.EOF)"
Guidelines
- Keep title under 72 characters
- Use conventional commit prefixes:
feat,fix,refactor,docs,chore,test,perf - Be concise - no fluff or excessive detail
- If the branch name contains a ticket ID (e.g.,
COP-123), DO NOT include it in the title