Create Pull Request

🌐Community
by cline · vlatest · Repository

Automatically generates and opens GitHub pull requests based on your defined changes and branch specifications.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add create-pull-request npx -- -y @trustedskills/create-pull-request
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "create-pull-request": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/create-pull-request"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

The create-pull-request skill enables AI agents to automatically generate and submit pull requests directly within a repository. It streamlines the contribution workflow by handling code changes, commit messages, and PR metadata without manual intervention.

When to use it

  • Automating bug fixes identified during automated testing or security scans.
  • Submitting feature implementations after an agent completes coding tasks.
  • Creating documentation updates based on new code additions or refactoring.
  • Generating PRs for dependency upgrades or configuration changes.

Key capabilities

  • Drafts pull requests with appropriate titles and descriptions.
  • Assigns relevant reviewers if configured in the environment.
  • Sets target branches accurately based on repository structure.
  • Includes commit history context in the PR body.

Example prompts

"Create a pull request for the new authentication module I just added to the src/auth directory." "Generate a pull request to fix the null pointer exception in the payment service, targeting the develop branch." "Submit a pull request with updated API documentation reflecting the latest endpoint changes."

Tips & gotchas

Ensure the AI agent has write permissions to the target repository and access to the correct branch. Always review generated PR descriptions for accuracy before merging, as agents may misinterpret complex code logic or miss edge cases in commit summaries.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
cline
Installs
156

🌐 Community

Passed automated security scans.