github-pr
GitHub PR Operations
Open a pull request
ruby scripts/create_pull_request.rb --repo "$(pwd)" <<'EOF'
Summary of the change
EOF
Check whether the latest test workflows for the current PR succeeded
ruby scripts/show_test_ci_results.rb --repo "$(pwd)"
The script can take up to 1 hour, so set the timeout to 1 hour.
It classifies the latest result of each workflow as successful, running, or failed.
Fetch unresolved review threads for a PR
ruby scripts/list_unresolved_review_threads.rb --repo "$(pwd)"
Reply to unresolved review threads and resolve them
ruby scripts/reply_and_resolve_review_threads.rb --repo "$(pwd)" <<'EOF'
{
"replies": {
"PRRT_kwDORiWJ-851nXBt": "Fixed in the latest update.",
"PRRT_kwDORiWJ-851nXBu": "Kept as-is intentionally. Added clarification in the code."
}
}
EOF
The JSON object must contain replies, keyed by review thread ID.
Notes
- Resolve
scripts/*.rbrelative to this skill directory, not relative to the repository you are operating on. - Pass the target repository path to the script with
--repo. For example, if you are in the repository, use--repo "$(pwd)". - If your agent cannot resolve the relative
scripts/...path, use an absolute path to the script. Keep--repopointed at the target repository. - Run
git commitandgit pushsequentially to avoid conflicts
More from willbooster/agent-skills
playwright-cli
Automate browser interactions, test web pages and work with Playwright tests.
61complete-pr
Complete GitHub pull requests by iterating on CI and review feedback until the PR is ready.
54review-all
Run Codex, Claude Code, and Gemini CLI reviews against the current branch concurrently, deduplicate the findings, and report only the review comments that are still valid for the current codebase.
53review-fix-codex
Run Codex code review against the current branch, fix only the review comments that are still valid for the current codebase, and leave invalid comments unchanged.
52review-fix-claude
Run Claude Code review against the current branch, fix only the review comments that are still valid for the current codebase, and leave invalid comments unchanged.
51review-gemini
Run Gemini CLI review against the current branch and report only the review comments that are still valid for the current codebase, without applying fixes.
50