Pull Request
Drive GitHub pull request work end to end.
Install
npx skills add basicmachines-co/basic-memory --skill pull-request -g -a claude-code -y- Repository
- basicmachines-co/basic-memory4.4k
- Category
- Testing
- Updated
- 3d ago
- License
- AGPL-3.0
- Context cost
- Mediumabout 1,605 tokens
- Runs scripts
- No, instructions only
What it does
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
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.


