Pull Request
Pull request lifecycle: prep, create, ready, monitor, merge, logs. If pr/commit-push-pr resolves in this session, prefer only for one-shot PRs (no draft/body…
от melodic-software★ 34 звезды на GitHub
Установить Pull Request в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Pull request
Arguments. [prep|create|ready|monitor|comments|ci|merge|reassess|evidence|status|full|…] [--unattended] [args]. Full set: the Arguments table below. e.g., /pull-request prep, /pull-request create, /pull-request ready, /pull-request monitor, /pull-request comments, /pull-request merge, /pull-request evidence <pr> --evidence <file>, /pull-request media <pr> --manifest <file>, /pull-request status, /pull-request full, /pull-request fetch-logs <pr|run>, /pull-request view <pr> --diff, /pull-request list --head <branch>, /pull-request review-venue
Repository context. Gather first
The read actions view, list, review-comments and review-venue, comments --ci, conflicts --ci, dependency --ci and ci --ci skip this section. Every other action gathers these.
Run each command below as its own Bash call, all sent together in one message (worktree isolation).
Keep any bound in the command's own pipe (output limits).
Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).
- Current branch,
git branch --show-current - Recent commits,
git log --oneline -5 - Working tree status,
git status --porcelain - Changed files (staged+unstaged),
git diff --name-only HEAD
Pointer: when an isolated session refuses a git command, fetch How Claude Code enforces isolation live.
Purpose
Run the PR lifecycle from quality review through merge and the post-merge worktree transition, detecting state and resuming.
The two non-negotiable gates:
- Finding verification (prep phase): agent review findings have a demonstrated error rate, so every finding is verified against current docs and actual code before it reaches the user.
- Research-gated CI fixes (monitor phase): no code fix without multi-source research consensus on the root cause. Unresearched "obvious" CI fixes are how wrong fixes ship.
Adapting to your environment (graceful degrade)
This skill is self-contained: it runs on git, the forge's CLI, jq, and its bundled scripts (skill-private ones under ${CLAUDE_PLUGIN_ROOT}/skills/pull-request/scripts/, plugin-shared ones under ${CLAUDE_PLUGIN_ROOT}/scripts/, which the reference/ files call <scripts-dir>: substitute the resolved path before a command from them reaches Bash). jq is required (the merge and readiness paths pipe forge API output through it): check command -v jq before the first phase that parses; if missing, stop with the install remediation (https://jqlang.org/download/; a separate install under Git Bash on native Windows) instead of failing mid-phase. The readiness thread gate (Gate 7) also needs Python 3.11+; without it that gate holds as unproven and the rest of the skill runs. The media action and the stale reviewer-media check need Python 3.11+ too: without it media stops with the install remediation (https://www.python.org/downloads/) and the stale check is skipped. An adjacent capability a phase names (a code-review skill or agents, a simplifier, a build/test/lint verifier, an external research skill, an exploration skill, a work-item tracker, a CI-log-audit agent, a forge-events push channel) is optional: invoke it when your environment provides it (a skill, plugin, agent, or MCP server), else follow the inline guidance, which stands on its own. Never block a phase because an adjacent tool is absent.
Consumer conventions come from the consuming project's own CLAUDE.md, AGENTS.md, and rules. Notably: PR body template, branch naming, merge style (this skill defaults to squash), review-reply identity (some projects post bot-identity replies via a wrapper; default is the forge CLI under your own login), and any extra pre-PR gates. Read them before creating or merging.
Provider commands. This body names forge operations (resolve the PR, read its checks, reply on a thread); their GitHub commands (the one forge supported today) are in the GitHub provider reference. Read it before the first forge operation. The phase files under reference/ carry each phase's full GitHub procedure.
PR title format resolves via the same ladder /source-control:commit uses for the commit subject (see its SKILL.md), checked in order: the pr_title_pattern resolved across the l
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/docs/conventions/source-control.yaml
- evals/evals.json
- reference/ci-ci.md
- reference/comments-ci.md
- reference/conflicts-ci.md
- reference/create.md
- reference/dependency-ci.md
- reference/evidence.md
- reference/full-lifecycle.md
- reference/media.md
- reference/merge.md
- reference/monitor.md
- reference/native-surfaces.md
- reference/prep.md
- reference/read.md
- reference/readiness.md
- reference/ready-for-review.md
- reference/reassess.md
- reference/review-venue.md
- reference/reviewer-shapes.md
- reference/watch-handoff.md
- scripts/check-body-sections.sh
- scripts/check-body-sections.test.sh
- scripts/check-gate-lines.sh
- scripts/check-gate-lines.test.sh
- scripts/check-ready-holds.sh
- scripts/check-ready-holds.test.sh
- scripts/check-rollup.jq
- scripts/confirm-verdict.sh
- scripts/evidence-ocr.py
- scripts/evidence-ocr.test.sh
- scripts/feedback-thread.sh
- scripts/feedback-thread.test.sh
- scripts/fetch-annotations.sh
- scripts/fetch-annotations.test.sh
- scripts/fetch-failed-logs.sh
- scripts/fetch-failed-logs.test.sh
- scripts/gh-reads.sh
- scripts/gh.sh
- scripts/media.py
FAQ
Что делает скилл Pull Request?
Pull request lifecycle: prep, create, ready, monitor, merge, logs. If pr/commit-push-pr resolves in this session, prefer only for one-shot PRs (no draft/body contract/ready/monitor/merge). Use: 'create pr', 'ship it', 'pr prep', 'mark ready', 'ready for review', 'fix CI', 'address comments', 'monitor PR', 'merge this', 'check pr status'. Not for fleet: /babysit-prs; worktrees: /worktree; commits: /commit.
Как установить скилл Pull Request?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Pull Request запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…