/ratchet-github:dependabotfrom ratchet-github
Use when writing or reviewing dependabot.yml or a workflow that runs on Dependabot pull requests, when asked to trigger, re-run, or force a Dependabot run, or when a Dependabot pull request has a conflict, a stale lockfile, or a failing bump. Configures coverage, grouping, cooldowns, and secrets, starts an update check on demand, and repairs a Dependabot pull request.
Ships in ratchet-github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read every applicable AGENTS.md, then the repository's dependency, CI, release,
and branch-protection docs. Repository-local policy owns the accepted cooldown, package roots,
first-party publishers, runner policy, required checks, and secret
source, and overrides these defaults.
package.json without regenerating the lock, and the frozen
install then fails.engines.node is a floor, not the runtime pin. Dependabot's hosted updater runs the active Node
LTS and cannot be configured, so with strict engine checks a floor above that version fails
every update. Keep the floor at or below it.github-actions and docker, whose bumps run in CI before anyone reviews them. Set
cooldown.default-days: 7, and set any semver-major-days, semver-minor-days, or
semver-patch-days to at least 7. Never lower a longer value already there. Most compromised
releases are found and pulled within days, so the delay keeps them out. Cooldown applies to
version updates, not security updates; that gap is the known residual risk.open-pull-requests-limit: 5 on every update entry. The limit is per entry and covers
version updates only. Use a lower value only when a serialized repair or manual validation path
requires it.Group by vendor or release family first: all of one toolchain's packages together, such as a linter, its formatter, and its plugins. A package that belongs to no family stays ungrouped and gets its own pull request. Do not group by version type or by dependency type. Use manifests, peer dependencies, lockfiles, and upstream release practice to decide what moves together.
See the group example for a dependabot.yml fragment.
@vitest/* when that wildcard is one family. Put more
specific families before broader ones.other-minor-and-patch, minor-and-patch,
security-minor-and-patch, or security-updates. Do not use patterns: ['*'] to force every
update into a group. Narrow family wildcards are expected. Leave unrelated packages ungrouped.dependency-type (development, production). A development group puts a
test runner, a linter, and a bundler in one pull request, so one failing upgrade blocks the
others and a revert takes all of them.actions/* or docker/*,
and every other action alone. Not one group for the whole ecosystem.update-types so a family receives major, minor, and patch updates. Leaving majors out of
the group splits the release train.applies-to: version-updates. When the same family is also safe to upgrade
together for security fixes, add a separate group such as react-security with the same patterns
and applies-to: security-updates. Do not combine unrelated vulnerability fixes into one group.first-party group. For a namespace the owner wholly
controls, use its scoped wildcard, such as @acme/*. List unscoped packages by exact name.cooldown.exclude so those updates have zero-day eligibility, while
third-party packages keep the release delay.cooldown.exclude only for first-party packages whose owning repository and default-branch
release workflow have been verified.id-token: write, and no long-lived registry
token.first-party group in
sync.pull_request_target workflow. Pin external
actions per local policy.pull_request workflow on a Dependabot pull request runs the bumped code and the bumped actions
before review. Give it a write-capable Dependabot secret, such as a token for auto-merge, only
when every update entry has the seven-day cooldown above, and first-party exclusions are
verified. Without that cooldown, split it in two: credential-free checks on pull_request, then
a default-branch workflow_run job that holds the token, reads only pull-request metadata, and
never checks out the pull request. Use pull_request_target there only after allowing the
workflow file in an Actions event policy, since GitHub blocks it by default in affected public
repositories.Dependabot runs on its schedule. To make it run now, for example after a configuration change
reaches the default branch or when a repository has no open update pull requests, use the web UI.
GitHub exposes no REST or GraphQL endpoint and no gh command that starts a version-update run.
Read request update check for the steps to start a run and to rebuild one pull request.
dependabot.yml to force a run.Decide first whether the pull request needs a commit Dependabot cannot write.
@dependabot recreate and let
Dependabot build the pull request again. Do not push a fix to it. Dependabot stops rebasing a
pull request once someone else has pushed to it, so one push makes every later repair yours.@dependabot recreate or @dependabot rebase on it. recreate
overwrites every edit made to the pull request, and GitHub does not document that rebase
keeps them. Rebase the branch by hand, and regenerate its lockfile and other generated files
with the package manager; the git-commit-checklist skill owns that procedure.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
11 skills in this plugin
/git-commit-checklistUse before every git commit, before a rebase, reset, or force push of a branch another person or agent may push to, when a rebase or merge conflicts in a lockfile, a generated file, or source, when a stacked branch's base has merged, and when git fails on a .lock file. Check scope, staged content, and message, resolve conflicts without taking a side, and force-push or clear a lock safely./github-actions-authoringUse when writing, editing, or reviewing a GitHub Actions workflow such as ci.yml, or a composite action, or when asked to add or change a job, a matrix, test shards, triggers, or a concurrency block. Design GitHub Actions workflows that react to events instead of polling, and check triggers, concurrency, timeouts, runners, pins, and job size./github-ci-operationsUse when CI is slow, queued, backlogged, or expensive, when asked to cancel, re-run, or clean up stuck or queued workflow runs, when jobs wait for runners, or when deciding whether to add runners or upgrade a plan on GitHub Actions. Measures job time and queue wait with small API queries, gives the hosted-runner limits, and says what to do, in order, when runs are backed up./github-issueUse when filing or editing an issue, recording a follow-up, closing an issue, linking a pull request to an issue, triaging or relabeling issues, assigning milestones or projects, or creating a label, including a script that adds a label to several repositories. Write, label, organize, link, and close GitHub issues without filing duplicates, adding unapproved labels, or writing where you may not./github-repository-settingsUse when creating or hardening a public open-source repository, limiting pull requests to collaborators, deciding when fork pull requests may run Actions, or auditing or cleaning up labels, milestones, and projects. Restricts who can open pull requests and run CI, with the REST calls to read, set, and roll back each setting, and audits issue taxonomy for sprawl and drift./pr-descriptionUse when opening or updating a pull request, writing its title or body, or reviewing a description. Write a pull request description a reviewer can act on without opening the diff - the problem, the change, the impact, and before/after evidence.npx claudepluginhub jongleberry/ratchet-stack --plugin ratchet-github