Skip to content
Skill

Code pull request

Lets your agent open, read, comment on and merge GitHub PRs or GitLab MRs

Code pull request is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
53
Last commit
License
MIT
Listing updated

Similar skills

About Code pull request

This skill handles the pull request lifecycle for the branch you are working on. It covers creating a PR or merge request, reading review comments, leaving new comments, replying to existing ones, and merging. Each workflow is described in its own reference file, and the agent first detects whether the repository is hosted on GitHub or GitLab and locates any open request for the current branch.

The skill relies on the platform's command line tool, either gh for GitHub or glab for GitLab, and expects it to be installed and logged in. Every write action, including creating, commenting, responding and merging, is gated so the agent asks the user for explicit confirmation before running the command.

The skill ships as a folder with a SKILL.md and reference documents only, with no bundled scripts. The source is published under the MIT license in the atelier repository and is offered as a Claude Code plugin.

When your agent uses it

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 8 files (16 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the atelier plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add martinffx/atelier
/plugin install atelier@atelier

Or copy only this skill to ~/.claude/skills/code-pull-request:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-pull-request &&
cp -R "$tmp/skills/code-pull-request" ~/.claude/skills/code-pull-request &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/code-pull-request inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/code-pull-request to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-pull-request &&
cp -R "$tmp/skills/code-pull-request" ~/.agents/skills/code-pull-request &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/code-pull-request inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/code-pull-request to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-pull-request &&
cp -R "$tmp/skills/code-pull-request" ~/.cursor/skills/code-pull-request &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/code-pull-request inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/martinffx/atelier.git --path skills/code-pull-request

Or copy the folder to ~/.gemini/skills/code-pull-request yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/code-pull-request:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-pull-request &&
cp -R "$tmp/skills/code-pull-request" ~/.copilot/skills/code-pull-request &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/code-pull-request inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/martinffx/atelier.git

Then copy atelier/skills/code-pull-request into your agent's skills folder as code-pull-request. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Platform detection
Determines whether the repository uses GitHub or GitLab and finds the open request for the current branch.
Create requests
Opens a pull request or merge request for a ready feature branch after confirmation.
Read review comments
Retrieves existing comments on a pull or merge request so the agent can review them.
Leave and reply to comments
Posts new comments or responses on a request, each gated by human approval.
Merge with approval
Merges a pull or merge request only after the user explicitly confirms the action.
Dual platform support
Handles both GitHub via gh and GitLab via glab with the same set of workflows.

Good for

  • Open a pull request for the feature branch I just finished
  • Read the review comments left on my merge request
  • Reply to a reviewer's comment on the open PR
  • Leave a comment on a pull request explaining a change
  • Merge the approved merge request after confirming

Code pull request FAQ

What does the skill need installed?

It assumes the relevant CLI, either gh for GitHub or glab for GitLab, is installed and authenticated.

Does the agent merge or post without asking?

No. Every write action such as creating a request, leaving or responding to a comment, or merging requires explicit human confirmation before the CLI command runs.

Which hosts are supported?

Both GitHub and GitLab are supported, using gh and glab respectively.

Are there scripts included?

No, the skill folder contains instructions and reference documents without bundled scripts.

How do I install Code pull request in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/code-pull-request to use it in all your projects, or to .claude/skills/code-pull-request in one project. Or install the atelier plugin, which includes it: /plugin marketplace add martinffx/atelier, then /plugin install atelier@atelier.

Does Code pull request run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Code pull request?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Code pull request?

The closest alternatives to Code pull request are GitHub workflow, Code review, Iterate PR, Get PR comments and Make PR easy to review.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from martinffx/atelier

  1. Routes an agent to the right planning mode and workflow skill for each task

    • Open source
    • 53 GitHub stars
    • Developer tools
  2. Guides a repo's setup for Atelier's workflow, previewing edits before writing

    • Open source
    • 53 GitHub stars
    • Developer tools
  3. Writes and checks conventional commit messages and guides safe staging before committing

    • Open source
    • 53 GitHub stars
    • Developer tools
  4. Condenses the current conversation into a handoff document for a fresh agent

    • Open source
    • 53 GitHub stars
    • Developer tools
  5. Reviews a branch or PR for human corrections and proposes repo fixes to prevent them

    • Open source
    • 53 GitHub stars
    • Developer tools
  6. Runs a multi-agent code review of a diff, filtering findings by reachable failures

    • Open source
    • 53 GitHub stars
    • Developer tools