4 yıldır her gün yapay zekayla kod yazıyorum. Bana hak vermesi, bilmediğini uydurması ve aynı hatayı tekrar etmesi beni çok yordu. Bunların çoğunu bu 9 kuralla çözdüm. Kuralları da kullandığım skill'leri de kopyalayıp kendi yapay zekana koyabilirsin.

1 / 9

BENİM TALİMAT DOSYAMDAN

Bilmiyorsan "bilmiyorum" de

Yapay zeka emin bir dille tahmin edebiliyor. Bir fonksiyonun nerede kullanıldığını sorduğunda 'sadece ödeme sayfasında' der, oysa hiç aramamıştır ve fonksiyon dört yerde kullanılıyordur. Bu kural varken cevap 'Emin değilim, önce projede aratayım' olur.

Bir şeyi bilmiyorsan "bilmiyorum" de.
Tahmin etme.
Uydurma, belirsiz cümlelerle geçiştirme.
2 / 9

BENİM TALİMAT DOSYAMDAN

Bana katılma, itiraz et

'Testleri atlayalım, direkt canlıya alalım' dediğinde çoğu yapay zeka önce hak verir. Bu kuralla 'hayır' der ve nedenini söyler: testler atlanırsa hatayı canlıda kullanıcı bulur.

Onaylayan bir asistan değil, teknik bir yardımcı istiyorum.
- İsteğim yanlışsa işe başlamadan söyle.
- İtirazın somut olsun: ne bozuluyor, nerede, hangi durumda.
- Ben ısrar ettim diye fikrini değiştirme, sadece yeni bilgi değiştirsin.
- "Haklısın" diye başlama.
3 / 9

Rol yazma

'Sen 20 yıllık kıdemli bir yazılımcısın' diye başlamak işe yaramıyor. Bir araştırmada 162 farklı rol, 2.410 bilgi sorusunda denendi; sisteme rol yazmak, rol yazmamaya göre sonucu iyileştirmedi. O kelimeleri üç şeye harca: bilgiyi nerede bulacağı, iş bitince sonucun neye benzeyeceği, bitirmeden önce neye karşı kontrol edeceği.

Bilgi nerede: ...
Bitince sonuç şöyle olsun: ...
Bitirmeden önce şunu kontrol et: ...

Örnek

Hata log'u logs klasöründe.
Bitince login testi geçiyor olsun, başka dosyaya dokunulmamış olsun.
Bitirmeden önce testleri çalıştır ve sonucu göster.

alışkanlık

4 / 9

BENİM SKILL'İMDEN

Çelişenleri buldur

Talimatlarının bir yerinde 'çok soru sorma, kendin karar ver', başka yerinde 'işe başlamadan önce bana sor' yazıyorsa yapay zeka ikisini birden yapamaz. Sessizce birini seçer, sen de kuralını neden dinlemediğini anlamazsın.

Hafızanda ve talimatlarında benimle ilgili ne var? Birbiriyle çelişen var mı?

CLAUDE CODE KULLANIYORSANBurada iş büyür: CLAUDE.md'ler, hafıza, skill'ler, MCP'ler. Ben bunun için context-check adında bir skill yazdım; hepsini okuyup çelişen, tekrar eden ve işe uymayan kuralları listeliyor.

5 / 9

BENİM SKILL'İMDEN

Yazan kontrol etmesin

Anthropic'in Claude Code rehberi, en etkili ipucunun doğrulama olduğunu söylüyor: yapay zekaya kendi işini kontrol edecek bir yol ver (test, build, ekran görüntüsü). Ben bir adım ileri gidiyorum: kodu bir oturum yazıyor, ayrı bir oturum kontrol ediyor. Kontrol edene gerekçeyi vermiyorum, sadece işin kendisini veriyorum.

Yeni bir sohbette, kodu yapıştırdıktan sonra.

Bu kodda hata var mı? Sadece sonucu bozanları işaretle.

Son cümle önemli. Yoksa sağlam işte bile bir şey bulur ve her bulguyu kovalarken kodu gereksiz yere karmaşıklaştırırsın. Bunun için crosscheck adında bir skill yazdım. Skill'in yoksa yeni bir sohbet açıp yapılan değişiklikleri kontrol etmesini iste.

6 / 9

İki düzeltmeden sonra baştan başla

Başarısız denemelerin hepsi sohbette kalıyor ve sonraki cevapları da bozuyor. Anthropic'in Claude Code rehberine göre aynı şeyi iki kez düzelttin ve hâlâ yanlışsa üçüncü düzeltmeyi yazma: sohbeti temizle, öğrendiklerini katarak tek ve daha iyi bir istekle baştan başla.

  • Claude Code: /clear
  • ChatGPT: yeni sohbet

alışkanlık

7 / 9

BENİM SKILL'İMDEN

EN ÇOK İŞİME YARAYAN

Başlamadan seni sorguya çeksin

Yapay zeka eksik bilgiyi kendi varsayımıyla dolduruyor ve bunu söylemiyor; yanlışı iş bittikten sonra görüyorsun. Mesela ödeme sistemini bağlarken .env'deki anahtarın test anahtarı olduğunu varsayabilir, oysa o canlı anahtardır. Bu kuralla varsayım daha tek satır kod yazılmadan önüne gelir.

Büyük bir işten önce.

Başlamadan önce görevi kendi cümlelerinle özetle. Varsayımlarını listele. Eksik gördüğün şeyi sor. Onayımı bekle.

Önce anlaşın, sonra serbest bırak. Onay verdikten sonra her adımda soru sormasına gerek yok. Ben bunun için confirm-first adında bir skill yazdım.

8 / 9

BENİM SKILL'İMDEN

Her işe ayrı sohbet, dolunca devret

Bütün günü tek sohbette geçirince bağlam alakasız bilgiyle doluyor. Büyük bağlam penceresi de bunu çözmüyor: Anthropic'in ölçümünde Opus 4.6, metne gizlenmiş 8 benzer bilgiyi bulma testinde 256 bin token'da %93 aldı, 1 milyon token'da %76'ya düştü.

Sohbet dolunca.

Şu ana kadar ne yaptık, ne kaldı, neye dikkat etmeli? Yeni sohbete yapıştıracağım bir özet yaz.

Çıkan özeti yeni sohbete yapıştırıp devam et. Bunun için handoff adında bir skill'im var.

9 / 9

BENİM SKILL'İMDEN

Her hatayı kalıcı kurala çevir

Bir iş bitince şuna bakıyorum: ne yanlış gitti, neyi düzelttim, ne işe yaradı. Sonra bunu talimat dosyama ya da skill'e kural olarak yazıyorum. Bir paketi 'yükseltme' önerisi aslında sürümü düşürüyordu, çünkü yapay zeka eski koda bakmıştı. O günden beri talimatımda şu satır var:

Sürümle ilgili bir karar vermeden önce projenin en güncel halini çek ve ona bak.

İş bitince.

Bu işte ne yanlış gitti, ne işe yaradı? Talimatlarıma ekleyeceğim kuralları yaz.

Bunun için lessons adında bir skill yazdım.

Skill'lerim

Videoda adı geçen Claude Code skill'lerim. Çoğu tek bir SKILL.md dosyası: kopyala, ~/.claude/skills/<ad>/SKILL.md olarak kaydet (bütün projelerinde çalışır) ya da projende .claude/skills/<ad>/SKILL.md olarak kaydet.

context-check

Kural 4

Talimatlarını, hafızanı, skill'lerini ve MCP'lerini okuyup çelişen, tekrar eden ve işe uymayan kuralları listeler. Dosya değiştirmez.

NASIL ÇALIŞIR
/context-check yazınca
---
name: context-check
description: "Lists the instructions, skills, memories and MCP servers active in this session and finds the ones that conflict, repeat each other or do not fit the task. Run only when the user types /context-check."
disable-model-invocation: true
---

# context-check

Show what is loaded in this session and what may confuse you, before the task starts.

## Language

Answer in the language the user uses, with simple, short sentences.

## Step 1 — Find the task

- If the user gave a task with the command (`$ARGUMENTS`), use it.
- Else use the task from the conversation so far.
- If there is no task, do a general check and say so.

## Step 2 — List what is active

Look at your own context. Do not guess. Only list what you can really see.

- **Instructions:** every `CLAUDE.md` (global, project, folder), output style, language rule, session-start hook text.
- **Memory:** `MEMORY.md` lines and memory files.
- **Skills:** skills that could trigger for this task.
- **MCP servers:** the ones this task needs, and whether they are connected.

To check a rule, read its file (e.g. `cat ~/.claude/CLAUDE.md`). Do not quote it from memory.

## Step 3 — Find problems

Look for these:

1. **Conflict:** two sources ask for opposite things (e.g. a skill says "ask questions first", `CLAUDE.md` says "do not ask, pick a direction").
2. **Duplicate:** the same skill is loaded twice (e.g. `defuddle` and `anthropic-skills:defuddle`). It is unclear which one runs.
3. **Overlap:** two skills have similar descriptions, so the wrong one may trigger.
4. **Not fitting the task:** a rule or skill that does not fit this task but may still pull you in its direction.
5. **Stale:** a memory or rule that names a file, flag or tool that no longer exists. Check with a command before you say it is stale.
6. **Missing:** an MCP server the task needs is not connected, or a file the task needs is not in the context.

Only report a problem you can name concretely: which two sources, and what goes wrong in which case. If nothing is wrong, say so.

## Step 4 — Report

Keep it short:

```
Task: <one line>

Active for this task:
- <source> — <what it says, one line>

Problems:
| Kind | Sources | What can go wrong |
|---|---|---|

Suggestion: <one line per problem: which one wins for this task, or how to fix it>
```

## Rules

- Do not change any file. Only report.
- If the user wants a fix, say which file you would change and wait for a yes.

crosscheck

Kural 5

Bulguları, onları bulmayan yeni agent'lara kontrol ettirir. Agent'a gerekçe değil, sadece kod ve tarafsız soru gider.

NASIL ÇALIŞIR
"bunu doğrulat", "crosscheck" deyince ya da /crosscheck
BAĞIMLILIK
Claude Code'un subagent özelliğini kullanır.
---
name: crosscheck
description: "Checks findings (review findings, bug claims, analysis conclusions) with fresh, independent agents that see the code but not the original reasoning, so false flags are dropped before the user acts on them. Use when the user doubts a finding or wants a second look — e.g. 'false flag mı', 'bunu doğrulat', 'bağımsız bir agent'a kontrol ettir', 'bu bulgular gerçek mi', 'crosscheck', 'second opinion', '/crosscheck'. Trigger it even when the user does not say 'skill', as long as they want claims already on the table re-checked."
---

# crosscheck

Re-check findings with agents that did not produce them. An agent that is told the expected answer tends to agree with it, so each checker gets the claim as an open question and the code — never the earlier reasoning or verdict.

## Language

Talk to the user in the language they use in this conversation, with simple, short sentences. Write the agent prompts in English.

## Step 1 — List the findings

- Take the findings the user points at. If they say "bunlar" / "these" / "bu iki madde", use the ones from the latest message they refer to. If it is unclear which findings they mean, ask once.
- Number them. For each, write down: the claim in one sentence, and the files / lines / commands it is about.
- More than 6 findings: group related ones so you start at most 6 agents. Tell the user how many agents you will start.

## Step 2 — Start one fresh agent per finding (in parallel)

Send all Agent calls in one message so they run at the same time. Use `subagent_type: "general-purpose"`. Do not use `fork` — a fork inherits this conversation and its bias.

Each prompt must contain only:
- The working directory and the files / lines / commands to look at.
- The claim, phrased as a neutral question: "Is it true that …? " Do not say who found it, how sure they were, or why they think so.
- This instruction block:

```
Your job is to decide whether the claim is true by reading the actual code (and running read-only commands if useful).
Try to disprove it first: look for callers, guards, config, tests or later code that make it false.
Do not change any file.
Answer in this exact format:
VERDICT: CONFIRMED | REJECTED | UNSURE
EVIDENCE: file:line references with a short quote for each
REASON: 2-4 sentences
If the claim is partly true, say which part holds.
```

## Step 3 — Report

Show one table, in the user's language:

| # | Finding | Verdict | Evidence | Note |
|---|---------|---------|----------|------|

- Verdict: ✅ confirmed, ❌ rejected (false flag), ❓ unsure.
- Evidence: the file:line the agent gave.
- If the agent's verdict differs from what was claimed earlier in this conversation, say so plainly in one line. Do not defend the earlier claim; the code decides.
- For ❓ items, say what would settle it (a test to run, a file nobody read, a question for the user).

End with one line: which findings still stand. Do not start fixing anything unless the user asks.

## Extra second look

If the user also asks for the advisor ("advisor da baksın"), call the advisor after the table and add its view under the table as one short section.

confirm-first

Kural 7

Başlamadan görevi özetler, varsayımları listeler, eksikleri sorar, bakacağı dosyaları yazar ve onayını bekler.

NASIL ÇALIŞIR
/confirm-first <görev> yazınca
---
name: confirm-first
description: Görevi yapmadan önce özetle, varsayımları listele, belirsizleri sor, bakılacak dosyaları yaz ve kullanıcı onaylamadan başlama. Sadece kullanıcı "/confirm-first <görev>" yazınca kullan.
disable-model-invocation: true
---

Görev:

$ARGUMENTS

Başlamadan önce:
- Görevi kendi cümlelerinle özetle.
- Varsayımlarını listele.
- Eksik ya da belirsiz gördüğün şeyleri sor.
- Hangi dosyalara bakacağını yaz.

Bunları hazırlamak için dosya okuyabilirsin. Ama hiçbir dosyayı değiştirme, komut çalıştırıp bir şeyi değiştirme, ücretli bir üretim başlatma.

Sonra dur ve onay bekle. Kullanıcı onaylamadan işe başlama.

handoff

Kural 8

İşin durumunu .notes/<iş>/PLAN.md ve HANDOFF.md dosyalarına yazar, yeni sohbete yapıştıracağın tek satırlık prompt'u verir.

NASIL ÇALIŞIR
"handoff yap", "context doldu" deyince ya da /handoff
BAĞIMLILIK
git ve pano komutu kullanır.
---
name: handoff
description: "Saves the current work to .notes/<task>/PLAN.md and .notes/<task>/HANDOFF.md so it can continue in a fresh session, then gives a one-line prompt to paste there. Use when the user wants to hand off, continue in a new session, or says the context is full — e.g. 'handoff yap', 'yeni session'da devam edelim', 'context doldu', 'devam etmek için prompt yaz', 'write a handoff', '/handoff'."
---

# handoff

Save the state of the current work so a fresh session can continue it without this conversation.

## Language

- Write PLAN.md, HANDOFF.md and the resume prompt in **English**.
- Talk to the user in **the language they use in this conversation**, with simple, short sentences.
- The resume prompt must tell the next session to reply in that same language (e.g. "Reply to me in Turkish.").

## Step 0 — Make sure `.notes/` is ignored by git

Skip this step if the current directory is not a git repo.

Run `git check-ignore -q .notes/` at the repo root. This covers the global gitignore and the repo's own `.gitignore`.

- Exit code 0: `.notes/` is ignored. Go to Step 1.
- Otherwise: stop. Do not write any files. Tell the user `.notes/` is not ignored, so the handoff files could be committed by mistake. Ask if you should add `.notes/` to their global gitignore.
  - If they say yes: find the file with `git config --global core.excludesFile`. If it is empty, use `~/.config/git/ignore` (create it if needed). Add a `.notes/` line to it, run the check again, then go to Step 1.
  - If they say no: stop. Do not write the handoff.

## Step 1 — Find the task folder

Every task has its own folder: `.notes/YYYY-MM-DD-<short-slug>/` at the repo root (or the current working directory if not a git repo).

- If this session started by reading a folder under `.notes/`, use that same folder.
- If not, check the existing folders in `.notes/`. If one looks like the same task, ask the user if you should use it.
- If none matches, create a new folder. Use today's date and a short kebab-case slug from the task (e.g. `2026-11-17-login-refactor`).
- If it is not clear which folder this work belongs to, ask the user. Do not guess.

## Step 2 — Update PLAN.md (long-lived)

Do not delete old content. Update and add to it.

```markdown
# <Task title>

## Goal
<What we are building or fixing, and why.>

## Steps
- [x] Done step
- [ ] Open step

## Decisions
- <Decision> — <why>. (<date>)

## Sessions
- <session id> (<date>)
```

Add this session's id to `## Sessions` every time: `${CLAUDE_SESSION_ID}` with today's date. Skip it if the id is already in the list. Create the section if it is missing. If the id above is not a UUID (it was not filled in), do not guess one: skip this and tell the user. The `lessons` skill uses this list to find all sessions of the task.

## Step 3 — Rewrite HANDOFF.md (short-lived)

Rewrite it from scratch each time.

```markdown
# Handoff — <date>

Reply language: <the user's language, e.g. Turkish>

## Current state
<Where the work stands right now. What works, what does not.>

## Changed files
- `path/to/file` — <what changed>

## Tried and did not work
- <Approach> — <why it failed>

## Next step
<The exact next thing to do.>
Ask the user before starting. If this step waits for an input (audio, a file, a decision) that has not arrived, do not move to another step on your own: ask.

## Notes from the user
<Anything the user asked to focus on in this handoff. Omit if none.>
```

Rules:
- Be specific: file paths, function names, commands, error messages. The next session has none of this conversation.
- "Tried and did not work" matters most. Without it, the next session repeats the same mistakes.
- Do not write things the next session can learn from the code or git history.
- If the user added a note when calling the skill (e.g. "focus on the API part"), follow it.

## Step 4 — Start the next session

Tell the user, in their language, that the files are saved.

The resume prompt:

```
Read .notes/<folder>/PLAN.md and .notes/<folder>/HANDOFF.md. Summarize the current state and what you plan to do from "Next step", then wait for my OK before you change anything. Reply to me in <language>.
```

### In the Claude desktop app

If the `mcp__ccd_session_mgmt__clear_session` tool exists (it may be deferred: load it with `ToolSearch` query `select:mcp__ccd_session_mgmt__clear_session` first), continue in this same session:

1. Copy the resume prompt to the clipboard, as "Everywhere else" shows.
2. Tell the user, in their language, in short sentences: you will clear this session; after the clear they paste the prompt with ⌘V. The old conversation is not deleted: "Resume previous session" brings it back.
3. Call it with `session_id: "self"`. The app asks the user to approve. The clear happens when this turn ends.
4. Do nothing after this call. End the turn.

If the user declines the clear, or the call fails, do what "Everywhere else" says.

### Everywhere else

Give the resume prompt in a code block. Also copy the exact same prompt to the clipboard, without a trailing newline:

```bash
printf '%s' 'Read .notes/<folder>/PLAN.md and .notes/<folder>/HANDOFF.md. Summarize the current state and what you plan to do from "Next step", then wait for my OK before you change anything. Reply to me in <language>.' | pbcopy
```

`pbcopy` is for macOS. On other systems pipe to the first one that exists: `wl-copy` or `xclip -selection clipboard` (Linux), `clip` (Windows). If none is available, skip this and do not mention it. If it works, tell the user the prompt is already on the clipboard.

lessons

Kural 9

Bitmiş bir işin bütün Claude Code oturumlarını okur, hataları ve işe yarayanları çıkarır, kural önerir; sadece onayladıklarını talimat dosyalarına yazar.

NASIL ÇALIŞIR
"dersleri çıkar", "bu işten ne öğrendik" deyince ya da /lessons
lessons.zip indir

Zip'in içinde skill'in çalışması için gereken script de var: recall.py, eski Claude Code oturumlarını arayıp okuyor. Zip'i aç, lessons klasörünü ~/.claude/skills/ içine koy. Python 3 gerekiyor.

Senin talimatlarında en çok işe yarayan satır hangisi?

Videonun altına yorum olarak yaz, ben de deneyeyim.

KAYNAKLAR