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.
77
96%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Use this skill for the whole PR lifecycle, not only the moment of opening or merging.
For Basic Memory Python tooling, use the project environment first:
source .venv/bin/activateAfter 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.
Inspect the live artifact first.
gh pr view, gh issue view, linked review comments, CI status, and current branch state before deciding what to change.Keep branch scope clean.
basic-memory, prefer local branches in the main workspace unless the user asks for a worktree.Implement and validate.
just fast-check for source changes or just package-check for agent/package changes, before calling the branch ready.Write or update the PR description.
pr-description skill when available.Open or update the PR.
Enter the review loop immediately.
pr-review-loop after opening, pushing, updating the PR body in a meaningful way, or when the user asks whether the PR is ready.Codex feedback is adversarial input, not authority to redefine the pull request. Before changing code for a review finding:
Why, acceptance criteria, and behavior being protected.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.
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.
Apply pr-review-loop as part of normal PR work:
Do not merge, declare merge-ready, or move on as though finished until the loop state is explicit:
Codex gate: approved | waiting | blocking | overridden
Head: <sha>
Tests: passing | pending | failing
Evidence: <thumbs-up reaction, blocking comment URL, reply URL, or explicit user override>Before merging:
Never merge from green CI alone.
cb95e59
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.