BABünyamin Akdeniz
Ana Sayfaya Dön
AI KODLAMA PROTOKOLÜ

Yapay Zeka ile Kodlamaya Başlamadan Önce Hazırlamanız Gereken 6 Temel Belge

AI ajanları (Claude Code, Cursor, v0, Devin) tahmin yürütmek zorunda kaldığında proje çorba olur. Fikrinizi eksiksiz bir mimari plana dönüştüren ve ajan context'ini koruyan 6 standart belge şablonu.

Kutulara veya kopyala butonuna tıklayarak doğrudan AI ajanınıza yapıştırın
6 Belge
Eksiksiz Planlama Şablonu
%70 Tasarruf
Daha Az Token ve Context Aşımı
%100 Tutarlılık
Tahmin Yürütmeyen AI Ajanı
1. PRD (Ürün Gereksinimleri) 2. TRD (Teknik Mimari) 3. App Flow (Kullanıcı Akışı) 4. UI/UX Tasarım Özeti 5. Backend Şeması 6. Uygulama Planı Nasıl Kullanılır?
01 // ÜRÜN GEREKSİNİMLERİ

1. Product Requirements Document (PRD)

Uygulamanın ne yaptığını, hangi problemi çözdüğünü ve başarının nasıl ölçüleceğini netleştirir. Ajanın uygulamanın ruhunu ve temel kapsamını anlamasını sağlar.

PRD TEMPLATE
# Product Requirements Document (PRD) Purpose: Define what the product must do and how success will be measured. Product name and one-sentence idea: [name and problem solved] Target users: [who they are, what they need] Problem and current workaround: [pain point and what users do today] Goal and success measure: [outcome and a measurable signal] Core features: [feature, user benefit, and priority for each] Out of scope for version one: [what will wait] User stories: As a [user], I want [action], so I can [result]. Acceptance criteria: Given [starting state], when [action], then [observable result]. Open questions: [decisions the owner still needs to make]
02 // TEKNİK MİMARİ

2. Technical Requirements Document (TRD)

Tüm teknik tercihleri ve teknoloji yığınını baştan netleştirir. Böylece yapay zeka kafasına göre rastgele kütüphaneler kurmaz veya uyumsuz paketler eklemez.

TRD TEMPLATE
# Technical Requirements Document (TRD) Purpose: Make technical choices explicit so the build does not rely on guesses. Platforms: [web, iOS, Android, or other] Frontend and hosting: [framework, runtime, deployment target] Backend and database: [services, data store, region] Authentication and roles: [sign-in methods, permissions] External services and APIs: [provider, purpose, limits, credentials owner] Architecture: [major components and how data moves] Security and privacy: [sensitive data, access controls, retention] Performance and reliability targets: [response time, uptime, backup] Environments and delivery: [development, staging, production, CI/CD] Key technical decisions and tradeoffs: [choice, reason, alternative]
03 // KULLANICI YOLCULUĞU

3. App Flow (User Journey & Navigation)

Kullanıcının uygulamada nasıl gezeceğini, her ekranda ne göreceğini ve bir butona tıkladığında nereye gideceğini haritalandırır.

APP FLOW TEMPLATE
# App Flow Purpose: Show each screen, user path, and result of a tap or click. Entry points: [how a user arrives] Screen inventory: [screen name, purpose, required data] Primary journey: [start screen] -> [action] -> [next screen] -> [success state] Alternate journeys: [cancel, edit, return, skip] For each action, specify: trigger, validation, loading state, success state, error state, and next screen. Navigation rules: [tabs, back behavior, deep links] Empty and blocked states: [no data, permission denied, offline] First-use journey: [onboarding and account setup]
04 // TASARIM DİLİ

4. UI and UX Design Brief

Yapay zekanın rastgele renkler veya 2005 yılından kalma bootstrap butonları üretmesini engeller. Tasarım sistemini ve bileşen kurallarını baştan sabitler.

DESIGN BRIEF TEMPLATE
# UI and UX Design Brief Purpose: Give the app a consistent, usable visual direction. Audience and tone: [who it is for, three design adjectives] Reference products: [links and what to borrow or avoid] Color palette: [primary, accent, background, text, semantic colors] Typography: [font family, heading/body scale] Components: [buttons, forms, cards, navigation, alerts] Layout rules: [grid, spacing, responsive breakpoints] Screen notes: [key content and hierarchy for each screen] Accessibility: [contrast, keyboard access, labels, touch targets] Interaction states: [hover, focus, disabled, loading, error, success] Assets needed: [logo, icons, illustrations, screenshots]
05 // VERİTABANI & İLİŞKİLER

5. Backend Schema

Kullanıcı verilerinin nasıl saklanacağını, yetkilendirmeleri (RLS), tabloları ve veri ilişkilerini belirler. Veritabanı tutarlılığını garantiye alır.

BACKEND SCHEMA TEMPLATE
# Backend Schema Purpose: Define stored data, relationships, and access rules. Entities: [one line per entity and what it represents] For each table or collection: [name], [fields and types], [required fields], [default values], [indexes]. Relationships: [one-to-one, one-to-many, many-to-many and foreign keys] User ownership: [which records belong to which users or teams] Authentication flow: [sign up, sign in, reset, session lifecycle] Authorization rules: [who can read, create, update, delete each entity] Data validation: [lengths, formats, uniqueness, business rules] Retention and deletion: [what is kept, purged, or exported] Migration and seed data: [initial data and change process]
06 // İNŞA SIRALAMASI

6. Implementation Plan

En kritik belge! Ajanın neyi önce, neyi sonra yapacağını belirleyen fazlı yol haritasıdır. Chat context'inin şişmesini engeller ve token tüketimini minimuma indirir.

IMPLEMENTATION PLAN TEMPLATE
# Implementation Plan Purpose: Give the AI agent an ordered build sequence with checkpoints. Milestone 1, project setup: [repo, environment, dependencies, deployment] Milestone 2, data and auth: [schema, migrations, permissions, tests] Milestone 3, core user journey: [screens and API work in dependency order] Milestone 4, secondary features: [remaining requirements] Milestone 5, quality: [error handling, accessibility, security, performance] Milestone 6, release: [test plan, deployment, rollback, monitoring] For each task: [owner or agent], [inputs], [output], [definition of done], [dependency]. Before moving on: run the app, verify the acceptance criteria, and record any unresolved issue.
PROTOKOL // ADIM ADIM İŞ AKIŞI

Bu Şablonları Nasıl Kullanmalısınız?

Bu belgeleri tamamen elle doldurmak zorunda değilsiniz. Fikrinizi yapay zekaya anlatıp bu şablonları doldurmasını isteyebilirsiniz.

1. PRD'den Başlayın: Önce PRD'yi doldurun. PRD'deki kullanıcı hikayeleri ve özellikler diğer 5 belgenin omurgasını oluşturacaktır.

2. Hepsini Birlikte Verin: 6 belgeyi tamamladıktan sonra ajana tek seferde verin: "Bu 6 belgeyi incele, aralarındaki olası çelişkileri tespit et ve kodlamaya başlamadan önce sormak istediğin soruları listele." deyin.

3. Faz Faz İlerleyin: Uygulama planındaki (Implementation Plan) her kilometre taşını ayrı bir faz olarak yürütün. Ajan bir fazı bitirmeden sonrakine geçmesin.
Panoya kopyalandı!