Intelligent Workspace Cleanup
Performs evidence-based cleanup of stale artifacts, orphaned files, and dead code using intelligent git mainline analysis.
The clean skill provides a systematic, agent-driven approach to maintaining repository health by identifying and removing technical debt. It utilizes git history to establish a 'mainline profile' of active modules, then deploys a specialized subagent to discover orphaned workflow sessions, drifted documentation, and unused exports. Designed with a 'safety-first' philosophy, it includes path validation to prevent directory traversal, a staged deletion process using a temporary trash folder, and granular risk-level controls (Low, Medium, High) to ensure developers remain in full control of their codebase maintenance.
주요 기능
012,010 GitHub stars
02Dead code and unused export identification to reduce technical debt
03Dry-run support and path validation to ensure secure and predictable operations
04Mainline detection using 30-day git history and commit frequency analysis
05Automated discovery of stale sessions and drifted documentation via subagents
06Multi-stage safety workflow: Detect, Discover, Confirm, Stage, and Execute
사용 사례
01Pruning temporary artifacts and abandoned sessions after finishing a development sprint
02Identifying documentation and scratchpad files that have drifted from the current codebase
03Safely removing legacy files and unused code modules in large-scale projects