auto-merge-dependabot/SKILL.md
This skill should be used when the user asks to "merge dependabot PRs", "review dependabot", "auto-merge dependencies", "handle dependabot", "merge dependency updates", "check dependabot PRs", or wants to automatically review and merge open Dependabot pull requests. Also triggered by the /auto-merge-dependabot command.
npx skillsauth add pmatos/skills auto-merge-dependabotInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review all open Dependabot pull requests in the current repository. Assess each PR for risk, and automatically merge those that are safe. Report any PRs that were skipped with clear reasoning.
Determine the current GitHub repository using:
gh repo view --json nameWithOwner -q '.nameWithOwner'
If this fails, report the error and stop — the user likely needs to authenticate with gh auth login or is not inside a Git repository.
Fetch all open PRs authored by Dependabot:
gh pr list --author 'app/dependabot' --state open --json number,title,url,headRefName,body,labels,additions,deletions,files --limit 100
If there are no open Dependabot PRs, inform the user and stop.
Present a summary table to the user:
## Open Dependabot PRs
| # | Title | Files Changed | +/- |
|---|-------|---------------|-----|
For each PR, assess the risk by checking:
Version bump type — Parse the PR title/body for semver information:
CI status — Check if CI checks have passed:
gh pr checks <number> --json name,state
Security advisories — Look at the PR body for GitHub security advisory mentions. Dependabot security updates should be prioritized.
Scope of changes — Review the changed files:
gh pr diff <number> --name-only
package-lock.json, Cargo.lock, go.sum, Gemfile.lock, poetry.lock, requirements.txt): Low risk.Merge conflicts — Check if the PR has conflicts:
gh pr view <number> --json mergeable -q '.mergeable'
CONFLICTING: Flag for rebase (will comment @dependabot rebase in Step 5).MERGEABLE or UNKNOWN: Continue with other checks.Classify each PR into one of:
Present the review results clearly:
## Review Summary
### Safe to Merge
| # | Title | Reason |
|---|-------|--------|
### Needs Manual Review
| # | Title | Concern |
|---|-------|---------|
For each PR classified as NEEDS REBASE, comment to request a rebase:
gh pr comment <number> --body "@dependabot rebase"
For each PR classified as SAFE TO MERGE, merge it:
gh pr merge <number> --squash --auto
Use --squash to keep the commit history clean. Use --auto so that GitHub waits for required status checks before merging.
If a merge fails due to merge conflicts, do not close the PR. Instead, comment on it to request a rebase:
gh pr comment <number> --body "@dependabot rebase"
Record it as "Requested rebase" and continue with the remaining PRs.
For other merge failures (non-conflict errors), record the error and continue.
Present a final summary:
## Results
### Merged
- #<number>: <title> ✓
### Requested Rebase (Conflicts)
- #<number>: <title> — commented @dependabot rebase
### Skipped (Needs Review)
- #<number>: <title> — <reason>
### Failed to Merge
- #<number>: <title> — <error>
If any PRs were skipped, ask the user: "Would you like me to review any of the skipped PRs in more detail, or merge specific ones despite the concerns?"
data-ai
Upscale raster images with a local OpenCV EDSR super-resolution model, then produce an exact target pixel size. Use when the user asks to upscale, enlarge, super-resolve, make a higher-resolution version, or create a wallpaper/print-size raster from an existing image while preserving the original artwork.
tools
This skill should be used when the user asks to "investigate issue", "investigate
development
This skill should be used when the user asks "what's going on", "wigo", "status", "where was I", "what were we doing", "catch me up", "tree status", "branch status", or wants a comprehensive situational briefing on the current git tree, session history, and associated PR. Also triggered by the /wigo command.
development
This skill should be used when the user asks to "plan this", "make a plan", "create an implementation plan", "how should I implement", "design the implementation", "plan the refactor", "plan the migration", "plan the feature", "break this down into steps", "implementation strategy", "deep plan", "thorough plan", or wants a thorough, multi-phase implementation plan with codebase exploration before writing any code.