skills/codebase-cleanup-deps-audit/SKILL.md
Review project dependencies for security, licensing, maintenance, and supply-chain risk. Use this whenever the user asks for a dependency audit, `npm audit` help, package vulnerability review, SBOM or license compliance checks, stale package cleanup, upgrade planning, Dependabot/Renovate triage, or a production-readiness scan that should include third-party dependencies, even if they do not explicitly ask for a "dependency audit."
npx skillsauth add cenjie/skills codebase-cleanup-deps-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to turn a vague "check our dependencies" request into a concrete audit with prioritized remediation. The goal is not to dump scanner output. The goal is to tell the user what matters, what can wait, and what to change safely.
Use this skill when the user asks to:
npm audit issues, or supply-chain riskDo not use this skill for:
Start by identifying scope before recommending fixes:
If the repo has no dependency manifests or lockfiles, say that clearly and stop the audit rather than pretending to have findings.
Follow this sequence. Skip steps that are impossible in the current environment, but say what was skipped.
Prefer project-native tools when available. Examples:
npm audit, pnpm audit, yarn audit, npm outdated, lockfile inspectionpip-audit, safety, poetry show --outdated, pip list --outdatedcargo audit, cargo outdatedgovulncheck, go list -m -u allbundle audit, bundle outdatedIf tool execution is unavailable, infer what you can from manifests, lockfiles, and version ranges, and label those findings as lower-confidence.
Prioritize issues using context, not scanner output alone:
Favor the smallest safe change that materially reduces risk:
Explain the tradeoff for each recommendation so the user can decide quickly.
Keep the report concise, ranked, and actionable. Do not paste raw audit JSON unless the user asks for it.
Use this structure:
Repeat only for findings that truly matter.
--force style upgrades casually; mention regression risk when using them.Open resources/implementation-playbook.md when you need deeper examples for multi-ecosystem discovery, license analysis, supply-chain review, remediation scripting, or CI monitoring patterns.
development
Launch both thermo-nuclear review subagents in parallel, then synthesize their findings. Use for thermos, double thermo review, or combined bug/security and code-quality branch audits.
development
Comprehensive security and correctness audit of a branch's changes. Use for thermo nuclear, thermonuclear, or deep review requests, or branch/PR diff audits focused on bugs, breaking changes, security issues, devex regressions, and feature-gate leaks.
development
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.
development
Use for custom storefronts requiring direct GraphQL queries/mutations for data fetching and cart operations. Choose this when you need full control over data fetching and rendering your own UI. NOT for Web Components - if the prompt mentions HTML tags like <shopify-store>, <shopify-cart>, use storefront-web-components instead.