learn-markdown-with-phoebe / Deep dive 1
Learn Markdown with Phoebe · Deep-dive track

Markdown for AI work: the language your AI already speaks

You finished the course, your page is live - now notice something: every AI chat you've ever had was markdown the whole time. This page turns that observation into a skill. You'll read AI answers structurally, write prompts with real structure, and meet the instruction files that configure AI coding tools. All with the exact seven elements from Session 1.

🔬 Deep dive Finished all 4 sessions Nothing to install ~20 min self-paced
Part 0

Why this page exists

In Session 1 you learned that AI answers are markdown rendered by the chat window. That was a fun fact. Now it's leverage: the same syntax that formats an answer coming OUT can structure your prompt going IN - and it can configure whole AI coding tools through plain .md files. Your Session 1-2 skills transfer directly; nothing new to memorize.

Self-paced - read in any order Try it - one hands-on lap near the end The project: your page keeps growing
★ What you walk away with Three transferable habits: read AI answers by their structure (headings, lists, tables, fences) instead of skimming a wall of text; write prompts with a heading-and-fence skeleton that separates instructions from data; and recognize the instruction-file pattern (CLAUDE.md, AGENTS.md) so no AI coding tool's setup ever looks mysterious again.
Part 1 · builds on Session 1's "markdown in the wild" homework

Your AI chats are already markdown 5 min read

When a model answers with clean headings, bullet lists, a comparison table, and a grey code box, it isn't using a secret rich-text mode. It writes # headings - lists | tables | ``` fences as plain text, and the chat window renders them - the exact pipeline from Session 1's first diagram.

Self-studyReading answers structurally3 min▶

Once you know the elements, an AI answer stops being a wall of text and becomes a document with a skeleton you can scan:

  • Headings mark the answer's sections - scan them first and you know the shape of the whole reply before reading a word of body text.
  • Lists mean "parallel items" - options, steps, reasons. If the model numbered them, order matters; if it bulleted them, it doesn't.
  • Tables mean "compare across dimensions" - and you can copy them straight into your own markdown files, because they already ARE markdown.
  • Code fences mean "use this exactly as written" - commands, code, config. The fence is the model telling you where copy-paste territory begins and ends.
Real world

The copy-paste superpower: ask an AI for a comparison of three tools, click the copy button, and paste the answer into your profile README draft. The headings, list, and table arrive as valid markdown and render perfectly on GitHub - because there was never any conversion step at all. One syntax, end to end.

Self-studyFrom blob to blueprint: your first structured prompt4 min▶

Most prompts are one breathless blob: "rewrite this email to be formal but short also keep the friday date hi team the launch moved to friday thanks". Where does the instruction end and the email begin? The model has to guess. Structure removes the guessing:

✗ one blob, no structure rewrite this email to be formal but short also keep the friday date hi team the launch moved to friday ✓ Task, Constraints, Email # Task ## Constraints - keep it short ## Email (fenced below) The task, the rules, and the material each live under their own heading, nothing confused.
🔍 Click to zoom - a heading skeleton removes the guessing a blob forces on the model
The structured prompt - you type# Task Rewrite the email below to be more formal. ## Constraints - Keep it under 50 words - Keep the Friday date ## Email ``` hi team the launch moved to friday thanks ```
→
What the model sees
Task

Rewrite the email below to be more formal.

Constraints
  • Keep it under 50 words
  • Keep the Friday date
Email

hi team the launch moved to friday thanks

  • Same request, zero ambiguity. The task, the rules, and the raw material each live under their own heading - nothing gets mistaken for anything else.
  • Every character is Session 1-2 material: # headings, a - list, a ``` fence. You already knew how to write this.
Part 2 · the Session 1 seven, redeployed

Structure makes prompts better 5 min read

Three structural moves cover most prompt problems. Each one maps to an element you already own.

Self-studyHeadings: separate instructions from data2 min▶
  • The core move: give the task, the constraints, and the input material each their own # or ## heading. Long prompts become skimmable for you AND unambiguous for the model.
  • A reusable skeleton: # Task → ## Constraints → ## Input → ## Output format. Adapt the names; keep the separation.
  • Bonus: when you come back to a good prompt next month, the headings make it instantly reusable - prompts with structure become templates for free.
Self-studyFences: quote text exactly2 min▶
  • The rule: anything you paste for the model to work ON - an email, code, an error message, meeting notes - goes inside a ``` fence. The fence draws a hard boundary: "this is data to process, not instructions to follow."
  • Why it matters: unfenced, a pasted email that happens to contain the words "ignore the deadline" reads like part of your instructions. Fenced, it's clearly just the material.
  • Exact means exact: fences also stop the chat from rendering the pasted text's own formatting, so the model receives every character as you pasted it - the Session 2 "show markdown without triggering it" trick, promoted to a safety habit.
The one-sentence version Instructions outside the fence, material inside the fence. If you adopt a single habit from this page, make it this one.
Self-studyTables and lists: structured input in, structured output back2 min▶
  • Lists for constraints: five rules in one paragraph get partially ignored; five rules as - bullets each get their own weight. Numbered lists when order or priority matters.
  • Tables for records: feeding the model several items with the same fields (name, role, start date)? A Session 2 pipe table beats prose - every value sits in a labeled column.
  • Ask for structure back: end with "answer as a markdown table with columns X, Y, Z" and the reply arrives ready to paste into your README, your notes, your docs.

That's the whole trick: the seven everyday elements from Session 1, plus fences and tables from Session 2. Prompting well is largely markdown applied with intent.

Part 3 · the pattern behind AI coding tools

Instruction files: a README for your AI 5 min read

AI coding tools read a plain markdown file from your project - commonly named CLAUDE.md or AGENTS.md depending on the tool - and treat it as standing instructions. A README tells humans how the project works; an instruction file tells the AI. Same skill, new reader.

Self-studyWhat's inside one3 min▶

No schema, no special syntax - just markdown a machine happens to read. Headings group topics, bullets state rules:

A simple instruction file (.md)# Project A sales dashboard in Python. ## Rules - Use pandas for all data work - Write a test for every new function - Ask before adding a dependency
→
What it does

The AI tool reads this file at the start of every session in the project. It now knows what the project is and follows your three rules without you repeating them in every prompt - standing instructions, written once.

One file, read at the start of every session CLAUDE.MD EVERY SESSION APPLIES IT # Project A sales dashboard in Python. ## Rules - Use pandas for all data work - Write a test for every function - Ask before adding a dependency Session 1 ✓ pandas ✓ tests ✓ ask first Session 2 ✓ pandas ✓ tests ✓ ask first Session 3 ✓ pandas ✓ tests ✓ ask first Standing instructions, written once - no prompt on this project repeats the three rules.
🔍 Click to zoom - the file is read fresh every session, so the rules never need repeating
  • Short beats long: the best instruction files read like a good README section - a few headings, tight bullets, concrete rules. Walls of prose get skimmed by AIs too.
  • It's version-controlled prose: the file lives in the repo, so your whole team (and their AI tools) share one set of rules, with history.
Self-studyThe pattern travels; the filename varies2 min▶
  • Vendor-neutral core: different tools look for different filenames and support different extras, but every one of them reads plain markdown - headings, lists, links. Learn the pattern once and each tool's docs are a five-minute read.
  • Check the docs, not your memory: filenames and lookup rules are tool-specific and change over time. When you adopt a tool, its official docs are the source of truth for what to name the file and where to put it.
  • The bigger idea - docs as context: well-structured markdown docs (your README included) are exactly what AI tools digest best. Every clearly-headed, well-listed page you write is now documentation for humans AND context for machines. Structure pays twice.
Try it

Restructure one real prompt ◐ 10 min hands-on

Find a real prompt you actually sent an AI recently - ideally a long, blobby one that got a mediocre answer. Chat history is full of candidates.

Rewrite it with the skeleton: # Task for what you want, ## Constraints as a - list, and any pasted material inside a ``` fence under its own heading.

Send both versions in fresh chats and compare the answers side by side. Notice what the structured version got right that the blob missed - usually the constraints.

Keep the winner: save the structured version as a template in a notes file called prompts.md. You've just started a prompt library - in markdown, naturally.

Grow the project Add a "How I work with AI" section to your live profile page - two or three bullets on your prompt habits, or a link to a public prompts collection. Your page keeps growing; that was always the deal.
Check yourself

Three questions before you go 🎯 ◐ 90 seconds

1 · Why wrap pasted text in a ``` fence inside a prompt?

The fence draws a hard line between your instructions and your data - and delivers the pasted text exactly, character for character.

2 · What is a CLAUDE.md or AGENTS.md file?

Just markdown - headings and bullets in a file the tool reads automatically. A README for humans, an instruction file for the AI.

3 · Why do AI chat answers appear with headings, lists, and code boxes?

Session 1's pipeline, running in every chat: text with markers in, processor converts, formatted page out.

Source material

What this page is based on

Honest label: unlike the four sessions, this page doesn't track one official syllabus - there isn't one for "markdown in AI work" yet. It's working practice built on the course's verified element set, plus the instruction-file pattern documented across AI coding tools' own docs, kept deliberately vendor-neutral.

✓Session 1-2 element set, reappliedheadings, lists, links, fences, tables - all verified in the main course sources
✓Answers-are-markdown pipelinethe Session 1 type-convert-render model, observed in any AI chat
✓Instruction-file patternplain .md files as agent configuration - a pattern across vendor docs, taught tool-agnostically
◐Vendor-specific filenames and lookup rulestool-dependent and moving - always defer to the tool's current official docs
◐Prompt engineering as a disciplinea much bigger field; this page covers only its markdown-structure slice

Deep dive 1 cheat sheet · pin this

Prompt skeleton# Task · ## Constraints (- bullets) · ## Input (fenced) · ## Output format.
Fence-your-data ruleInstructions outside the fence, pasted material inside. Always.
Read structurallyHeadings = sections, lists = parallel items, tables = comparisons, fences = copy-paste exactly.
Instruction-file patternPlain .md in the repo (CLAUDE.md / AGENTS.md per tool): # Project + ## Rules + tight bullets.
Ask for structure back"Answer as a markdown table with columns..." - the reply pastes straight into your files.
Docs pay twiceWell-structured markdown serves human readers and AI context at once.