Codebase health
Dependencies, dead code, and overall health in one pass.
Housekeeping for your codebase
Over time, codebases accumulate cruft. Dependencies you installed for one feature and never removed. Code that used to be called but isn't anymore. Packages with known vulnerabilities that haven't been updated. Type safety gaps you introduced in a rush and forgot to fix.
Inside Claude Code, type /audit. It checks all of this in one pass.
What it covers
Dependencies. Which packages have known security vulnerabilities. Which ones are outdated and by how much. Which ones you installed but never actually import anywhere.
Dead code. Exports that nothing imports. Components that no page renders. Utility functions that lost their last caller three features ago. API procedures that no client calls.
Code health. Type safety coverage. Lint rule compliance. Build output cleanliness. Test coverage gaps where they matter most (auth flows, payment handling, data access).
Documentation freshness. Whether your built feature docs still match the actual code. Whether your schema documentation reflects the current database. Whether pattern docs reference files that still exist.
What you get
A report with specific items to fix, organized by category. Security vulnerabilities get flagged with upgrade commands you can run. Dead code gets identified with file paths. Documentation drift gets flagged with what's out of date.
Nothing gets auto-fixed here. This is an audit, not a cleanup tool. You decide what to act on.