code-pull-request
Manage GitHub pull requests or GitLab merge requests: create, read/leave/respond to comments, and merge. Triggers on "open a PR", "make a PR", "merge this…
by martinffx★ 53 GitHub stars
Install code-pull-request in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Pull Request / Merge Request Skill
Create, comment on, and merge GitHub pull requests or GitLab merge requests for the
current branch. Assumes the relevant CLI (gh or glab) is installed and authenticated.
This skill is create/read + write-gated. Every write action (create PR, leave comment, respond to comment, merge) requires explicit human confirmation before running.
Start Here
- Detect the platform and find the current branch's open PR/MR — see references/common.md.
- Pick a workflow:
| Workflow | Reference | Trigger phrases |
|---|---|---|
| Create PR/MR | create-pr.md | "open a PR", "make a PR", "submit for review" |
| Read comments | read-comments.md | "read PR comments", "show MR comments" |
| Leave a comment | leave-comment.md | "leave a comment", "comment on the PR" |
| Respond to a comment | respond-to-comment.md | "respond to a comment", "reply on the PR" |
| Merge PR/MR | merge-pr.md | "merge this PR", "ship it", "merge the MR" |
Both GitHub (gh) and GitLab (glab) are first-class. Every write step pauses for
human approval before running the CLI command.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- references/common.md
- references/create-pr.md
- references/default-template.md
- references/leave-comment.md
- references/merge-pr.md
- references/read-comments.md
- references/respond-to-comment.md
FAQ
What does the code-pull-request skill do?
Manage GitHub pull requests or GitLab merge requests: create, read/leave/respond to comments, and merge. Triggers on "open a PR", "make a PR", "merge this PR", "merge the MR", "read PR comments", "leave a comment on the PR", "respond to a comment", "ship this", or when a feature branch is ready for review.
How do I install the code-pull-request skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the code-pull-request skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…