Skip to content

About

Autonomous PR preparation to verified merge readiness for Claude Code and Codex

Topics

Resources

Contributing

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

PR Completion

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. VERSION 0.4.0 is 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.

Skills

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.

Prerequisites

  • 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 support status

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.

Install

Marketplace name and plugin id are both pr-completion. Install as pr-completion@pr-completion.

Claude Code

claude plugin marketplace add anur4ag/pr-completion
claude plugin install pr-completion@pr-completion --scope user

To 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 user

Refresh marketplace catalog, then update the plugin:

claude plugin marketplace update pr-completion
claude plugin update pr-completion --scope user

Uninstall:

claude plugin uninstall pr-completion --scope user
# Optional: also drop the marketplace source
claude plugin marketplace remove pr-completion

Codex

codex plugin marketplace add anur4ag/pr-completion
codex plugin add pr-completion@pr-completion

To 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-completion

Refresh 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-completion

Uninstall:

codex plugin remove pr-completion@pr-completion
# Optional: also drop the marketplace source
codex plugin marketplace remove pr-completion

skills.sh

Install the skills directly with the skills.sh CLI, for Claude Code, Codex, or any other supported agent:

npx skills add anur4ag/pr-completion --skill '*' -g

Add -a claude-code or -a codex to target a specific agent. List available skills without installing:

npx skills add anur4ag/pr-completion --list

Update or uninstall:

npx skills update -g
npx skills remove -g take-pr-to-completion commit-workspace-changes gh-review-comment-triage merge-conflict-resolution

Install 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.

First use

  1. Open a repository with an open pull request or local task changes ready to commit.
  2. Authenticate GitHub CLI: gh auth status should succeed for that host.
  3. Ask the agent to drive the PR with $pr-completion:take-pr-to-completion.
  4. The agent prepares or creates the PR and autonomously handles normal CI, review, and conflict cycles.
  5. At ready, the helper revalidates the observed head and lands under the original task authorization.
  6. Expect verified merged, or a concrete blocker and observation status. A submitted landing request alone is not completion.

Safety boundary

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.

Privacy and license

  • 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 gh authentication; 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/

Documentation

Local source of truth for durable docs:

Build and link-check the GitHub Pages site locally:

python3 scripts/build-docs.py
python3 scripts/check-docs-links.py

Publisher

  • 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.

Version

Canonical version file: VERSION. Claude, Codex, and marketplace manifests must match it.

About

Autonomous PR preparation to verified merge readiness for Claude Code and Codex

Topics

Resources

Contributing

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages