Course contents

Prompting Cheatsheet

The four parts of a good prompt

  1. Intent: what you want, and why (the why powers good guesses)
  2. Constraints: must / must not ("one HTML file", "don't change the design")
  3. Acceptance criteria: what done looks like, concretely
  4. Example: one sample input → expected output beats paragraphs

Patterns that work

Instead of Try
"add tests" "write a test covering [specific scenario]; run it and show me the output"
"fix the bug" "[exact symptom + screenshot/error]. Find the cause and explain it before fixing anything"
"make it look better" "[paste screenshot] match this; then screenshot the result and list the differences"
"add feature X" "add X. It should [criteria]. Don't change [thing you care about]. Show me it working"
"is this code okay?" "review this as a [security auditor / picky senior dev]; report problems ranked by severity"

Prompt-ending phrases worth making reflexive

The big-feature move

Two commands package this whole conversation:

Then start a fresh session to build from the spec. (No-tools fallback, works anywhere: "I want to build [X]. Interview me about it, requirements, edge cases, what's in and out of scope. One question at a time. Don't ask obvious questions.")

Mode guide