Skip to content
X

Prompting for Beginners

  1. Goal: what you want to build
  2. Context: tools, constraints, current state
  3. Output: what you need next (plan, code, review)

“Goal: build a simple form with validation. Context: Astro + TypeScript, no UI library. Output: show the component code and explain the validation logic.”

  • “What could go wrong?”
  • “What tests or manual checks?”
  • “Explain trade-offs in 2-3 sentences.”
  • Don’t ask for everything at once.
  • Keep steps small and verifiable.
  • Paste the exact error message when stuck.