July 11, 2026 at 6:46pm

The Plain Text of AI: Chapter 1 Clear Instructions

============

Providing clear instructions to AI involves how you describe the task itself and how you format and structure the instructions. When describing the task, I would suggest “too much” is not enough.

The Daughter Drawing on the Wall

Take, for example, the instructions I gave my two-year-old daughter.

[!NOTE] “You cannot draw on any wall, surface, or floor in the house. No crayons, no permanent Sharpies, no markers, no chalk, nothing.”

My daughter demonstrated with brilliant precision where these instructions fell short of good direction. She simply walked out to the exterior covered porch and drew a lovely mural (in colored chalk and not Sharpies, fortunately) on every available part of the outside wall she could reach. Since I had not explicitly bounded the rules to include the outside of our home, she assumed that was exactly where I wanted her to create her masterpiece. As a reminder of the importance of better parental instructions, when she went off to college, the mural was still here.

The beauty of AI is you can ask the LLM how to improve your instructions—a great way to learn how AI thinks. I tend to use different instructions for different tasks. For general tasks I do not go into much detail, but as you will see in the later chapters on Python, HTML, and drawing images, I am very detailed. Consider using these categories when crafting your instructions:

  • Your persona: Setting a clear role or perspective for the model to adopt.

  • Background or context: Giving the baseline environment or history for the task.

  • The specific task: Stating the exact action you need executed.

  • Negative constraints: Explicit instructions on what the AI should strictly exclude.

  • Structural boundaries: Defining specific delivery rules, such as organizing text into sections without altering the source wording.

  • Validation logic: Requiring visual markers (like a green checkmark ✅) to track alterations and summary logs to cross-reference changes at the end of the response.

  • Before-and-after data examples: Clear samples of raw data input paired with your exact expected output. For these I use Markdown tables or *.csv files.

The Teenager That Tunes You Out

AI also suffers from 'context window friction'—which is one way to say it runs out of tokens and tunes you out. When an interaction gets too long and complex, AI sometimes hits a boundary where it struggles to anchor its immediate focus. At that point, AI turns into the teenager staring at their phone and ignoring you. To keep system instructions but clear the erasable chat history, there are two instructions I use in this situation.

-               If you run low on tokens, stop and warn me.

-               Forget everything before this moment. Moving forward, focus strictly on [New Task] using [Specific Format]."

Markdown is Plain Text

AIs—or Large Language Models (LLMs)—run on plain text. In this AI era, I think the most powerful thing you can do is to shift your writing into pure, structured plain text. When we feed AI tools messy, verbose data they hallucinate (give wrong answers), lose focus, and fail at tasks. When you add structure and formatting to your plain text, you are talking the exact same language as the machine.

Markdown is simply plain text with extra characters to add formatting. For example, and # to the beginning of a sentence to indicate a level one heading. Markdown formatting includes text that is bold, italic, headings, lists, tables, and emojis.

This is bold text

I'm Not Eating That.

To see the power of Markdown in action, we are going to step through two distinct rounds of talking to AI: one using messy prose, and one using pure logic formatted in Markdown.

Round 1

In Round 1, Sarah's unstructured email to the bakery's AI ordering system can accidentally trigger hallucinations.

⚠️ The Input

"Hi! Need a high school graduation cake for Chloe. Tennis theme, big racket on top, write 'Congratulations Chloe!'. Wait, her favorite color is neon green, make the tennis balls that bright neon color so they pop. For flavor, she hates vanilla, so definitely make it chocolate with fudge filling. Actually, put 'She did it!' on the cake right below the racket, but make sure 'Congratulations' is bigger. Also, she is allergic to peanuts!! Do not put peanuts anywhere near it, use almonds if you need a crunch. Let me know if that works!"

❌ The Output

The bakery's automated kitchen system prints out a design ticket, and the baking robots create a monstrosity:

-               The Inscription: Written in massive, shaky icing letters across the entire top of the cake is: "SHE DID IT! RIGHT BELOW THE RACKET BUT MAKE SURE CONGRATULATIONS IS BIGGER."

-               The Design: A massive, neon-green fudge-covered tennis racket.

-               The Flavor: A plain vanilla cake (because the AI prioritized the high-signal token "vanilla" and associated the word "hates" as a generic human modifier it didn't know where to apply).

-               The Allergen Disaster: Because the sentence contained both "peanuts" and "almonds" in a flat structure, the AI split the difference and added peanut butter cups around the rim as a decoration.

Round 2

In Round 2, Sarah takes 30 seconds to structure her thoughts using basic Markdown formatting that follows an IfThenWhy™ approach.

🛠️ The Input

Custom Cake Order: Chloe's Graduation

  • Main Theme: High School Graduation / Tennis
  • Primary Flavor: Chocolate Cake
  • Filling: Fudge

⚠️ CRITICAL HEALTH ALERT

  • Allergies: PEANUTS (Strict Zero-Tolerance)
  • Safe Substitute: Almonds

Visual Design & Text Layout

  • Top Decoration: 1x Tennis Racket (with neon-green tennis balls)
  • Primary Text (Large): "Congratulations Chloe!"
  • Secondary Text (Small, placed below racket): "She did it!"

✅ The Output

Because of the Markdown structure, the AI engine processes the data with perfect boundaries:

-      The ### and #### headers isolate the text instructions from the data variables.

-      The ⚠️ CRITICAL HEALTH ALERT blockquote flags a high-priority system constraint, ensuring the peanut token is isolated entirely as a negative constraint.

-      The bullet points map the text layout linearly, ensuring the icing decorators write only the specific text strings intended for the cake.

Applying additional categories to the bakery example makes a good thing even better. Keep in mind with your careful guidance, AI responses improve dramatically.

  • The Persona: A master baker’s apprentice.

  • The specific task: Define the exact action for a custom cake order. Combine customer instructions with the bakery’s own requirements like store hours, decorative options, and cooking times.

  • Negative constraints: Exclude nuts and cursive script.

  • Structural boundaries: Defining specific delivery rules, and organizing complex hierarchies like tiers, flavors, and sizes without altering the original intent.

  • Validation logic: Compare required supplies to inventory, identify out-of-stock ingredients, and flag them in a final validation summary log.