Autonomous pull request completion for Claude Code and Codex.
Invoke PR Completion to delegate the in-scope PR through verified merge. It prepares changes, uses one managed watcher, repairs CI/review findings, observes automatic incremental reviews, obtains effective approval, and uses GitHub's protected landing path. Routine head changes do not require another user approval or manual review request.
Release.
VERSION0.4.0is published as v0.4.0. Upgrade every harness installation to receive autonomous completion and the watcher fix. Docs: https://anur4ag.github.io/pr-completion/. Publisher: Business - Traycer. OpenAI directory submission remains a separate step.
| Skill | Responsibility |
|---|---|
take-pr-to-completion |
Own task-scoped preparation, review, repair, protected landing and verified merge. |
commit-workspace-changes |
Validate and commit local task changes; return to its caller. |
gh-review-comment-triage |
Verify inline and top-level findings, repair a complete round, reply and resolve with evidence. |
merge-conflict-resolution |
Preserve both sides' intent and validate the combined result. |
Invoke skills by namespaced id, for example $pr-completion:take-pr-to-completion. Explicit local-only or stop-at-ready requests retain their narrower scope.
- Python 3.10 or newer (
python3) - Git
- GitHub CLI (
gh) authenticated to the account that can read and write the target PR - Repository-specific build, lint, and test tools required by the projects you work in
- One target harness floor:
- Claude Code 2.1.207+, or
- Codex CLI 0.144.3+
| Platform | Status |
|---|---|
| macOS | Supported (hosted CI + local) |
| Linux | Supported (hosted CI) |
| Windows | Supported (hosted CI) |
Hosted validation runs on ubuntu-latest, macos-latest, and windows-latest for the package suite and isolated install smoke.
Marketplace name and plugin id are both pr-completion. Install as pr-completion@pr-completion.
claude plugin marketplace add anur4ag/pr-completion
claude plugin install pr-completion@pr-completion --scope userTo pin the marketplace to v0.4.0, then install:
claude plugin marketplace add anur4ag/pr-completion@v0.4.0
claude plugin install pr-completion@pr-completion --scope userRefresh marketplace catalog, then update the plugin:
claude plugin marketplace update pr-completion
claude plugin update pr-completion --scope userUninstall:
claude plugin uninstall pr-completion --scope user
# Optional: also drop the marketplace source
claude plugin marketplace remove pr-completioncodex plugin marketplace add anur4ag/pr-completion
codex plugin add pr-completion@pr-completionTo pin the marketplace to v0.4.0:
codex plugin marketplace add anur4ag/pr-completion@v0.4.0
# or: codex plugin marketplace add anur4ag/pr-completion --ref v0.4.0
codex plugin add pr-completion@pr-completionRefresh marketplace snapshot, then reinstall to pick up a new version:
codex plugin marketplace upgrade pr-completion
codex plugin remove pr-completion@pr-completion
codex plugin add pr-completion@pr-completionUninstall:
codex plugin remove pr-completion@pr-completion
# Optional: also drop the marketplace source
codex plugin marketplace remove pr-completionInstall the skills directly with the skills.sh CLI, for Claude Code, Codex, or any other supported agent:
npx skills add anur4ag/pr-completion --skill '*' -gAdd -a claude-code or -a codex to target a specific agent. List available skills without installing:
npx skills add anur4ag/pr-completion --listUpdate or uninstall:
npx skills update -g
npx skills remove -g take-pr-to-completion commit-workspace-changes gh-review-comment-triage merge-conflict-resolutionInstall all four skills together, since they call each other. Installed this way they have no pr-completion: namespace, so invoke them by bare name, for example $take-pr-to-completion.
- Open a repository with an open pull request or local task changes ready to commit.
- Authenticate GitHub CLI:
gh auth statusshould succeed for that host. - Ask the agent to drive the PR with
$pr-completion:take-pr-to-completion. - The agent prepares or creates the PR and autonomously handles normal CI, review, and conflict cycles.
- At
ready, the helper revalidates the observed head and lands under the original task authorization. - Expect verified merged, or a concrete blocker and observation status. A submitted landing request alone is not completion.
Invocation authorizes the task's PR lifecycle. Ordinary pushes and repairs preserve that authorization while invalidating stale readiness. The pr_land.py helper is the only merge-state mutation surface: it rechecks policy, reviews, checks, head identity, queue requirement and the allowed merge method before using GitHub's protected path. --dry-run is optional inspection.
No admin/protection bypass, force-push, published-history rewrite, direct merge API or blocking-review dismissal is permitted. Required eligible approvers remain required. Auto-merge enrollment never suppresses repairs; the watcher stays responsible until GitHub confirms merge. A plain commit request stays local rather than launching a completion workflow.
- Plugin code and local helpers execute on your machine inside Claude Code or Codex.
- Those harnesses, plus tools you invoke (especially Git and
gh), may transmit data to their configured providers under their policies. - The publisher operates no backend, analytics service, telemetry collector, or credential proxy for this plugin.
- GitHub access uses your existing
ghauthentication; GitHub remains operated by GitHub, not by this publisher. - License: MIT
Public legal and support pages:
| Page | URL |
|---|---|
| Site home | https://anur4ag.github.io/pr-completion/ |
| Support | https://anur4ag.github.io/pr-completion/support/ |
| Privacy | https://anur4ag.github.io/pr-completion/privacy/ |
| Terms | https://anur4ag.github.io/pr-completion/terms/ |
Local source of truth for durable docs:
- docs/index.md - overview
- docs/installation.md - install, pin, update, uninstall, troubleshooting
- docs/skills.md - skill authority and safety contract
- docs/support.md - support and issue routing
- docs/privacy.md - privacy statement
- docs/terms.md - terms of use
- SECURITY.md - security reporting
Build and link-check the GitHub Pages site locally:
python3 scripts/build-docs.py
python3 scripts/check-docs-links.py- Marketplace / directory publisher identity: Traycer (portal label Business — Traycer)
- Canonical GitHub repository owner: anur4ag
- Repository:
https://github.com/anur4ag/pr-completion - Copyright remains as stated in
LICENSE. Repository ownership and copyright attribution are separate from the verified business portal identity used for directory submission.
Canonical version file: VERSION. Claude, Codex, and marketplace manifests must match it.