What problem does it solve?
Open Dependabot security alerts pile up in a pnpm monorepo, and fixing them properly requires distinguishing direct from transitive dependencies, choosing between version bumps and pnpm overrides, and verifying nothing breaks. This Skill automates that entire remediation workflow for the Crowi repository.
Core Features & Use Cases
- Alert triage and classification: Fetches open Dependabot alerts via the GitHub CLI, then classifies each package as direct or transitive using package.json grep and
pnpm why.
- Root-cause remediation: Bumps direct dependencies, upgrades parent packages for transitive ones, and applies per-major
pnpm.overrides only when no bump path exists; defers major-upgrade-only fixes to a report.
- Override housekeeping: Audits existing
pnpm.overrides entries one by one and removes those no longer needed because parent packages now resolve patched versions.
- Verified commits: Runs
pnpm install, lint, type-check, and affected package tests before committing (never pushes without user instruction).
- Use Case: Run
/crowi-deps when you notice dependency maintenance has slipped; the Skill resolves all open security alerts, cleans stale overrides, and leaves verified commits ready for review.
Quick Start
Ask the assistant to run the crowi-deps skill to fetch open Dependabot alerts, fix them with version bumps or overrides, verify with lint and tests, and commit the results.