bundle-dependabot
Bundle dependabot PRs into a single PR and create a PR to master.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Bundle dependabot PRs into a single PR and create a PR to master.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Review the current branch's PR diff using a separate Claude Code agent and post inline comments via GitHub API. Optionally auto-fix findings.
Set up Cloudflare Turnstile end-to-end in a project — scan the codebase, create the widget via the Cloudflare API, deploy the managed siteverify Worker, write the frontend snippets, validate, and persist the skill. Load this when a user asks to add Turnstile, set up CAPTCHA, protect a form from bots, or fix a Turnstile integration. Mirrors developers.cloudflare.com/turnstile/spin.
Address code review comments from Copilot and other bots on the current branch's PR. Implements fixes if needed, commits, pushes, and replies to each comment.
Generate commit message in Japanese from git diff.
Generate commit message in English from git diff.
Generate daily report from claude
| name | bundle-dependabot |
| description | Bundle dependabot PRs into a single PR and create a PR to master. |
Create a PR that combines multiple open dependabot PRs into a single PR targeting master.
<target-branch> - Branch to create PR against (default: master)Examples:
/bundle-dependabot - Combine dependabot PRs targeting master/bundle-dependabot main - Use main as target branchgit checkout master
git pull origin master
Find all open PRs from dependabot:
gh pr list --author "dependabot[bot]" --state open --json number,title,headRefName
If no open PRs are found, inform the user and exit.
List the PRs found and confirm with the user before proceeding.
Generate a branch name with today's date:
git checkout -b chore/dependabot-updates-$(date +%Y%m%d)
For each dependabot PR, fetch and merge with the original commit message:
# Fetch all dependabot branches
git fetch origin <branch-name-1> <branch-name-2> ...
# Merge each with --no-ff and proper commit message
git merge --no-ff origin/<branch-name> -m "<original PR title>"
Handling package-lock.json conflicts:
If a merge conflict occurs in package-lock.json:
git checkout --theirs package-lock.json
npm install
git add package-lock.json package.json
git commit -m "<original PR title>"
After merging all dependabot PRs, check each updated package against the registry and bump to the latest available version if it is newer than what dependabot proposed.
For npm packages:
npm view <package-name> version
For Go modules:
go list -m -versions <module> | awk '{print $NF}'
If a newer version is found, apply the update:
For npm packages:
npm install <package-name>@<latest-version>
git add package.json package-lock.json
git commit -m "chore(deps): bump <package> from <dependabot-version> to <latest-version>"
For Go modules:
go get <module>@<latest-version>
go mod tidy
git add go.mod go.sum
git commit -m "chore(deps): bump <module> from <dependabot-version> to <latest-version>"
If the update to the latest version fails (e.g., breaking changes), keep the dependabot-proposed version and note this in the PR description.
git push -u origin HEAD
Create the PR in English:
gh pr create \
--base master \
--title "chore(deps): bundle dependabot updates" \
--body "$(cat <<'EOF'
## Summary
Bundle multiple dependabot dependency updates into a single PR.
## Changes
<list of dependency updates from merged PRs>
## Notes
Use "Squash and merge" to combine into a single commit.
EOF
)"
Display:
--no-ff to create merge commits