173 patterns from real production sites
Every security gap, SEO miss, and performance issue we've learned across the network. Each pattern has a trigger, a proven fix, and a confidence score. Free to browse.
context_file_universal
claude.md baglam dosyasi 10 videodan 8inde tekrarlandi. AI'a kalici hafiza vermek herkesin uzerinde anlasti tek pattern.
duplicate_lead_prevention
DB set kontrolu lower duplikasyon onler
wordpress_api_email_discovery
WordPress REST API wp-json/wp/v2/pages JS sitelerdeki email %22 basari
agent_orchestrator_paradigm
Modern AI agent = LLM + Tools + Memory + Patterns + Self-Improvement. Tek tanri agent yerine taseron takimi (Coordinator + Builder + Reviewer).
calibrated_primitives_over_ad_hoc_scores
Tutarsiz skorlari kalibre olasiliklara cevir, weighted geometric mean ile fuse et
wgm_for_soft_and
Weighted Geometric Mean = soft AND. WAM 0.95/0.95/0.20=0.70 yanlis, WGM=0.46 dogru
multi_source_scraping
3 katman HTML+WP API+mailto basari %40 artis
ai_sentiment_gemini
Gemini AI olumlu olumsuz notr siniflandirma keyword fallback
Need to track loyalty/credit balance with audit log
Use a single transactions table with signed amount (earn+, spend-). Balance = SUM. No separate balance column = no sync drift.
Auto-award points when order delivered, must not double-award on repeated UPDATE
Check (OLD.status IS NULL OR OLD.status <> 'delivered') AND NEW.status = 'delivered' — only first transition
Passing a React/Lucide component reference as prop from Server to Client component
Pass a string key (icon: 'home') instead; client resolves via a Record<string, Component> map
iyzico payment fails after order+items INSERT
Wrap iyzico call in try/catch; on failure, delete the orphan order record before returning error
Restaurant hours like 08:00-02:00 (closing time < opening time, next-day close)
If closeMin <= openMin treat as overnight: open if current >= openMin; also check yesterday's overnight window for early-morning hours
crontab_ascii_safe
Crontab UTF-8 BOM veya em-dash icerirse 'bad minute' hatasi. ASCII karakter (-----) kullan. Append: (crontab -l; cat << 'EOF' ... EOF) | crontab - paterni.
category_based_pattern_series
Pattern numaralama serileri (SP-001, SP-100, SP-200) kategori ayirici olarak iyi calisiyor. Yeni kategori = yeni 100lu seri.
interview_first_setup
Bos klasore AI yonelt. Promptu ver: bana sorular sorarak isimi ogren ve claude.md olustur. Asistan kendi kendini insa etsin.
claude_self_consistency_n3
Claude logprobs yok. N=3 sample, median + std. std > 0.15 = admin review
React 19 lint rule 'set-state-in-effect' for reading localStorage/window in useEffect + setState
Use useSyncExternalStore with subscribe/getSnapshot/getServerSnapshot for external state reads
CSV export with Turkish characters opens broken in Excel
Prepend UTF-8 BOM (\uFEFF) to CSV string before Blob creation
Custom slideUp/slideDown animation on Accordion.Content prevents Radix unmount on close
Remove height-based keyframe animations; let Radix handle mount/unmount. Animate inner content instead (fadeInUp on child div).
Opening edit modal for menu item resets existing data
Preserve existing data on edit; do not re-initialize state when modal opens in edit mode
map() returning <>...</> Fragment — React key warning
Use <Fragment key={x}> (import from react) instead of shorthand <>
Want these patterns applied to your site?
Connect your site and get personalized rules ranked for your tech stack and site type.
Scan your site free →