gh-pr-writing
Write and update GitHub PR titles and PR bodies with repository templates and local conventions. Use when creating PRs with `gh pr create`, revising PR text…
от wordbricks★ 16 звёзд на GitHub
Установить gh-pr-writing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
GH PR Writing
Workflow
- Inspect changed files (
git show --name-only --oneline HEADorgit diff --name-only). - Choose title type and scope from the mapping below.
- Build title in Conventional Commit PR style.
- Run
bun run formatmanually before commit/push to avoid push-time formatter diffs. - Load PR template from
.github/pull_request_template.mdwhen present. - Fill the template with concrete user-facing behavior, implementation details, and executed validation commands.
- Create or update the PR using
gh pr createorgh pr edit.
Title Rules
- Format:
<type>(<scope>): <summary>. - Keep summary imperative and specific.
- Do not omit scope unless scope is truly cross-cutting.
- If user requires a ticket marker at the end, append exactly as requested (for example
... WOR-2610).
Type And Scope Mapping
See the following example:
feat(web):for user-visible frontend behavior inapps/dashboard,packages/ui, routing/UI/UX changes.fix(web):for frontend bug fixes.feat(server):for backend/API behavior changes inpackages/server.fix(server):for backend/API bug fixes.feat(db):orfix(db):for schema/query/migration behavior inpackages/db.chore(repo):for tooling/config/lockfile/CI/repo maintenance.refactor(<scope>):for structural code changes without behavior change.test(<scope>):for test-only changes.docs(<scope>):for documentation-only changes.- ...
When multiple scopes are touched, choose the dominant user impact scope.
PR Body Rules
- Use the repository PR template verbatim section structure when it exists.
- Prefer concrete, observable outcomes over abstract summaries.
- Include exact command lines used for validation.
- Explicitly note excluded items (for example: "README unchanged") when relevant.
Commands
# Inspect latest commit
git show --name-only --oneline HEAD
# Format before push
bun run format
# Create PR from template body file
gh pr create --base main --head <branch> --title "<title>" --body-file <body.md>
# Update title/body later
gh pr edit <pr-number-or-url> --title "<title>" --body-file <body.md>
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
FAQ
Что делает скилл gh-pr-writing?
Write and update GitHub PR titles and PR bodies with repository templates and local conventions. Use when creating PRs with `gh pr create`, revising PR text, choosing a conventional title prefix (for example `feat(web):`), or ensuring ticket suffix rules.
Как установить скилл gh-pr-writing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gh-pr-writing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…