agentleFS
mustafayilmazartmustafayilmazart/kesif-claude-skills/skills/auto-code-quality/SKILL.md

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.

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
  1. Distinctive:

    Kullanılmayan Import/Değişken: import edilip hiç kullanılmayanları tespit eder

    line 22
  2. Distinctive:

    Write aracı ile yeni dosya oluşturulduğunda

    line 28

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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, .yaml hariç)

Analiz Adımları

  1. Değiştirilen dosyayı oku
  2. Fonksiyon ve sınıf sınırlarını belirle
  3. Her kontrol için satır numarası ile eşleştir
  4. Önem seviyesine göre sırala (Kritik → Önemli → Bilgi)
  5. 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 kullan

Sorun 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")

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.