auto-code-quality
Skill0 starsChanged 7 months agoMITView on GitHub
Kod yazıldıktan veya değiştirildikten sonra otomatik kalite kontrolü yapar. Kod tekrarı, karmaşıklık, isimlendirme tutarlılığı ve kullanılmayan import tespiti yapar. PostToolUse hook ile Edit/Write sonrası tetiklenir.
In this repository13 other files it gives its agents.
- claude-plugins-marketplaceSkill
- context-engineeringSkill
- elevenlabsSkill
- hybrid-memorySkill
- notebooklmSkill
- os-framework-5Skill
- prp-frameworkSkill
- skill-creatorSkill
- token-optimizerSkill
- udemy-video-pipelineSkill
- video-montajSkill
- yt-notebooklm-pipelineSkill
- yt-searchSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Kullanılmayan Import/Değişken: import edilip hiç kullanılmayanları tespit eder
- Distinctive: line 28
Write aracı ile yeni dosya oluşturulduğunda
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Otomatik Kod Kalite Kontrolü
Edit veya Write aracı kullanıldıktan sonra arka planda otomatik olarak çalışır. Bulguları kısa Türkçe özet ile raporlar.
Yetenekler
- Kod Tekrarı (DRY Kontrolü): Aynı mantık bloğu birden fazla dosyada veya aynı dosyada 3+ kez tekrarlanıyorsa tespit eder
- Döngüsel Karmaşıklık: Cyclomatic complexity 10'u aşan fonksiyonları işaretler
- Fonksiyon Uzunluğu: 50 satırı aşan fonksiyonları uyarır
- İsimlendirme Tutarlılığı: camelCase/snake_case karışımı, tek harfli değişken adları
- Kullanılmayan Import/Değişken: import edilip hiç kullanılmayanları tespit eder
- SOLID İhlalleri: Tek sorumluluk prensibi, 500+ satırlık "tanrı sınıfları"
Tetikleme Koşulları
- Edit aracı ile dosya düzenlendiğinde
- Write aracı ile yeni dosya oluşturulduğunda
- Dosya uzantısı:
.py,.js,.ts,.tsx,.go,.rs,.java,.cs - Config ve dokümantasyon dosyaları taranmaz (
.json,.md,.yamlhariç)
Analiz Adımları
- Değiştirilen dosyayı oku
- Fonksiyon ve sınıf sınırlarını belirle
- Her kontrol için satır numarası ile eşleştir
- Önem seviyesine göre sırala (Kritik → Önemli → Bilgi)
- Kısa Türkçe özet üret
Çıktı Formatı
[KALİTE] dosya.py — N sorun bulundu:
🛑 L42-L110: Fonksiyon çok uzun (68 satır, max: 50)
⚠️ L12: Kullanılmayan import — 'os'
⚠️ L30-L45: Kod tekrarı — utils.py:L20-L35 ile benzer
ℹ️ L88: Tek harfli değişken adı — 'x' yerine açıklayıcı isim kullanSorun yoksa: [KALİTE] dosya.py — ✅ Temiz
Kurallar
- Her uyarıda dosya:satır referansı mutlaka belirt
- 🛑 Kritik, ⚠️ Önemli, ℹ️ Bilgi seviyelerini kullan
- Düzeltme önerisi somut ve kopyalanabilir olsun
- 5'ten fazla sorun varsa en önemli 5'ini göster, geri kalanı "ve X sorun daha" şeklinde özetle
- Türkçe yaz, teknik terim açıkla (örn: "döngüsel karmaşıklık = kaç farklı yolun olduğu")
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

