Development
create-pr - Claude MCP Skill
Open a PR
SEO Guide: Enhance your AI agent with the create-pr tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to open a pr... Download and configure this skill to unlock new capabilities for your AI workflow.
Documentation
SKILL.md# Open a PR Important: Steps 2 and 3 require `required_permissions: ['all']` because: - Pre-commit hooks need access to global npm/node paths outside the workspace - `gh` CLI has TLS certificate issues in sandboxed mode ## Critical Rules **NEVER include PII (Personally Identifiable Information) in:** - Commit messages - PR titles or descriptions - Branch names - File paths or names mentioned in commits/PRs - Any text that will be publicly visible PII includes: names, email addresses, phone numbers, physical addresses, usernames, account IDs, API keys, tokens, passwords, or any other sensitive personal data. ## Step 1: Check state (ONE command) ```bash git branch --show-current && git status -s && git diff HEAD --stat ``` - **Always create a new branch for each PR** unless you're already on the correct branch for the current changes. - If on `main` OR if the current branch doesn't match the work you're committing: create a branch using the appropriate prefix: - `feat/<description>` - new features - `fix/<description>` - bug fixes - `chore/<description>` - maintenance, refactoring, etc. ```bash git checkout -b feat/<description> ``` Note: `git checkout -b` requires `required_permissions: ['git_write']` ## Step 2: Commit + Push (`required_permissions: ['all']`) If uncommitted changes exist: **If staged files exist** (respect user's selection): ```bash git commit -m "<msg>" && git push ``` **If unstaged files exist** (add specific files, NOT `git add .`): ```bash git add <file1> <file2> ... && git commit -m "<msg>" && git push ``` ## Step 3: Create PR (`required_permissions: ['all']`) **Format:** ``` <feature_area>: <Title> (80 chars max) <TLDR> (1-2 sentences) - bullet 1 - bullet 2 ``` **Without skip-review:** ```bash gh pr create --title "<title>" --body "<body>" ``` **With skip-review** (user says "skip review", "#skipreview", etc.): ```bash gh pr create --title "<title>" --body "<body>" && gh pr comment $(gh pr view --json number -q .number) --body "#skipreview" ``` Display the returned PR URL as a markdown link on its own line, formatted as: `[PR #<number>](<url>)` so it's clickable. Display the name of the branch you created.
Signals
Information
- Repository
- elie222/inbox-zero
- Author
- elie222
- Last Sync
- 3/12/2026
- Repo Updated
- 2/14/2026
- Created
- 1/16/2026
Reviews (0)
No reviews yet. Be the first to review this skill!
Related Skills
upgrade-nodejs
Upgrading Bun's Self-Reported Node.js Version
cursorrules
CrewAI Development Rules
cn-check
Install and run the Continue CLI (`cn`) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally.
CLAUDE
CLAUDE.md
Related Guides
Bear Notes Claude Skill: Your AI-Powered Note-Taking Assistant
Learn how to use the bear-notes Claude skill. Complete guide with installation instructions and examples.
Mastering tmux with Claude: A Complete Guide to the tmux Claude Skill
Learn how to use the tmux Claude skill. Complete guide with installation instructions and examples.
OpenAI Whisper API Claude Skill: Complete Guide to AI-Powered Audio Transcription
Learn how to use the openai-whisper-api Claude skill. Complete guide with installation instructions and examples.