Medox pr
Create or update a GitHub pull request following Medox conventions (author spicode-bot, reviewer spideystreet). Invoke manually with /pr — do NOT trigger automatically.
install
source · Clone the upstream repo
git clone https://github.com/spideystreet/medox
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/spideystreet/medox "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/pr" ~/.claude/skills/spideystreet-medox-pr && rm -rf "$T"
manifest:
.claude/skills/pr/SKILL.mdsource content
Skill: Pull Request
Create or update a GitHub PR following the conventions defined in
.claude/rules/git.md.
Steps
- Pre-flight: docs sync — run
first to ensure docs are up to date with code changes/docs-up
— review commits includedgit log main..HEAD --oneline- Push if needed:
git push -u origin <branch> - Check if a PR already exists for the current branch:
- Use
withmcp__github__list_pull_requests
andhead: "spideystreet:<branch>"state: "open" - If a PR exists → update it (step 5b)
- If no PR exists → create it (step 5a)
- Use
5a. Create PR
- Use
:mcp__github__create_pull_request
:title<type>(<scope>): <summary>
: current branchhead
:basemain
: see Body format belowbody
- Add reviewer:
gh pr edit <number> --add-reviewer spideystreet
5b. Update PR
- Use
to updategh pr edit <number>
and/or--title
if commits changed the scope--body - 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 (
) overmcp__github__*
CLI for GitHub operations (create PR, list issues, add comments, etc.)gh - Use
CLI only for local operations (log, push, diff, status)git - Use
for updating title/body (no MCP equivalent)gh pr edit