Refactor clean
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.From its SKILL.md
npx -y skills add cagan/claude-harness --skill refactor-cleanAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.4 KB, as published. Nobody here has run it
Refactor & Clean Workflow
Kapsam
Bu skill davranis degistirmez — sadece temizlik yapar.
Adimlar
0. Config Oku
.claude/project.conf dosyasini oku — DIR_SRC, FILE_EXT_SOURCE, CMD_TEST, CMD_TYPECHECK, CONSOLE_LOG_PATTERN degerlerini al.
1. Dead Code Tarama
- Kullanilmayan import'lari bul (DIR_SRC icinde)
- CMD_TYPECHECK varsa calistir ve "declared but" uyarilarini listele
2. TODO / FIXME Tarama
DIR_SRC icinde TODO, FIXME, HACK, XXX ara.
Listele ve kullaniciya goster. Hangilerinin cozulecegini sor.
3. Console.log Tarama
DIR_SRC icinde CONSOLE_LOG_PATTERN ile ara (NO_CONSOLE_LOG=true ise). Bulunanlari kaldir veya logger'a cevir.
4. Loose .md Dosyalari
.claude/tmp/ klasorunde 7 gunden eski session dosyalarini listele.
Kullaniciya goster, onay alarak sil.
5. Kullanilmayan Dependency Kontrolu
Projenin paket yoneticisine uygun unused dependency kontrolu yap. Sonuclari goster, kullanici kararina birak.
6. Test Calistir
Temizlik sonrasi: CMD_TEST calistir.
Tum testler gecmeli — hicbir davranis degismemeli.
7. Sonuc Raporu
- Kac satir silindi
- Kac dosya duzenlendi
- Test sonucu