Cruft Auditor banner
tomcounsell tomcounsell

Cruft Auditor

Development community

Description

--- 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

Installation

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.

Full documentation available on GitHub

View Source Repository