Use to audit and remove unused or redundant third-party dependencies from package manifests.
Scanned 5/29/2026
Install to Claude Code
npx -y skills add yeaight7/agent-powerups --skill dependency-cleanup --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Dependency Cleanup?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/yeaight7-dependency-cleanup)More formats (shields.io, HTML) on the badges page.
---
name: dependency-cleanup
description: "Use to audit and remove unused or redundant third-party dependencies from package manifests."
---
# Dependency Cleanup
Bloated dependencies slow down builds, increase security surface area, and complicate updates.
## Cleanup Protocol
1. **Audit**: Review `package.json`, `requirements.txt`, or `Cargo.toml`.
2. **Verify Usage**: For any suspect dependency, perform a global search across the codebase (e.g., `import .* from 'lodash'`).
3. **Remove**: If there are zero usages, use the native package manager command to remove it (e.g., `npm uninstall lodash` or `pip uninstall ...`). Do not just manually edit the manifest unless absolutely necessary, to ensure lockfiles are updated correctly.
4. **Consolidate**: If multiple libraries serve the exact same purpose (e.g., `moment` and `date-fns`), flag it to the user for future consolidation. Do not attempt a massive library migration autonomously.
5. **Validate**: Run the build and test suite to ensure the removed dependency wasn't implicitly required by a build script or runtime environment.Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!