Create Pull Request
Automatically creates a pull request from specified branch to target repository based on provided details.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add pjt222-create-pull-request npx -- -y @trustedskills/pjt222-create-pull-request
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"pjt222-create-pull-request": {
"command": "npx",
"args": [
"-y",
"@trustedskills/pjt222-create-pull-request"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates the creation of pull requests on GitHub. It can generate a new branch, commit changes with a provided message, and then open a pull request targeting a specified base branch. This streamlines the code contribution workflow by handling repetitive tasks.
When to use it
- You need to contribute code changes to a project hosted on GitHub.
- You want to automate the process of creating a new branch and submitting a pull request.
- You're working with a team and want to ensure consistent pull request formatting.
- You are frequently making small updates or bug fixes that warrant a formal pull request.
Key capabilities
- Creates a new Git branch.
- Commits changes with a custom commit message.
- Opens a pull request on GitHub.
- Targets a specific base branch for the pull request.
Example prompts
- "Create a pull request from my current branch to main with the message 'Fix: Resolved issue #123'."
- "Open a pull request targeting develop, committing changes with the message 'Add new feature X'."
- “Generate a pull request for the
feature/new-buttonbranch tomain."
Tips & gotchas
- Ensure you have appropriate permissions on the GitHub repository. The AI agent will need access to create branches and 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.