/gen-dependency-updater
Max open dependency-updater PRs per ecosystem (1-25, default 5).
Claude Code
$ npx -y skills add thettwe/nyann --skill gen-dependency-updater --agent claude-code
Codex
$ npx skills add thettwe/nyann --skill gen-dependency-updater -a codex -y
Cursor
$ npx skills add thettwe/nyann --skill gen-dependency-updater -a cursor -y
Gemini CLI
$ npx skills add thettwe/nyann --skill gen-dependency-updater -a gemini-cli -y
GitHub Copilot
$ npx skills add thettwe/nyann --skill gen-dependency-updater -a github-copilot -y
OpenCode
$ npx skills add thettwe/nyann --skill gen-dependency-updater -a opencode -y
Windsurf
$ npx skills add thettwe/nyann --skill gen-dependency-updater -a windsurf -y
SKILL.md
gen-dependency-updater.SKILL.mdname: gen-dependency-updater
description: >
Generate a Dependabot or Renovate config (`.github/dependabot.yml`
or `renovate.json`) for the active stack with sensible defaults
(weekly schedule, minor+patch grouping, open-PR cap at 5). Preview-
before-mutate: prints the rendered config and exits without writing
unless `--apply` is passed. Idempotent: same content is a no-op,
different content shows a diff and refuses to overwrite without
`--force-overwrite`.
TRIGGER when the user says "add dependabot", "enable dependabot",
"add renovate", "set up renovate", "configure dependency updates",
"automate dependency updates", "scaffold dependabot.yml", "create
renovate.json", "add automated dependency PRs", "wire dependency
bot", "turn on dependency updates", "/nyann:gen-dependency-updater".
Do NOT trigger on "update my dependencies" / "run npm update" —
that's a one-off package-manager invocation, not config scaffolding.
Do NOT trigger on "fix this dependabot PR" — that's a workflow
inside a specific PR, not config generation.
arguments:
- name: updater
description: Which generator to emit — `dependabot` (per-ecosystem YAML) or `renovate` (single JSON using `config:recommended`).
- name: ecosystem
description: Repeatable. Dependabot's `package-ecosystem` value (npm / pip / gomod / cargo / bundler / composer / maven / gradle / pub / nuget / mix / swift / docker / github-actions). `npm` covers npm/pnpm/yarn/bun. For monorepos pair with `--directory` per workspace.
- name: directory
description: Repo-relative directory of the manifest, must start with `/`. Default `/` (repo root). When `--ecosystem` repeats, place `--directory` BEFORE the corresponding `--ecosystem` to associate them.
optional: true
- name: target
description: Path to the repo. Required only when `--apply` is set; preview mode doesn't need it.
optional: true
- name: apply
description: Write the config to the destination path. Without it, the rendered config is printed to stdout (preview).
optional: true
- name: force-overwrite
description: Overwrite an existing config whose content differs from the rendered output. Without it, the script prints a diff and exits with code 3.
optional: true
- name: schedule
description: How often the updater polls — `daily`, `weekly` (default), or `monthly`.
optional: true
- name: grouping
description: How to bundle updates — `off` (one PR per update), `minor-patch` (default, groups minor+patch, keeps majors separate), `all` (group everything).
optional: true
- name: open-prs
description: Max open dependency-updater PRs per ecosystem (1-25, default 5).
optional: truegen-dependency-updater
Wraps `bin/gen-dependency-updater.sh`. Emits a Dependabot or Renovate config; preview-by-default; idempotent on apply.
When to trigger
- User wants automated dependency PRs and doesn't already have either
config wired up.
- User wants to migrate Dependabot ↔ Renovate.
- User wants to re-generate the config after upgrading nyann (the
template defaults shift with each `snapshot_version`).
When NOT to trigger
- User wants to **manually upgrade** a specific dep — that's
`npm install`, `pip install -U`, `cargo update`, etc.
- User wants help **resolving** a Dependabot/Renovate PR — read the
PR diff with them; this skill is for config generation only.
- User is in a non-GitHub forge — Dependabot is GitHub-specific.
Renovate runs anywhere but its app installation is out of scope for this skill.
Picking updater (when the user hasn't specified)
Default to **dependabot** when:
- The repo is on GitHub (which is nyann's `gh`-integration assumption).
- The user wants minimal moving parts (Dependabot is native to GH,
no app to install).
Default to **renovate** when:
- The user mentions multi-platform forge support.
- The user wants advanced grouping / customization (Renovate's
package rules are richer than Dependabot's `groups`).
- The user is already a Renovate user on other repos.
When in doubt, ask: > "Dependabot is GitHub-native and zero-install — recommended for > most. Renovate is more configurable but requires installing the > Renovate GitHub App. Which do you want?"
Picking ecosystems
Read the StackDescriptor (from `bin/detect-stack.sh`) and map:
| Stack hint | Ecosystem(s) | |---|---| | `primary_language=typescript` / `javascript` | `npm` | | `primary_language=python` | `pip` | | `primary_language=go` | `gomod` | | `primary_language=rust` | `cargo` | | `primary_language=ruby` | `bundler` | | `primary_language=php` | `composer` | | `primary_language=java` (Maven) | `maven` | | `primary_language=java` (Gradle) / `kotlin` | `gradle` | | `primary_language=dart` | `pub` | | `primary_language=csharp` / `dotnet` | `nuget` | | `primary_language=elixir` | `mix` (v1.10+) | | `primary_language=swift` | `swift` | | `Dockerfile` present | `docker` (in addition to language ecosystem) | | `.github/workflows/` present | `github-actions` (always recommended) |
Always include `github-actions` even when the user didn't ask — it keeps the SAST workflow pins current.
For monorepos (`workspaces` resolved by `bin/resolve-workspace-configs.sh`), emit one `--ecosystem` per workspace with the workspace path as `--directory`. Dependabot doesn't auto-walk; one entry per manifest is mandatory.
Preview, then apply
Always preview first. Even if the user said "just do it", show the rendered config and wait for confirmation:
bin/gen-dependency-updater.sh --updater dependabot --ecosystem npm --ecosystem github-actions
Then on confirmation:
bin/gen-dependency-updater.sh --updater dependabot \
--ecosystem npm --ecosystem github-actions \
--target . --apply
If the destination file already exists and matches: log "unchanged" and exit. If it differs: print diff, exit 3, prompt the user before re-running with `--force-overwrite`.
Output
- `.github/dependabot.yml
Read more
name: gen-dependency-updater
description: >
Generate a Dependabot or Renovate config (`.github/dependabot.yml`
or `renovate.json`) for the active stack with sensible defaults
(weekly schedule, minor+patch grouping, open-PR cap at 5). Preview-
before-mutate: prints the rendered config and exits without writing
unless `--apply` is passed. Idempotent: same content is a no-op,
different content shows a diff and refuses to overwrite without
`--force-overwrite`.
TRIGGER when the user says "add dependabot", "enable dependabot",
"add renovate", "set up renovate", "configure dependency updates",
"automate dependency updates", "scaffold dependabot.yml", "create
renovate.json", "add automated dependency PRs", "wire dependency
bot", "turn on dependency updates", "/nyann:gen-dependency-updater".
Do NOT trigger on "update my dependencies" / "run npm update" —
that's a one-off package-manager invocation, not config scaffolding.
Do NOT trigger on "fix this dependabot PR" — that's a workflow
inside a specific PR, not config generation.
arguments:
- name: updater
description: Which generator to emit — `dependabot` (per-ecosystem YAML) or `renovate` (single JSON using `config:recommended`).
- name: ecosystem
description: Repeatable. Dependabot's `package-ecosystem` value (npm / pip / gomod / cargo / bundler / composer / maven / gradle / pub / nuget / mix / swift / docker / github-actions). `npm` covers npm/pnpm/yarn/bun. For monorepos pair with `--directory` per workspace.
- name: directory
description: Repo-relative directory of the manifest, must start with `/`. Default `/` (repo root). When `--ecosystem` repeats, place `--directory` BEFORE the corresponding `--ecosystem` to associate them.
optional: true
- name: target
description: Path to the repo. Required only when `--apply` is set; preview mode doesn't need it.
optional: true
- name: apply
description: Write the config to the destination path. Without it, the rendered config is printed to stdout (preview).
optional: true
- name: force-overwrite
description: Overwrite an existing config whose content differs from the rendered output. Without it, the script prints a diff and exits with code 3.
optional: true
- name: schedule
description: How often the updater polls — `daily`, `weekly` (default), or `monthly`.
optional: true
- name: grouping
description: How to bundle updates — `off` (one PR per update), `minor-patch` (default, groups minor+patch, keeps majors separate), `all` (group everything).
optional: true
- name: open-prs
description: Max open dependency-updater PRs per ecosystem (1-25, default 5).
optional: truegen-dependency-updater
Wraps `bin/gen-dependency-updater.sh`. Emits a Dependabot or Renovate config; preview-by-default; idempotent on apply.
When to trigger
- User wants automated dependency PRs and doesn't already have either
config wired up.
- User wants to migrate Dependabot ↔ Renovate.
- User wants to re-generate the config after upgrading nyann (the
template defaults shift with each `snapshot_version`).
When NOT to trigger
- User wants to **manually upgrade** a specific dep — that's
`npm install`, `pip install -U`, `cargo update`, etc.
- User wants help **resolving** a Dependabot/Renovate PR — read the
PR diff with them; this skill is for config generation only.
- User is in a non-GitHub forge — Dependabot is GitHub-specific.
Renovate runs anywhere but its app installation is out of scope for this skill.
Picking updater (when the user hasn't specified)
Default to **dependabot** when:
- The repo is on GitHub (which is nyann's `gh`-integration assumption).
- The user wants minimal moving parts (Dependabot is native to GH,
no app to install).
Default to **renovate** when:
- The user mentions multi-platform forge support.
- The user wants advanced grouping / customization (Renovate's
package rules are richer than Dependabot's `groups`).
- The user is already a Renovate user on other repos.
When in doubt, ask: > "Dependabot is GitHub-native and zero-install — recommended for > most. Renovate is more configurable but requires installing the > Renovate GitHub App. Which do you want?"
Picking ecosystems
Read the StackDescriptor (from `bin/detect-stack.sh`) and map:
| Stack hint | Ecosystem(s) | |---|---| | `primary_language=typescript` / `javascript` | `npm` | | `primary_language=python` | `pip` | | `primary_language=go` | `gomod` | | `primary_language=rust` | `cargo` | | `primary_language=ruby` | `bundler` | | `primary_language=php` | `composer` | | `primary_language=java` (Maven) | `maven` | | `primary_language=java` (Gradle) / `kotlin` | `gradle` | | `primary_language=dart` | `pub` | | `primary_language=csharp` / `dotnet` | `nuget` | | `primary_language=elixir` | `mix` (v1.10+) | | `primary_language=swift` | `swift` | | `Dockerfile` present | `docker` (in addition to language ecosystem) | | `.github/workflows/` present | `github-actions` (always recommended) |
Always include `github-actions` even when the user didn't ask — it keeps the SAST workflow pins current.
For monorepos (`workspaces` resolved by `bin/resolve-workspace-configs.sh`), emit one `--ecosystem` per workspace with the workspace path as `--directory`. Dependabot doesn't auto-walk; one entry per manifest is mandatory.
Preview, then apply
Always preview first. Even if the user said "just do it", show the rendered config and wait for confirmation:
bin/gen-dependency-updater.sh --updater dependabot --ecosystem npm --ecosystem github-actions
Then on confirmation:
bin/gen-dependency-updater.sh --updater dependabot \ --ecosystem npm --ecosystem github-actions \ --target . --apply
If the destination file already exists and matches: log "unchanged" and exit. If it differs: print diff, exit 3, prompt the user before re-running with `--force-overwrite`.
Output
- `.github/dependabot.yml
ငြမ်း is Burmese for scaffolding. Nyann is the Claude Code plugin that picks expert git defaults for your stack — branching, working hooks (Husky / pre-commit.com / lefthook), commits, releases, CI, docs — then keeps the repo on those rails through every PR
Other skills on nyann.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about gen-dependency-updater.
- Which coding agents can use gen-dependency-updater?
- gen-dependency-updater installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

