/dependency-audit
Audit project dependencies for known vulnerabilities and outdated packages.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/dependency-audit
Context preview
What this command does when you run it.
Audit project dependencies for known vulnerabilities and outdated packages.
Command definition
dependency-audit.mdAudit project dependencies for known vulnerabilities and outdated packages.
Steps
1. Detect the package manager and run the native audit command:
- npm: `npm audit --json`
- pnpm: `pnpm audit --json`
- yarn: `yarn audit --json`
- pip: `pip-audit --format json` or `safety check --json`
- cargo: `cargo audit --json`
- go: `govulncheck ./...`
2. Parse audit results and categorize by severity (critical, high, moderate, low). 3. For each vulnerability:
- Identify the affected package and version range.
- Check if a patched version is available.
- Determine if it is a direct or transitive dependency.
- Assess actual exploitability in the project context.
4. Check for outdated dependencies: `npm outdated`, `pip list --outdated`. 5. Generate an upgrade plan prioritized by:
- Critical vulnerabilities first.
- Direct dependencies over transitive.
- Minimal version bumps (patch > minor > major).
6. Test compatibility of recommended upgrades if possible. 7. Offer to apply safe upgrades automatically.
Format
Dependency Audit Report
=======================
Vulnerabilities: <critical>C / <high>H / <moderate>M / <low>L
| Package | Current | Patched | Severity | Type | CVE |
|---------|---------|---------|----------|------|-----|
Outdated (no vulnerabilities):
| Package | Current | Latest | Type |
|---------|---------|--------|------|
Recommended actions:
1. <action with command>
Rules
- Always distinguish between direct and transitive dependencies.
- Do not auto-upgrade major versions without user confirmation.
- Report vulnerabilities even if no fix is available yet.
- Check that lock files are committed and up to date.
- Verify upgrades do not break the test suite before recommending them.
Read more
Audit project dependencies for known vulnerabilities and outdated packages.
Steps
1. Detect the package manager and run the native audit command:
- npm: `npm audit --json`
- pnpm: `pnpm audit --json`
- yarn: `yarn audit --json`
- pip: `pip-audit --format json` or `safety check --json`
- cargo: `cargo audit --json`
- go: `govulncheck ./...`
2. Parse audit results and categorize by severity (critical, high, moderate, low). 3. For each vulnerability:
- Identify the affected package and version range.
- Check if a patched version is available.
- Determine if it is a direct or transitive dependency.
- Assess actual exploitability in the project context.
4. Check for outdated dependencies: `npm outdated`, `pip list --outdated`. 5. Generate an upgrade plan prioritized by:
- Critical vulnerabilities first.
- Direct dependencies over transitive.
- Minimal version bumps (patch > minor > major).
6. Test compatibility of recommended upgrades if possible. 7. Offer to apply safe upgrades automatically.
Format
Dependency Audit Report ======================= Vulnerabilities: <critical>C / <high>H / <moderate>M / <low>L | Package | Current | Patched | Severity | Type | CVE | |---------|---------|---------|----------|------|-----| Outdated (no vulnerabilities): | Package | Current | Latest | Type | |---------|---------|--------|------| Recommended actions: 1. <action with command>
Rules
- Always distinguish between direct and transitive dependencies.
- Do not auto-upgrade major versions without user confirmation.
- Report vulnerabilities even if no fix is available yet.
- Check that lock files are committed and up to date.
- Verify upgrades do not break the test suite before recommending them.
The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.
Repo: rohitg00/awesome-claude-code-toolkit
Other commands on rohitg00-claude-code-toolkit.
- /adr
Write an Architecture Decision Record documenting a significant technical decision.
Open command - /design-review
Conduct a structured design review of a module, feature, or system component.
Open command - /diagram
Generate Mermaid diagrams from codebase analysis or description.
Open command - /migrate
Plan and execute a framework or library migration incrementally.
Open command - /plan
Create a structured implementation plan for the requested feature or change.
Open command - /refactor
Perform a systematic refactoring of the specified code area.
Open command

