Github Pr
Automates GitHub pull request creation, review requests, and status updates based on provided instructions.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add github-pr npx -- -y @trustedskills/github-pr
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"github-pr": {
"command": "npx",
"args": [
"-y",
"@trustedskills/github-pr"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates the creation of GitHub pull requests (PRs), including setting titles, descriptions, reviewers, and labels. It leverages the gh command-line tool to streamline the PR workflow, helping users adhere to established conventions for commit messages and PR structure. The skill also supports creating draft pull requests and managing their status.
When to use it
- Creating a new pull request from within an AI agent interaction.
- Generating standardized pull request titles using conventional commit formatting (e.g.,
feat(scope): description). - Preparing detailed PR descriptions including summaries, changes lists, testing notes, and issue linking.
- Quickly creating draft pull requests for work in progress.
Key capabilities
- Creates GitHub Pull Requests using the
gh pr createcommand. - Supports conventional commit title formatting (
<type>(<scope>): <short description>). - Allows specifying PR body content, including structured summaries, changes lists, and testing status.
- Enables adding reviewers and labels to pull requests.
- Supports creating draft pull requests (wip).
Example prompts
- "Create a pull request with the title 'fix(login): handle invalid credentials' and a body describing how I fixed an issue with login validation."
- "Generate a draft PR titled 'wip: refactor user profile page'."
- "Create a pull request adding a new feature for displaying product details, including reviewers @user1 and @user2 and the label 'enhancement'."
Tips & gotchas
- This skill requires the
ghcommand-line tool to be installed and authenticated with your GitHub account. - The skill relies on structured PR descriptions (Summary, Changes, Testing) for optimal results. Follow the provided template for best formatting.
- Atomic commits (one logical change per commit) are recommended for creating well-organized pull requests.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.