Work With Pr logo

Work With Pr

Organization
omagents
work-with-pr

Manage the full PR lifecycle using the github MCP: create, update, review, merge. Trigger when the user says 'create PR', 'update PR', 'review PR', 'merge PR', or needs to work with pull requests.

Overview

Publisheromagents
Repositoryomagents
Skill namework-with-pr
Stars
361
Forks
2
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by omagents on GitHub. Read the source before you install it.

Installation

Install the Work With Pr AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/omagents/omagents/tree/main/packages/core/skills/work-with-pr
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/omagents/omagents.git /tmp/omagents
mkdir -p .claude/skills
cp -r /tmp/omagents/packages/core/skills/work-with-pr .claude/skills/work-with-pr
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Work With Pr in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Work With Pr on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Work With Pr is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Work With PR: Pull Request Lifecycle

Manage pull requests from creation to merge using the github MCP tools.

When to Use

  • User says "create PR", "open PR", "submit PR"
  • User says "review PR", "check PR status"
  • User says "merge PR", "update PR branch"
  • Any PR-related workflow

Workflow

1. Before Creating a PR

Verify the branch is ready:

bash
# Check current branch
git branch --show-current

# Check for uncommitted changes
git status --porcelain

# Check commits to be included
git log origin/main..HEAD --oneline

2. Create a PR

github_create_pull_request(
  owner="<owner>",
  repo="<repo>",
  title="<clear title>",
  head="<feature-branch>",
  base="main",
  body="## Summary\n\n<what this PR does>\n\n## Changes\n\n- <change 1>\n- <change 2>\n\n## Testing\n\n<how to test>"
)

PR body structure:

  • Summary: One sentence describing what the PR does
  • Changes: Bullet list of specific changes
  • Testing: How to verify the changes work

3. Check PR Status

# Get PR details
github_pull_request_read(method="get", owner="<owner>", repo="<repo>", pullNumber=<N>)

# Get changed files
github_pull_request_read(method="get_files", owner="<owner>", repo="<repo>", pullNumber=<N>)

# Get diff
github_pull_request_read(method="get_diff", owner="<owner>", repo="<repo>", pullNumber=<N>)

# Get CI check runs
github_pull_request_read(method="get_check_runs", owner="<owner>", repo="<repo>", pullNumber=<N>)

4. Update PR

# Update title or body
github_update_pull_request(owner="<owner>", repo="<repo>", pullNumber=<N>, title="<new title>")

# Update branch with latest from base
github_update_pull_request_branch(owner="<owner>", repo="<repo>", pullNumber=<N>)

# Convert to/from draft
github_update_pull_request(owner="<owner>", repo="<repo>", pullNumber=<N>, draft=false)

5. Review a PR

Create a pending review, add comments, then submit:

# Create pending review
github_pull_request_review_write(method="create", owner="<owner>", repo="<repo>", pullNumber=<N>)

# Add line comments
github_add_comment_to_pending_review(
  owner="<owner>", repo="<repo>", pullNumber=<N>,
  path="src/file.ts", line=42, side="RIGHT",
  body="Consider extracting this to a helper function.",
  subjectType="LINE"
)

# Submit the review
github_pull_request_review_write(
  method="submit_pending", owner="<owner>", repo="<repo>", pullNumber=<N>,
  event="COMMENT"  # or "APPROVE" or "REQUEST_CHANGES"
)

6. Merge a PR

github_merge_pull_request(
  owner="<owner>",
  repo="<repo>",
  pullNumber=<N>,
  merge_method="squash",  # "merge", "squash", or "rebase"
  commit_title="<title>",
  commit_message="<details>"
)

7. Handle Review Comments

# Get review threads
github_pull_request_read(method="get_review_comments", owner="<owner>", repo="<repo>", pullNumber=<N>)

# Reply to a review comment
github_add_reply_to_pull_request_comment(
  owner="<owner>", repo="<repo>",
  commentId=<comment_id>,
  body="Fixed in <commit_sha>",
  pullNumber=<N>
)

PR Checklist

Before creating a PR:

  • Branch is up to date with base (git rebase origin/main)
  • All tests pass
  • No uncommitted changes
  • Commit messages are clear
  • PR title follows convention (feat:, fix:, docs:, refactor:, chore:)

Before merging:

  • CI checks pass
  • Code review approved
  • No unresolved review comments
  • Branch is up to date

Rules

  • Squash merge by default for clean history
  • Never force-push to shared branches
  • Address all review comments before merging
  • Use draft PR for work in progress
  • Keep PRs small -- one feature/fix per PR

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Work With Pr AI skill do?

Manage the full PR lifecycle using the github MCP: create, update, review, merge. Trigger when the user says 'create PR', 'update PR', 'review PR', 'merge PR', or needs to work with pull requests.

Why use Work With Pr on TypingMind?

Because you install it once and use it with any model. Work With Pr is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Work With Pr in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/omagents/omagents/tree/main/packages/core/skills/work-with-pr. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Work With Pr?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Work With Pr?

As many as you like. As long as a model supports skills, you can use Work With Pr with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Work With Pr AI skill free?

Yes. It is published on GitHub by omagents under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇