$npx skillfedfor your agent

audit-and-reduce-dependencies

This skill helps you streamline your pnpm project's dependency tree by identifying and removing unnecessary packages that bloat your lockfile. It provides automated auditing capabilities to surface redundant or unused dependencies, enabling you to maintain a leaner, faster build environment with minimal manual effort.

audit-and-reduce-dependencies streamlines your pnpm project's dependency tree by identifying and removing unnecessary packages that bloat your lockfile. The skill provides automated auditing capabilities to surface redundant or unused dependencies, enabling you to maintain a leaner, faster build environment with minimal manual effort.

AI-generated summary based on this skill's SKILL.md

203 17 Apache-2.0updated by grafana

Decision gist · record as of 2026-07-27

audit-and-reduce-dependencies streamlines your pnpm project's dependency tree by identifying and removing unnecessary packages that bloat your lockfile. The skill provides automated auditing capabilities to surface redundant or unused dependencies, enabling you to maintain a leaner, faster build environment with minimal manual effort.

manual: git clone https://github.com/grafana/skills → cp -r skills/skills/grafana-plugins/audit-and-reduce-dependencies ~/.claude/skills/audit-and-reduce-dependencies
skills/grafana-plugins/audit-and-reduce-dependencies/SKILL.md · version 2869e7c1

Use it when

  • Yes.
  • Shrinking node_modules size in pnpm means reducing the overall footprint of installed packages by eliminating redundant or unnecessary.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

grafana/skills/audit-and-reduce-dependencies · repository language: JavaScript

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How does audit-and-reduce-dependencies help reduce JavaScript dependencies in pnpm?

audit-and-reduce-dependencies streamlines your pnpm project's dependency tree by identifying and removing unnecessary packages that bloat your lockfile. The skill provides automated auditing capabilities to surface redundant or unused dependencies, enabling you to maintain a leaner, faster build environment with minimal manual effort.

Can audit-and-reduce-dependencies identify and remove unused direct dependencies from monorepos?

Yes. audit-and-reduce-dependencies is designed to identify and remove unused direct dependencies from monorepos, helping you clean up workspace dependencies across multiple packages. This capability is especially valuable in large monorepo structures where dependency sprawl can accumulate across workspaces.

What does shrink node_modules size pnpm mean, and how can audit-and-reduce-dependencies help?

Shrinking node_modules size in pnpm means reducing the overall footprint of installed packages by eliminating redundant or unnecessary dependencies. audit-and-reduce-dependencies helps achieve this by analyzing your dependency tree, deduplicating versions across workspaces, and removing transitive dependencies that don't contribute to your project's functionality.

Does audit-and-reduce-dependencies support dependency deduplication across pnpm workspaces?

Yes. audit-and-reduce-dependencies can deduplicate and standardize dependency versions across workspaces, reducing lockfile bloat and ensuring consistency. This feature helps minimize JavaScript package bloat by consolidating duplicate versions of the same package throughout your monorepo.

How can audit-and-reduce-dependencies help with supply-chain security in my pnpm projects?

audit-and-reduce-dependencies includes auditing capabilities for supply-chain hardening and dependency security policies. By analyzing your dependency closure and identifying low-risk upgrade paths, the skill helps you maintain a more secure and manageable dependency footprint while reducing exposure to unnecessary transitive dependencies.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Audit and reduce dependencies

Reduce JavaScript dependency footprint. Use pnpm only. Preserve the lockfile, workspace layout, and dependency range style unless there is a concrete reason to change them.

For GitHub Actions workflow triage (action choice, permissions, pinning), use a dedicated workflow audit — not the reporting format below (workflow file + step only when the finding is pnpm install policy).

Workflow

  1. Hardening gate: run /check-npm (read-only). See check-npm.
  2. Establish the baseline.
  3. Remove unused direct dependencies.
  4. Deduplicate direct dependency versions in monorepos.
  5. Rank direct dependencies by

(truncated - see the full file via the links below)

File tree — 1 file
skills/grafana-plugins/audit-and-reduce-dependencies/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Reduce JavaScript dependency footprint and lockfile size in pnpm projects”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

check-npm
by grafana · grafana/skills

check-npm helps you systematically review package manager settings across npm, yarn, and pnpm to strengthen your project's supply-chain defenses. By analyzing configuration files and dependency practices, it surfaces misconfigurations that could expose your codebase to security risks. Use this skill to enforce hardening best practices and maintain a resilient software supply chain.

Apache-2.0updated Jul 2026
★ 203repo stars
dependency-management
by curiositech · curiositech/some_claude_skills

This skill helps you systematically review and remediate security vulnerabilities within your project's dependency tree. It integrates with Claude Code to scan for known issues, assess their impact, and recommend or apply fixes automatically.

MITfor claude-codeupdated Jul 2026
★ 164repo stars
Npm Security Best Practices
by Aradotso · Aradotso/security-skills

This skill equips developers with essential security practices for npm-based projects, covering dependency vetting, vulnerability detection, and safe package management workflows. Gain actionable guidance on hardening your supply chain and mitigating common risks in the Node.js ecosystem.

no license declared → metadata onlyupdated Jul 2026
★ 8repo stars
dependency-upgrade
by secondsky · secondsky/claude-skills

This skill automates the process of updating project dependencies while prioritizing security against supply chain threats. It integrates seamlessly with Claude Code CLI to manage package upgrades safely and efficiently.

MITupdated Jul 2026
★ 196repo stars
Dependency Upgrade
by secondsky · secondsky/sap-skills

This skill automates the process of updating project dependencies, reducing the overhead of manual version management and compatibility checks. By integrating with your development workflow, it helps teams stay current with the latest package versions while maintaining stability and reducing technical debt.

GPL-3.0updated Jul 2026
★ 390repo stars
pnpm
by antfu · antfu/skills

This skill enables agents to handle Node.js package installation and dependency management through pnpm, a performant alternative to traditional package managers. Leverage pnpm's speed and storage efficiency to streamline your project's dependency lifecycle.

MITupdated Jun 2026
★ 5,665repo stars

More skills Sap Dependency Security (GPL-3.0) · supply-chain-hardening (MIT) · bun-package-manager (MIT)

Tags
lockfile-optimizationsupply-chain-hardeningmonorepo-managementpackage-footprinttransitive-closuredependency-triagepnpm-nativeworkspace-deduplication