pr-creator
БесплатноБез исполняемых скриптовНе проверенCreates or updates GitHub PRs with house-style titles and bodies, issue linking, repository templates, and draft state. Use when asked to "create a PR", "open…
от mblode★ 230 звёзд на GitHubОб этом скилле
pr-creator
Write PR descriptions like a developer posting in Slack, not an AI summarizing a diff. The reviewer has none of your context, so the body answers what the diff cannot: why, what it costs if wrong, and where you want their view. The diff answers what changed.
- IS: creating or updating a GitHub PR's title, body, draft state, and reviewers, attaching visuals for a UI change, plus the commit restructuring and review path that make a large diff readable.
- IS NOT: changing the code in the diff or reviewing it for bugs (use
tidy), watching CI and review comments after the PR exists (usepr-babysitter), or cutting npm releases (useautoship).
Reference Files
| File | Read When |
|---|---|
references/pr-polish.md |
Commits contain fixup, WIP, or "address review" noise, the diff exceeds 500 lines, or the user asks to polish, restructure, squash, or split the PR |
Workflow
Copy this checklist to track progress:
PR creation progress:
- [ ] Inspect the current branch and diff against the existing PR base, or the discovered default branch merge-base
- [ ] Existing PR? gh pr view --json url,state,isDraft (state OPEN means edit, not create)
- [ ] Linear ID from branch, commits, prompt, or issue link; no ID means no prefix
- [ ] Noisy commits or a >500-line diff? references/pr-polish.md, before pushing
- [ ] PR template present? Read it (paths under Templates)
- [ ] Draft title and body against Rules and Anti-patterns
- [ ] git push -u origin HEAD
- [ ] gh pr create (or gh pr edit); then gh pr view --json url,title and return the URL
- [ ] UI change with a video or screenshots? gh pr edit <n> --attach <file> after the final body, then gh pr view <n> --json body
Do not ask the user to approve the description first; the point is speed. They can ask for a rewrite and you run gh pr edit.
Rules
- Title. With a Linear ID:
ABC-123: Add auth flow. Without one:Add auth flow. Under 60 characters, no trailing period. If the repo lints PR titles (asemantic-pull-requestor commitlint workflow under.github/workflows/), use its shape and put the ID at the end:feat: add auth flow (ABC-123). Linear links on the ID wherever it sits in the title. - Body. One short paragraph: what changed and why it matters. Length follows the change; a one-line body is fine for a one-line fix.
- No fake why. If the reason is not in the prompt, the Linear issue, the branch, the commits, or the diff, leave it out rather than inventing one.
- Risk and input only when real. One
Risk:line for migrations, billing, auth, permissions, irreversible writes, wide blast radius, or a subtle behavior change. OneInput wanted:line when a decision in the diff is still open and the reviewer's view would change it; name the decision, never "thoughts welcome". Otherwise nothing. - Testing only if real. Say what you ran only if you ran it. Never a
Test plansection, never checkboxes. - Partial work. If this PR does not finish the Linear issue, keep the ID out of the title and write
Part of ABC-123in the body. Linear's default automation moves a linked issue to Done when the PR merges; the non-closing magic word links without closing. - Draft and reviewers only when asked.
--draftfor "draft" or "WIP";gh pr readypromotes it later,gh pr ready --undodemotes.--reviewer alice,org/teamonly for people the user named; CODEOWNERS already requests owners. - Stop after the useful content. The harness's
attributionsetting owns the PR footer (Generated with Claude Code, session link). Never hand-write one, and never strip one the harness or a repo policy appends. Everything above the footer is this skill's; its one-paragraph body replaces the harness's defaultSummaryandTest plansections.
Anti-patterns: never write these
- Openers that narrate the artifact: "This PR implements...", "This change ensures...", "This commit introduces..."
- Changelog verbs with no reason attached: "Refactored X to improve Y", "Updated Z to handle...", "Added comprehensive test coverage for..."
- Lines that start with a filename or path; the diff already lists the files
- A
Test plansection with checkboxes - A bullet list that restates the diff
- A body a reviewer must read exhaustively to find what matters: if the point is not in the first sentence, the paragraph is a summary, not a description
Examples
Feature (ABC-123 is the real Linear ID)
Title: ABC-123: Add auth flow with session management
Adds the auth flow needed for session-based login, including refresh, timeout handling, and a small error boundary for auth failures.
Input wanted: the 15-minute idle timeout is a guess; if product has a number, I'll use it.
Bugfix (real risk, real testing)
Title: PAY-482: Dedupe Stripe webhook retries
Stripe retries webhooks on timeout and our handler wasn't idempotent, so retried events created duplicate i
Установить pr-creator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pr-creator?
Creates or updates GitHub PRs with house-style titles and bodies, issue linking, repository templates, and draft state. Use when asked to "create a PR", "open a PR", "rewrite the PR description", or "polish this PR".
Как установить скилл pr-creator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pr-creator запускает скрипты?
Нет, скилл состоит только из инструкций (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