A manual-trigger skill for managing GitHub PRs according to specific repository conventions.

Install

mkdir -p .claude/skills/pr-spideystreet && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18977" && unzip -o skill.zip -d .claude/skills/pr-spideystreet && rm skill.zip

Installs to .claude/skills/pr-spideystreet

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Create or update a GitHub pull request following Medox conventions (author spicode-bot, reviewer spideystreet). Invoke manually with /pr — do NOT trigger automatically.
168 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Create a new GitHub pull request
  • Ensure documentation is synchronized with code changes
  • Review commits included in a PR
  • Add a specific reviewer to a PR

How it works

The skill first synchronizes documentation, then reviews commits, and either creates a new PR or updates an existing one based on the current branch. It uses GitHub MCP tools and `gh pr edit` for operations.

Inputs & outputs

You give it
Current branch with code changes
You get back
A new or updated GitHub pull request following Medox conventions

When to use pr

  • Creating a new pull request
  • Updating an existing PR
  • Ensuring docs are synced before PR
  • Managing PR reviewers

About this skill

Skill: Pull Request

Create or update a GitHub PR following the conventions defined in .claude/rules/git.md.

Steps

  1. Pre-flight: docs sync — run /docs-up first to ensure docs are up to date with code changes
  2. git log main..HEAD --oneline — review commits included
  3. Push if needed: git push -u origin <branch>
  4. Check if a PR already exists for the current branch:
    • Use mcp__github__list_pull_requests with head: "spideystreet:<branch>" and state: "open"
    • If a PR exists → update it (step 5b)
    • If no PR exists → create it (step 5a)

5a. Create PR

  • Use mcp__github__create_pull_request:
    • title: <type>(<scope>): <summary>
    • head: current branch
    • base: main
    • body: see Body format below
  • Add reviewer: gh pr edit <number> --add-reviewer spideystreet

5b. Update PR

  • Use gh pr edit <number> to update --title and/or --body if commits changed the scope
  • Push new commits (already done in step 3)
  • Report the existing PR URL to the user

Body format

## Summary

- <bullet points from commits>

## Test plan

- [ ] `uv run pytest <tests> -v`
- [ ] Manual: <scenario>

🤖 Generated with [Claude Code](https://claude.ai/claude-code)

Rules

  • Always prefer GitHub MCP tools (mcp__github__*) over gh CLI for GitHub operations (create PR, list issues, add comments, etc.)
  • Use git CLI only for local operations (log, push, diff, status)
  • Use gh pr edit for updating title/body (no MCP equivalent)

When not to use it

  • Automatically triggering PR creation or updates

Limitations

  • Must be invoked manually
  • Requires `mcp__github__list_pull_requests` to check for existing PRs
  • Requires `mcp__github__create_pull_request` for new PRs

How it compares

This skill automates the creation and updating of GitHub PRs with specific conventions and documentation synchronization, ensuring consistency beyond manual PR creation.

Compared to similar skills

pr side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
pr (this skill)04moNo flagsIntermediate
resolve-conflicts818moReviewIntermediate
dependency-upgrade264moReviewIntermediate
git-commits213moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry