Improve README readability

- close code fences on their own line (they were swallowing sections)
- rebuild collapsed tables into real markdown tables
- add language hints to command/JSON blocks
- replace dead blog navigation link with a source note
This commit is contained in:
ibrahim committed 2026-11-25 09:16:56 +00:00
1 parent 613ad8f930
commit b2d058a46e
1 file changed
+16 -7
+16 -7
View File
@@ -28,10 +28,12 @@ The answer starts with a word people skip: **trade-offs**.
Every model fails somewhere. Before using any model, you need to know four things about its failures: Every model fails somewhere. Before using any model, you need to know four things about its failures:
```WHEN does it fail? ```
WHEN does it fail?
WHERE does it fail? WHERE does it fail?
WHY does it fail? WHY does it fail?
HOW does it fail?``` HOW does it fail?
```
Each model has specific trade-offs, and once you know the model you're using, really know it, you stop asking it for things it can't give you and start asking it for things it's good at. Each model has specific trade-offs, and once you know the model you're using, really know it, you stop asking it for things it can't give you and start asking it for things it's good at.
@@ -49,7 +51,8 @@ Let me show you with a real example. Imagine you pulled a codebase and you want
The first thing I do with the tiny model is **not write code**. I ask it to predict the *commands* that will list everything about the codebase: all functions, all classes, all methods, the relations between them, the files, the line counts, the full info about the code base. Then I save that output in a markdown file. The first thing I do with the tiny model is **not write code**. I ask it to predict the *commands* that will list everything about the codebase: all functions, all classes, all methods, the relations between them, the files, the line counts, the full info about the code base. Then I save that output in a markdown file.
```your codebase ──▶ tiny model (small context) ```
your codebase ──▶ tiny model (small context)
│ │
▼ ▼
predicts COMMANDS, not code: predicts COMMANDS, not code:
@@ -61,7 +64,8 @@ The first thing I do with the tiny model is **not write code**. I ask it to pred
│ │
▼ ▼
now you know: which class, which methods, now you know: which class, which methods,
what code pattern, what folder architecture``` what code pattern, what folder architecture
```
Notice what happened here. The model didn't build my feature. It built my **map**. After this tier, I know where I should write, which class I should touch, which methods I should pick, what the code pattern is, what the architecture of the folders looks like. Notice what happened here. The model didn't build my feature. It built my **map**. After this tier, I know where I should write, which class I should touch, which methods I should pick, what the code pattern is, what the architecture of the folders looks like.
@@ -78,7 +82,8 @@ The key is what I give it: **a small context, exactly scoped to what I need from
└─▶ model guesses commands for these 3 specific things" └─▶ model guesses commands for these 3 specific things"
│ └─▶ model fills a template │ └─▶ model fills a template
▼ ▼ ▼ ▼
unpredictable output predictable output ✅``` unpredictable output predictable output ✅
```
Small context in → known output out. You give the model attention only where you already know what the answer should look like. That's the correct way to work with a model that doesn't know what it's doing. Small context in → known output out. You give the model attention only where you already know what the answer should look like. That's the correct way to work with a model that doesn't know what it's doing.
@@ -88,7 +93,11 @@ Small context in → known output out. You give the model attention only where y
In some cases this workflow genuinely works for me, and I can point to why: **I measure the things.** Every prompt I send has a narrow, checkable output. Nothing is vague, so nothing drifts. In some cases this workflow genuinely works for me, and I can point to why: **I measure the things.** Every prompt I send has a narrow, checkable output. Nothing is vague, so nothing drifts.
| Approach | Context per call | Output | Cost & risk || --- | --- | --- | --- || One big model, one big prompt: "build feature X" | Whole codebase, huge | Guessy, hard to review | Expensive, and you can't tell where it went wrong || Tiny model, Tier 1: map commands | Small: just the repo facts | A command list you save to `.md` | Near zero: even if it fails, you lost seconds || Tiny model, Tier 2: feature scaffolding commands | Small: exactly the classes/files you named | Bash commands you can read before running | Near zero: output is predictable, so errors are visible | | Approach | Context per call | Output | Cost & risk |
| --- | --- | --- | --- |
| One big model, one big prompt: "build feature X" | Whole codebase, huge | Guessy, hard to review | Expensive, and you can't tell where it went wrong |
| Tiny model, Tier 1: map commands | Small: just the repo facts | A command list you save to `.md` | Near zero: even if it fails, you lost seconds |
| Tiny model, Tier 2: feature scaffolding commands | Small: exactly the classes/files you named | Bash commands you can read before running | Near zero: output is predictable, so errors are visible |
And here is the bigger point behind the table: this division of labor is not only about money. It's about **control**. When the model's job is small, its failure is small, its output is reviewable in seconds, and you, the human, stay the one who understands the system. The model stays a tool that summarizes and scaffolds; the thinking stays with you. And here is the bigger point behind the table: this division of labor is not only about money. It's about **control**. When the model's job is small, its failure is small, its output is reviewable in seconds, and you, the human, stay the one who understands the system. The model stays a tool that summarizes and scaffolds; the thinking stays with you.
@@ -108,4 +117,4 @@ Nobody has the final answer yet. All of us are trying. So I'll end the way this
--- ---
[Back to Home](/) > Originally published on [ibrahimihsan.site/blog](https://ibrahimihsan.site/blog/post.html?slug=to-use-ai)