원클릭으로
bump-pr-fixer
Find Renovate dependency update PRs with failing CI and fix them using Claude Code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Find Renovate dependency update PRs with failing CI and fix them using Claude Code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate a DrawIO cloud-architecture diagram (generic, Azure, or AWS) from a natural-language description. Always writes a `.drawio.png` — a PNG with the editable mxfile XML embedded in a PNG text chunk, so the same file renders inline in markdown and opens as an editable diagram in app.diagrams.net or drawio-desktop. Provider is auto-detected from the description; GCP is not supported.
Refactor and test recent changes across all repos with publishable changes, ship PRs with auto-merge, then monitor CI and auto-fix failures until merged.
Review the pending diff on the current branch for security issues (injection, authz, secrets, crypto misuse, SSRF, XSS, etc.) and apply fixes. Runs on the current repo by default; pass "all" to fan out across every accessible repo with pending changes. Stops before commit; pair with /publish to ship.
Create a GitHub repository from template with full configuration (merge settings, branch protection, profile READMEs).
Review the pending diff on the current branch for documentation drift (README, docs/, CHANGELOG, docstrings, inline comments, config examples) and apply updates. Runs on the current repo by default; pass "all" to fan out across every accessible repo with pending changes. Stops before commit; pair with /publish to ship.
Monitor Kubernetes cluster health and create fix PRs via Claude Code for GitOps-fixable issues.
| name | bump-pr-fixer |
| description | Find Renovate dependency update PRs with failing CI and fix them using Claude Code. |
| user-invocable | false |
| allowed-tools | Bash, Read, Glob, Grep, Edit, Write, Agent, Skill |
Finds open Renovate PRs with failing CI checks across configured repositories and uses Claude Code to diagnose and fix the failures.
Required env vars: GH_TOKEN, CLAUDE_CODE_OAUTH_TOKEN, REPOS
(newline-separated list of owner/repo).
Verify required env vars and configure git for the CI runner:
[[ -n "$GH_TOKEN" && -n "$CLAUDE_CODE_OAUTH_TOKEN" && -n "$REPOS" ]] \
|| { echo "Missing required env vars"; exit 1; }
git config --global user.name "claude-code-bot"
git config --global user.email "claude-code-bot@users.noreply.github.com"
git config --global url."https://x-access-token:${GH_TOKEN}@github.com/".insteadOf "https://github.com/"
For each repo in $REPOS (skip empty lines and lines starting with #):
Find failed Renovate PRs:
gh pr list \
--repo "$repo" \
--author "app/renovate" \
--state open \
--json number,title,statusCheckRollup \
--jq '
[.[] | select(.statusCheckRollup[]? | .status == "COMPLETED" and .conclusion == "FAILURE")]
| unique_by(.number)
| [.[] | {number, title}]
'
If the result is empty, log "no failed PRs in $repo" and continue to the next repo.
Otherwise, clone the repo:
repo_dir="/workspace/$(echo "$repo" | tr '/' '-')"
rm -rf "$repo_dir"
git clone "https://github.com/${repo}.git" "$repo_dir"
For each failed PR number, run Step 3 below. Continue on failure — one PR failing should not block the others.
After all PRs for that repo are processed, remove the clone:
rm -rf "$repo_dir".
Checkout the PR branch cleanly:
cd "$repo_dir"
git reset --hard
git clean -fd
DEFAULT_BRANCH="$(git remote show origin | awk '/HEAD branch/ {print $NF}')"
git checkout "$DEFAULT_BRANCH" && git pull --quiet
gh pr checkout "$pr_number"
Delegate diagnosis and fix to a sub-agent via the Agent tool. Prompt:
This is a Renovate dependency update PR (
<repo>#<pr_number>) with failing CI checks. Working directory:<repo_dir>, already on the PR branch.Diagnose why CI is failing and fix the issue. The failure is likely caused by the dependency update requiring code changes. Pull the failing logs:
gh pr checks --json name,bucket,state,link gh run view <run-id> --log-failed # run-id is the path segment after "/runs/" in linkMake minimal targeted fixes — do not refactor unrelated code. After fixing, stage your changes with
git add. Do not commit or push; the lead will handle that.
Allowed tools for the sub-agent: Bash, Read, Edit, Write, Glob, Grep.
After the sub-agent returns:
git diff --cached --quiet && echo "no changes" || echo "changes staged"
/ship via the Skill tool with the message
fix: resolve CI failures for dependency update. /ship commits,
rebases, pushes, and ensures the PR has auto-merge.If the sub-agent errors (tool failure, timeout), record "claude_failed" for this PR and continue.
Print a summary of processed repos and PRs: