Skip to content

A Claude Code / Codex plugin that helps you learn how to build while AI writes the code.

Python

docs: render conversation examples as Markdown

Noah Kim0bdd6b867ec7
diff --git a/README.md b/README.md
index e509bed..b7337d9 100644
--- a/README.md
+++ b/README.md
@@ -30,90 +30,102 @@ Setup asks one question at a time. Use the arrow keys and Enter for choices; pic
A condensed example adapted from a real notes-app learning session. Later
implementation steps are illustrative; intervening design discussions are omitted.
-```text
-You:
- A note can be in several folders. Deleting a folder should delete its notes.
+**You:**
+
+> A note can be in several folders. Deleting a folder should delete its notes.
-Claude:
- | ✦ Build checkpoint: Deleting a shared note |
- | :--- |
- | |
- | "Trip ideas" is in both Travel and Summer. Deleting it removes it from both. |
- | **When someone deletes Travel, what should happen to that note in Summer?** |
- | |
+**Claude:**
-You:
- Keep it in Summer. If it has no folders left, keep the note outside any folder.
+| ✦ Build checkpoint: Deleting a shared note |
+| :--- |
+| |
+| "Trip ideas" is in both Travel and Summer. Deleting it removes it from both. |
+| **When someone deletes Travel, what should happen to that note in Summer?** |
+| |
-Claude:
- That separates deleting a folder from deleting a note.
+**You:**
- | ✦ Build checkpoint: Connecting notes and folders |
- | :--- |
- | |
- | **How would you represent which folders a note belongs to, without copying the note?** |
- | |
+> Keep it in Summer. If it has no folders left, keep the note outside any folder.
-You:
- A links table with note_id and folder_id. Deleting a folder removes its links,
- not the notes.
+**Claude:**
-Claude:
- Each link records one membership. Several links can point to the same note;
- a note with no links is unfiled.
+That separates deleting a folder from deleting a note.
- notes ← folder links → folders
+| ✦ Build checkpoint: Connecting notes and folders |
+| :--- |
+| |
+| **How would you represent which folders a note belongs to, without copying the note?** |
+| |
- ────────────────────────────────────────────────────────────
+**You:**
- ✦ Decision checkpoint: Folder membership
+> A links table with note_id and folder_id. Deleting a folder removes its links,
+> not the notes.
- Proposed: store notes once and track folder membership in a links table.
- Deleting a folder removes its links and keeps the notes. This supports multiple
- folders per note; loading a folder's notes needs a lookup through those links.
+**Claude:**
- Confirming records this design. We still need to work through access rules
- and technology choices before writing code.
+Each link records one membership. Several links can point to the same note;
+a note with no links is unfiled.
- ❯ 1. Confirm and continue
- This approach makes sense to me; move to the next piece.
- 2. Discuss
- Ask questions or clarify anything that doesn't make sense before deciding.
+`notes ← folder links → folders`
-You:
- Confirm and continue.
+---
-[Later, after the remaining choices for this step are worked through...]
+**✦ Decision checkpoint: Folder membership**
-Claude:
- ────────────────────────────────────────────────────────────
+Proposed: store notes once and track folder membership in a links table.
+Deleting a folder removes its links and keeps the notes. This supports multiple
+folders per note; loading a folder's notes needs a lookup through those links.
- ✦ Implementation checkpoint: Folder membership
+Confirming records this design. We still need to work through access rules
+and technology choices before writing code.
- I'll add the agreed tables and folder-deletion operation, then test that deleting
- a folder preserves its notes and their membership in other folders.
- This step builds storage behavior; the UI comes later.
+```text
+❯ 1. Confirm and continue
+ This approach makes sense to me; move to the next piece.
+ 2. Discuss
+ Ask questions or clarify anything that doesn't make sense before deciding.
+```
- ❯ 1. Implement this step
- This approach makes sense to me; write the code for this step.
- 2. Discuss
- Ask questions or clarify anything that doesn't make sense before deciding.
+**You:**
-You:
- Implement this step.
+> Confirm and continue.
-[Claude writes the code and runs the tests.]
+*Later, after the remaining choices for this step are worked through...*
-Claude:
- ────────────────────────────────────────────────────────────
+**Claude:**
- ✦ Implementation report: Folder membership
+---
- - Added the schema migration: each membership references one note and one folder.
- - Added folder deletion: removes the folder and its links, preserving note content.
- - Added and ran tests for shared notes and notes left without a folder; both passed.
+**✦ Implementation checkpoint: Folder membership**
+
+I'll add the agreed tables and folder-deletion operation, then test that deleting
+a folder preserves its notes and their membership in other folders.
+This step builds storage behavior; the UI comes later.
+
+```text
+❯ 1. Implement this step
+ This approach makes sense to me; write the code for this step.
+ 2. Discuss
+ Ask questions or clarify anything that doesn't make sense before deciding.
```
+**You:**
+
+> Implement this step.
+
+*Claude writes the code and runs the tests.*
+
+**Claude:**
+
+---
+
+**✦ Implementation report: Folder membership**
+
+- Added the schema migration: each membership references one note and one folder.
+- Added folder deletion: removes the folder and its links, preserving note content.
+- Added and ran tests for shared notes and notes left without a folder; both passed.
+
You don't need to know the answer already. Claude can explain unfamiliar concepts, sketch the relevant pieces, and help you tackle a smaller question. You stay involved in forming the plan. Answer in plain English; ask for more help or say “skip” whenever you want.
Describing what you want sets the requirements. Build Checkpoints ask you to work
diff --git a/docs/demos/notion-dupe.md b/docs/demos/notion-dupe.md
index fe4c570..9084756 100644
--- a/docs/demos/notion-dupe.md
+++ b/docs/demos/notion-dupe.md
@@ -141,48 +141,53 @@ matters. It illustrates the interaction, not an exact transcript or a required
password-storage design. The folder example in the [README](../../README.md#what-it-feels-like)
shows Build, Decision, and Implementation checkpoints together.
-```text
-Claude:
- | ✦ Build checkpoint: Password storage |
- | :--- |
- | |
- | **What would you store so we can check someone's password when they sign in?** |
- | |
+**Claude:**
-You:
- A hashed password, not the password itself.
+| ✦ Build checkpoint: Password storage |
+| :--- |
+| |
+| **What would you store so we can check someone's password when they sign in?** |
+| |
-Claude:
- A hash lets us verify a password without storing the original. Password storage
- also needs a method designed to make repeated guesses expensive, and a unique
- salt so equal passwords don't produce equal stored hashes.
+**You:**
- ✦ Decision checkpoint: Password storage
+> A hashed password, not the password itself.
- Your proposal: store a password hash. Details to discuss before confirming:
+**Claude:**
- | Detail | Proposal | Why it matters |
- | --- | --- | --- |
- | Hashing method | Use a password-hashing library with scrypt | Makes each guess expensive |
- | Salt | Let the library generate a fresh random salt per password | Prevents reuse of precomputed guesses across users |
+A hash lets us verify a password without storing the original. Password storage
+also needs a method designed to make repeated guesses expensive, and a unique
+salt so equal passwords don't produce equal stored hashes.
- ❯ 1. Confirm and continue
- This approach makes sense to me; move to the next piece.
- 2. Discuss
- Ask questions or clarify anything that doesn't make sense before deciding.
+**✦ Decision checkpoint: Password storage**
-You:
- Discuss. What is a salt?
+Your proposal: store a password hash. Details to discuss before confirming:
-Claude:
- Extra random data mixed into the password before hashing. Two people with the
- same password get different hashes because their salts differ. We store the salt
- alongside the hash so we can repeat the check at sign-in; it doesn't need to be secret.
+| Detail | Proposal | Why it matters |
+| --- | --- | --- |
+| Hashing method | Use a password-hashing library with scrypt | Makes each guess expensive |
+| Salt | Let the library generate a fresh random salt per password | Prevents reuse of precomputed guesses across users |
- The hashing method and salt handling are still proposals. We haven't confirmed
- them or started implementing.
+```text
+❯ 1. Confirm and continue
+ This approach makes sense to me; move to the next piece.
+ 2. Discuss
+ Ask questions or clarify anything that doesn't make sense before deciding.
```
+**You:**
+
+> Discuss. What is a salt?
+
+**Claude:**
+
+Extra random data mixed into the password before hashing. Two people with the
+same password get different hashes because their salts differ. We store the salt
+alongside the hash so we can repeat the check at sign-in; it doesn't need to be secret.
+
+The hashing method and salt handling are still proposals. We haven't confirmed
+them or started implementing.
+
An Implementation checkpoint comes when a specific coding step is ready. It can
confirm the design and authorize that step together; don't add a separate Decision
checkpoint just to repeat the same approval.