create-pr
Push the current branch and open a GitHub pull request with gh. Use when the user asks to create or open a PR from the code-change strip or /create-pr.
от HenriGrimm★ 25 звёзд на GitHub
Установить create-pr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Create pull request
When to use
- User clicks Create PR on the code-change strip or invokes
/create-pr - User asks to open a pull request for the current branch
Steps
- Run
git_status— note branch, staged/unstaged state, and whetheroriginexists. - If there are uncommitted changes that belong to this work, ask the user if they would like to commit this first. Do not open a PR on a dirty tree unless the user explicitly asked to include uncommitted work.
- Run
git_log(recent commits) andgit_diffas needed to summarize what the PR contains. - Push the current branch:
execute_commandwithgit push -u origin HEADwhen upstream is missing, otherwisegit push. - Create the PR:
execute_commandwithgh pr createand a clear title (≤72 chars) plus a body that explains why (user impact, not a file list). Use--fillonly when it produces a good title/body. - Return the PR URL from gh output. If gh is missing, say so plainly.
Quality checks
- Title matches the committed scope on this branch
- Body follows the shared Pull request descriptions guidance: plain-language What changed, reproducible How to test steps for functional changes, and embedded Before and after screenshots for UX changes.
- No secrets in PR title or body
- If push fails (no remote, auth), report the error and do not claim the PR exists
Tools
git_status, git_log, git_diff, execute_command
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл create-pr?
Push the current branch and open a GitHub pull request with gh. Use when the user asks to create or open a PR from the code-change strip or /create-pr.
Как установить скилл create-pr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-pr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…