About complete-pr
complete-pr is a repository workflow skill for completing an existing pull request. It refreshes the branch, handles default-branch updates, and selects repository-specific instructions based on the owner.
Key features
- 01Read PR details with fetch-pr
- 02Fetch changes from the remote
- 03Merge default-branch updates and push
- 04Select workflow by repository owner
Use cases
- 01Refresh a PR branch before completing it
- 02Apply the appropriate workflow for a repository owner
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ willbooster/ agent-skills --skill complete-prAfter installing, type/complete-prin Claude Code to confirm it loaded.
Bundled filesreferences/other-repositories-workflow.mdreferences/willbooster-workflow.md
Details
From the project READMEUse the fetch-pr skill to read the PR body and its messages.
Fetch the latest changes from the remote. If the remote default branch has new commits, merge it into the current branch, resolve any conflicts, and push the changes.
Next, fetch the current repository owner using the command gh repo view --json owner --jq '.owner.login'.
If the owner is WillBooster, WillBoosterLab, exKAZUu or exKAZUu-Research, follow references/willbooster-workflow.md.
Otherwise, follow references/other-repositories-workflow.md.