Files
ECC/docs/tr/rules
devin-ai-integration[bot]GitHubDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>affaanDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>Affaan Mustafa
2d40baacbd fix: resolve open-issue cluster (#2295, #2298, #2303–#2306, #2340) + createdTime fallback bug (#2408)
* fix: resolve issue cluster (#2295,#2298,#2303,#2304,#2305,#2306,#2340) + createdTime fallback bug

- session-manager: fix createdTime birthtime||ctime fallback that never fired
  (a Date is always truthy); use birthtimeMs>0 check via resolveCreatedTime()
- installer: rewrite source-relative rules/skills links for the injected
  ecc/ namespace so installed skills resolve correctly (#2340)
- continuous-learning-v2: drop unused mock import (#2305); standardize bash
  shebangs (#2303); poll for PID file instead of fixed sleep (#2295);
  rename _ecc_* -> _clv2_* (#2304); align promotion confidence docs (#2298);
  de-brittle Scope Decision Guide cross-reference (#2306)

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(ci): resync lockfiles with package.json (eslint 10) + migrate yarn.lock to Yarn 4 format

package.json requires eslint@^10.6.0 but the committed locks pinned 9.39.2, so
npm ci aborted and Yarn 4 hardened mode rejected the stale v1-classic yarn.lock
(YN0028). Regenerate package-lock.json and rewrite yarn.lock in Yarn 4 (berry)
format so npm ci and immutable yarn installs both pass.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(ci): require clean probe exit for Windows shell/bash detection; add pyyaml dev dep

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(observer): portable mktemp template on BSD/macOS (#2417); correct false attribution-disabled claim in git-workflow docs (#2426) (#2430)

Co-authored-by: affaan <affaan@itomarkets.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix: remove duplicate resolveCreatedTime introduced by merge (no-redeclare)

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix: restore heading-based Scope Decision Guide ref (line numbers drift) + keep behavioral #2340 install test

---------

Co-authored-by: affaan <affaan@itomarkets.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Affaan Mustafa <me@affaanmustafa.com>
2026-07-03 21:10:45 -07:00
..

Kurallar (Rules)

Claude Code için kodlama kuralları ve en iyi uygulamalar.

Dizin Yapısı

Common (Dile Bağımsız Kurallar)

Tüm programlama dillerine uygulanan temel kurallar:

  • agents.md - Agent orkestrasyonu ve kullanımı
  • coding-style.md - Genel kodlama stili kuralları (immutability, dosya organizasyonu, hata yönetimi)
  • development-workflow.md - Özellik geliştirme iş akışı (araştırma, planlama, TDD, kod incelemesi)
  • git-workflow.md - Git commit ve PR iş akışı
  • hooks.md - Hook sistemi (PreToolUse, PostToolUse, Stop)
  • patterns.md - Yaygın tasarım pattern'leri (Repository, API Response Format)
  • performance.md - Performans optimizasyonu (model seçimi, context window yönetimi)
  • security.md - Güvenlik kuralları (secret yönetimi, güvenlik kontrolleri)
  • testing.md - Test gereksinimleri (TDD, minimum %80 coverage)

TypeScript/JavaScript

TypeScript ve JavaScript projeleri için özel kurallar:

  • coding-style.md - Tip sistemleri, immutability, hata yönetimi, input validasyonu
  • hooks.md - Prettier, TypeScript check, console.log uyarıları
  • patterns.md - API response format, custom hooks, repository pattern
  • security.md - Secret yönetimi, environment variable'lar
  • testing.md - Playwright E2E testing

Python

Python projeleri için özel kurallar:

  • coding-style.md - PEP 8, type annotation'lar, immutability, formatlama araçları
  • hooks.md - black/ruff formatlama, mypy/pyright tip kontrolü
  • patterns.md - Protocol (duck typing), dataclass'lar, context manager'lar
  • security.md - Secret yönetimi, bandit güvenlik taraması
  • testing.md - pytest framework, coverage, test organizasyonu

Golang

Go projeleri için özel kurallar:

  • coding-style.md - gofmt/goimports, tasarım ilkeleri, hata yönetimi
  • hooks.md - gofmt/goimports formatlama, go vet, staticcheck
  • patterns.md - Functional options, küçük interface'ler, dependency injection
  • security.md - Secret yönetimi, gosec güvenlik taraması, context & timeout'lar
  • testing.md - Table-driven testler, race detection, coverage

Kullanım

Bu kurallar Claude Code tarafından otomatik olarak yüklenir ve uygulanır. Kurallar:

  1. Dile bağımsız - common/ dizinindeki kurallar tüm projeler için geçerlidir
  2. Dile özgü - İlgili dil dizinindeki kurallar (typescript/, python/, golang/) common kuralları genişletir
  3. Path tabanlı - Kurallar YAML frontmatter'daki path pattern'leri ile eşleşen dosyalara uygulanır

Orijinal Dokümantasyon

Bu dokümantasyonun İngilizce orijinali rules/ dizininde bulunmaktadır.