Gh Pr

🌐Community
by akiojin · vlatest · Repository

Gh Pr automatically creates pull requests from commit messages, streamlining workflow and accelerating development cycles.

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 gh-pr npx -- -y @trustedskills/gh-pr
2

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

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

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

About This Skill

What it does

The gh-pr skill allows AI agents to create GitHub pull requests. It can automatically draft a pull request based on provided instructions, including specifying the base branch and title. The agent can also be instructed to open a pull request against an existing branch.

When to use it

  • You need to automate code review workflows by having an AI agent generate pull requests for changes.
  • An AI agent has made modifications to files and you want to easily create a pull request from those changes.
  • You want the agent to open a PR against a specific branch, such as develop or release.
  • You're experimenting with automated code contributions and want an easy way to submit changes via a pull request.

Key capabilities

  • Creates GitHub pull requests.
  • Specifies base branch for the pull request.
  • Sets title for the pull request.
  • Opens pull requests against existing branches.

Example prompts

  • "Create a pull request with title 'Fix typo in documentation' targeting the main branch."
  • "Draft a pull request to update the README file and open it against the develop branch."
  • “Generate a pull request for my changes, name it ‘Add new feature’ and target the staging branch.”

Tips & gotchas

  • Ensure the AI agent has appropriate permissions (write access) to the GitHub repository.
  • The skill requires a valid GitHub token to function correctly.

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
akiojin
Installs
15

🌐 Community

Passed automated security scans.