From claude-harness
Codebase temizligi icin kullan. "/refactor-clean" komutuyla tetiklenir. Dead code, kullanilmayan import, loose .md dosyalari, eski TODO'lar temizlendiginde devreye gir. Uzun session sonlarinda kullanilmasi onerilir.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-harness:refactor-cleanThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Bu skill davranis degistirmez — sadece temizlik yapar.
Bu skill davranis degistirmez — sadece temizlik yapar.
.claude/project.conf dosyasini oku — DIR_SRC, FILE_EXT_SOURCE, CMD_TEST, CMD_TYPECHECK, CONSOLE_LOG_PATTERN degerlerini al.
DIR_SRC icinde TODO, FIXME, HACK, XXX ara.
Listele ve kullaniciya goster. Hangilerinin cozulecegini sor.
DIR_SRC icinde CONSOLE_LOG_PATTERN ile ara (NO_CONSOLE_LOG=true ise). Bulunanlari kaldir veya logger'a cevir.
.claude/tmp/ klasorunde 7 gunden eski session dosyalarini listele.
Kullaniciya goster, onay alarak sil.
Projenin paket yoneticisine uygun unused dependency kontrolu yap. Sonuclari goster, kullanici kararina birak.
Temizlik sonrasi: CMD_TEST calistir.
Tum testler gecmeli — hicbir davranis degismemeli.
npx claudepluginhub cagan/claude-harness --plugin claude-harnessScans codebase for debug artifacts (console.log, debugger), TODOs, and TypeScript 'any' types. Optionally auto-fixes safe patterns. Use before committing or during cleanup.
Detects dead code, unused exports, orphaned files, circular dependencies, unused packages, stale TODOs, and hygiene issues across 11 categories. Use scan, safe, aggressive modes on full codebase or paths.
Detects and removes technical debt like unused imports, console.logs, debuggers, and TODOs in TypeScript codebases. Reports duplicates, any types, long functions, and deep nesting. Use before session end.