pull-request
БесплатноБез исполняемых скриптовНе проверенDrive GitHub pull request work end to end. Use when Codex is asked to open, update, describe, push to, monitor, review, address comments on, declare ready, or…
от basicmachines-co★ 4 799 звёзд на GitHubОб этом скилле
Pull Request
Use this skill for the whole PR lifecycle, not only the moment of opening or merging.
Runtime Setup
For Basic Memory Python tooling, use the project environment first:
source .venv/bin/activate
After activation, run Python scripts as python .... For one-off commands where activation is awkward, prefer ./.venv/bin/python ... or the repo's uv run ... patterns. Do not fall back to system python, python3, or global packages just because a command is missing.
Flow
Inspect the live artifact first.
- Use
gh pr view,gh issue view, linked review comments, CI status, and current branch state before deciding what to change. - If the user links a specific PR discussion, inspect that exact discussion before broad edits.
- Use
Keep branch scope clean.
- Base product-fix PRs on the intended remote base.
- Avoid mixing workflow/skill/doc commits into unrelated product branches.
- In
basic-memory, prefer local branches in the main workspace unless the user asks for a worktree.
Implement and validate.
- Read files fully before editing.
- Make the smallest behaviorally complete change.
- Run focused tests for the changed surface.
- Run the repo's required gate, such as
just fast-checkfor source changes orjust package-checkfor agent/package changes, before calling the branch ready.
Write or update the PR description.
- A PR without a useful description is not done.
- Use the existing
pr-descriptionskill when available. - Make the body explain the change to a reviewer who did not watch the chat.
Open or update the PR.
- Include linked issues, review comments, or specs.
- Include exact validation commands and outcomes.
- Mark draft only when the PR is intentionally not ready for review.
Enter the review loop immediately.
- Use
pr-review-loopafter opening, pushing, updating the PR body in a meaningful way, or when the user asks whether the PR is ready. - Do not treat PR creation as the end of the task when the user expects review follow-through.
- Use
Scope Discipline
Codex feedback is adversarial input, not authority to redefine the pull request. Before changing code for a review finding:
- Restate the PR's
Why, acceptance criteria, and behavior being protected. - Trace or reproduce the concrete failure against the current head.
- Classify the finding:
- In-scope blocker: any regression introduced by the branch, or a direct violation of the stated behavior, acceptance criteria, security boundary, data integrity, or a required check. Fix it in the current PR.
- Sidequest / gold-plating: speculative hardening, a broader concurrency model, unrelated cleanup, a new abstraction, or an improvement that is not required for the stated outcome. Push back with evidence and keep it out of the branch.
- Fast follow: a real and material concern that deserves work but is separable from the current outcome. Keep the current PR focused and track it independently.
Narrow PR wording never makes a branch-introduced regression a fast follow. Treat every
regression caused by the current branch as an in-scope blocker, even when the Why or acceptance
criteria omitted the affected behavior.
Do not accept a P1, P2, or other severity label at face value. Severity must follow from a
reproducible impact and the product contract. In particular, do not add locks, leases, retries,
migrations, or generalized frameworks merely to close every theoretical interleaving when the
documented behavior permits eventual consistency.
For out-of-scope feedback, reply on the review thread with the scope boundary and supporting evidence. If the concern is independently critical or otherwise worth scheduling, open a fast-follow issue when the user has already authorized issue creation; otherwise provide the proposed issue title/body and ask. Link the PR and review comment, state the concrete impact, and give the follow-up its own acceptance criteria. Do not mix the follow-up implementation into the current product branch.
PR Description Standard
Every PR body should include these ideas, using headings that fit the repo's style:
Why: the problem, reviewer comment, issue, incident, user need, or spec requirement that makes the change necessary now.What Changed: the concrete behavior or files changed, in reviewer-friendly language.Implementation Details: important design choices, constraints, tradeoffs, data-flow changes, or why a simpler-looking alternative was avoided.Testing: exact commands run and whether they passed. If something relevant was not tested, say so.Risks / Follow-ups: remaining uncertainty, rollout concerns, known deferred work, or why there are none.
Avoid PR bodies that only restate commit messages. Prefer a short but complete explanation over a long changelog.
Codex Review Loop
Apply pr-review-loop as part of normal PR work:
Установить pull-request в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pull-request?
Drive GitHub pull request work end to end. Use when Codex is asked to open, update, describe, push to, monitor, review, address comments on, declare ready, or merge a PR. Covers branch hygiene, PR descriptions with why/what/testing/risk, CI checks, Codex review-loop monitoring, comment handling, and the final merge gate.
Как установить скилл pull-request?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pull-request запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub