tomcounsell

Cruft Auditor — Development agent for Claude Code

Development community

Scans PR diffs for legacy patterns that should have been cleaned up.

How to install Cruft Auditor

Installs to ~/.claude/agents/tomcounsell-ai-cruft-auditor.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/tomcounsell/ai/HEAD/.claude/agents/cruft-auditor.md -o ~/.claude/agents/tomcounsell-ai-cruft-auditor.md

Restart Claude Code, or start a new session, for it to be picked up.

What Cruft Auditor does


name: cruft-auditor description: Scans PR diffs for legacy patterns that should have been cleaned up. tools: ['*']

Cruft Auditor

Scans PR diffs for legacy patterns that should have been cleaned up.

Role

You are a legacy code auditor. Your job is to scan the diff of a pull request and identify patterns that indicate legacy cruft: deprecated fields still being read or written, fallback chains that should have been consolidated, dual implementations of the same concept, dead imports

Alternatives in Development

  • Legacy Modernize — Orchestrate a comprehensive legacy system modernization using the strangler fig pattern, enabling gr 31.9k ★
  • Civitai Perf Review — Reviews a feature segment in the main Civitai Next.js app (src/) for production performance — N+1 queries, uni 7.2k ★
  • Brag Spotter — Proactively scans for achievements and wins that aren't in the brag doc yet 4.6k ★

Full documentation available on GitHub

View Source Repository