open-pr
БесплатноБез исполняемых скриптовНе проверенAlways use this skill for PR creation. Use whenever the user asks to open, create, draft, prepare, or submit a pull request, unless they explicitly ask for…
от dkarter★ 130 звёзд на GitHubОб этом скилле
Tool preference
- Prefer GitHub MCP for GitHub operations when available
- Use
ghCLI as the fallback for GitHub operations - Use Bash for local
gitcommands such as status, diff, log, commit, and push
Gather context
- Get the base branch (usually
mainormaster) - Get the diff:
git diff <base>...HEAD - Get commit messages:
git log <base>...HEAD --format="%s" - Read changed files to understand the broader context
Commit uncommitted changes
- Run
git statusto check for uncommitted changes - If changes exist, commit them before proceeding
Write PR description
First, check whether the repository has a PR template. Look in these common locations:
.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE.md.github/PULL_REQUEST_TEMPLATE/*.md
If a template exists, use it as the PR body format and fill it in using the conversation context and git context - but keep it concise!
If no template exists, use this fallback template:
# Motivation
[1-2 sentences: what this PR does and why]
# Summary of Changes
- [Key change 1]
- [Key change 2]
- [Key change 3]
# Testing
[How would a human reviewer verify the change from a user perspective when possible - concise bullet point instructions]
# Dependencies/Special Considerations
[only if there are any list them - e.g. other prs that need to be merged, manual
steps that need to be taken - otherwise say "none"]
Guidelines:
- Lead with a concise summary of what the PR does
- Explain the "why" before the "how"
- Use the conversation context to inform the description
- Include before/after comparisons for UI or performance changes
- Be concise, direct and to the point use explain-simply skill to keep technical descriptions easy to understand
- for the Testing Instructions section always prefer instructions for manual testing of how a human would verify the change manually by interacting with the app rather than a list of commands you ran - the list of commands is not helpful. If the change is not user facing at all you can describe how to test it more technically.
- Use the "humanizer" skill to improve writing
- IMPORTANT: always keep the pr in DRAFT mode - only a human should be allowed take a PR out of draft mode
Create the PR
Write a short PR title (max 52 characters) - it should always be a in conventional commit style
- For PDQ repositories that require a ticket, use
<type>: <description> [<TICKET-ID>]; the bracketed ticket MUST be the final element, e.g.fix: guard last enabled shard [PLT-4261].
- For PDQ repositories that require a ticket, use
Ensure the branch is pushed:
git push -u origin HEADCreate the PR as a draft, preferring GitHub MCP when available and
ghCLI otherwisegh pr create --draft --title "<title>" --body "<body>"After creating the PR, open it in the browser with
open <pr-url>
Установить open-pr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл open-pr?
Always use this skill for PR creation. Use whenever the user asks to open, create, draft, prepare, or submit a pull request, unless they explicitly ask for raw CLI/API commands instead.
Как установить скилл open-pr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл open-pr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic