create-pr
БесплатноБез исполняемых скриптовНе проверенUse when a branch's work is complete and ready to be proposed for review against main, or when the user asks to open a pull request.
от uw-ssec★ 33 звезды на GitHubОб этом скилле
Create PR
Create a pull request for the current branch.
Instructions
Run these commands in parallel to understand the current state:
git status(never use-uall)git diff --stat(check for uncommitted changes)git branch --show-current(current branch)git log --oneline main..HEAD(all commits being PR'd)git diff main...HEAD --stat(full diff summary against main)
If there are uncommitted changes, ask whether to commit first.
If the branch hasn't been pushed, push with
git push -u origin <branch>.Analyze ALL commits in the branch (not just the latest) to draft:
- Title: Use conventional commit format:
type(scope): short description(under 70 chars) - Body: Structured summary with test plan
- Title: Use conventional commit format:
Create the PR:
gh pr create --title "type(scope): description" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points covering what changed and why>
## Changes
<bulleted list of specific changes, grouped by area if needed>
## Test plan
- [ ] <specific testable checklist items>
EOF
)"
- If there's a related issue, add
Closes #Nin the body. - Return the PR URL to the user.
Title Convention
Use the same conventional commit types as the commit skill:
feat(scope):for new featuresfix(scope):for bug fixesrefactor(scope):for restructuringdocs(scope):for documentationchore(scope):for maintenance
Rules
- Keep title under 70 characters
- Always include a test plan with specific checkboxes
- Never create a PR from
maintomain - If the branch name contains a hint (e.g.,
feat/,fix/), use that as the commit type - On an AI-assisted PR, disclose it: fill the "AI assistance disclosure" section
of
.github/pull_request_template.md, and/or apply theai-assistedlabel. AI-assisted commits carry anAssisted-by: <harness>:<model>trailer and never an agent-addedSigned-off-by:— see thecommitskill for the format - NEVER add "Generated with" or similar marketing lines to PR titles or bodies. This is attribution, not promotion
- If the PR is large or complex, consider breaking it into smaller PRs with focused scope and clear dependencies
Установить create-pr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл create-pr?
Use when a branch's work is complete and ready to be proposed for review against main, or when the user asks to open a pull request.
Как установить скилл create-pr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-pr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic