
Description
Audit and reduce dependencies is an agent skill that shrinks the dependency footprint of a JavaScript project. It uses pnpm only. Before it changes anything, it runs the check-npm hardening gate, a read-only supply-chain audit. It then establishes a baseline and works through the cuts: removing unused direct dependencies, deduplicating direct versions in monorepos, ranking direct dependencies by their transitive lockfile closure, finding low-risk minor and patch upgrades, spotting trivial dependencies worth inlining, and checking e18e recommendations for replacements or removals. It keeps the lockfile, workspace layout and dependency range style unchanged unless there is a concrete reason to change them. After reinstalling and verifying, it reports the measured impact. The skill is for maintainers of JavaScript and TypeScript projects who want a smaller dependency tree.…
Highlights
- Runs the check-npm hardening gate first
- Removes unused direct dependencies
- Ranks dependencies by transitive lockfile closure
- Reports measured impact after reinstalling
Ratings & Reviews
No ratings yet
Be the first to rate audit-and-reduce-dependencies.
People also visit
audit-and-reduce-dependencies FAQ
Which package manager does it use?
pnpm only.
What runs before any change?
The check-npm hardening gate, which is a read-only audit of the workspace.
Does it change the lockfile or workspace layout?
Not unless there is a concrete reason. It preserves the lockfile, workspace layout and dependency range style.
What does it report at the end?
The measured impact of the changes, after the dependencies are reinstalled and verified.
How do I install it?
Run npx skills add https://github.com/grafana/skills --skill audit-and-reduce-dependencies.
What are the best audit-and-reduce-dependencies alternatives?
Popular alternatives to audit-and-reduce-dependencies include pnpm, bump-deps and check-npm. See all audit-and-reduce-dependencies alternatives


















