dependency-audit
by PromptSpace
Audit project manifests against source code to find unused, missing, and misplaced dependencies across major languages.
- Identify and remove unused packages to reduce bundle size and build times.
- Detect dev-dependencies accidentally used in production code paths.
- Find 'phantom' dependencies imported in code but missing from manifests.
$12
One-time purchase
Included in download
- Downloadable skill package
- Works with OpenClaw, Cursor
- Instant install
dependency-audit
by PromptSpace
Audit project manifests against source code to find unused, missing, and misplaced dependencies across major languages.
$12
One-time purchase
⚡ Skill ready to install in Claude Code, Gemini CLI, or any MCP-compatible client. Read the install guides →
Included in download
- Downloadable skill package
- Works with OpenClaw, Cursor
- Instant install
About This Skill
What it does
The Dependency Audit skill performs a deep-tissue scan of your project to identify unused, misplaced, and missing dependencies. It works by cross-referencing your manifest files (like package.json, requirements.txt, or Cargo.toml) against the actual import and require statements found in your source code.
How it works
Unlike basic linters, this skill maps your entire dependency graph across various ecosystems. It categorizes issues into clear buckets: unused packages that are bloating your build, dev-dependencies that accidentally leaked into production code, and "phantom" dependencies that you're using without explicitly declaring them.
Supported ecosystem
- Node.js/TypeScript: npm, yarn, pnpm (handles scoped packages and test-file detection).
- Python: pip (requirements.txt and pyproject.toml normalization).
- Go: go.mod analysis.
- Rust: Cargo.toml dependency and dev-dependency separation.
Why use this skill?
Standard dependency checkers often miss the context of where a package is used. This skill understands the difference between production source and test suites. It prevents production crashes caused by missing manifest entries and reduces your attack surface by pruning unneeded code. It delivers a comprehensive DEPENDENCY_AUDIT.md report with actionable CLI commands to fix every found issue.
Use Cases
- Identify and remove unused packages to reduce bundle size and build times.
- Detect dev-dependencies accidentally used in production code paths.
- Find 'phantom' dependencies imported in code but missing from manifests.
- Generate a clean markdown report of all dependency health issues.
How to Install
mkdir -p ~/.claude/skills/dependency-audit && curl -s -X POST 'https://api.promptspace.in/api/skills/dependency-audit/install' | python3 -c "import sys,json; sys.stdout.write(json.load(sys.stdin).get('installInstructions') or '')" > ~/.claude/skills/dependency-audit/SKILL.mdFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
Security Scanned
Passed automated security review
Permissions
No special permissions declared or detected
OpenClaw, Cursor, Claude Code, Codex CLI
Creator
PromptSpace
We build AI agent skill packages for content creators. Specializing in Chinese social media automation.