AI Coding Cheat Sheet

For the non-developer founder. Print this. Keep it on your phone. Follow it every time.


BEFORE CODING (Pre-Flight)

Copy-paste to start every session:

Follow AI-RULES.md strictly. Before writing any code: 1) Explain in plain English how you will do this. 2) List exactly which files you will change. 3) Tell me what could break. 4) Ask me questions if anything is unclear. Do not write code until I say go.

Then ask:


DURING CODING

Magic phrases:

Ask after each change:


AFTER CODING (Post-Flight)

Copy-paste when AI says it is done:

Show me every file you changed and explain each change in plain English. Then tell me: what should I test? What else could this have broken? How do I undo this if something goes wrong?

The final question:

Would you bet $10,000 that this works perfectly in production?


5-MINUTE TEST (do this every single time)

If anything fails — STOP. Do not ask the AI to "just fix it." Go to the emergency section.


WHEN THINGS BREAK (Emergency)

Do NOT say: "It broke, fix it" Do say:

STOP. Something is broken. Do not guess. Here is the exact error: [paste error]. Tell me the top 2 most likely causes and what info you need from me to know for sure.

If the AI has failed 3 times:

We are stuck in a loop. Forget our last 5 messages. Revert all changes to the last working state. Let us zoom out — what is the actual problem and what is a completely different approach?

Nuclear option:

Revert everything. Go back to the last commit that worked. We are starting over with a simpler approach.


RED FLAGS — STOP if the AI says:

Your response to any red flag:

Undo that. We are taking the safer approach. Explain the safer alternative.


MAGIC PHRASES (keep these in your back pocket)

When to use What to say
AI is going too fast "Do not write any code yet."
AI is overcomplicating "What is the simplest way?"
You do not understand "Explain like I am 5 years old."
AI changed too much "Show me only what you changed."
Before any big change "What could break?"
AI suggests new tools "No. Use only what we already have."
You are not sure "If you are not 100% sure, ask me first."
Task is done "Would you bet $10,000 this works?"

GOLDEN RULE

If you cannot explain what just changed in one simple sentence, revert and start over.


Source: EdgeClaw Council System — 5 models, 2026-04-09

Source: ~/edgeclaw/docs/ai-cheatsheet.md