Get your API key

Beginner · 6 lessons · 39 min

Prompting for AI coding

Write prompts that an AI coding agent understands the first time.

Who it's for

Anyone starting with AI agents. Take this course first.

What you'll build

Your own prompt library and a rules file for your projects.

Lessons in this course

  1. 1What an AI coding agent really doesLLMs, context and tokens in plain words, and why a long chat makes the AI worse. 6 min Free
  2. 2The Prompt Card: 5 parts of a good promptGoal, Context, Details, Rules and Done when. One framework you will use everywhere. 7 min Log in to open
  3. 3Let the AI ask you questions firstTurn a vague idea into a clear SPEC.md by letting the agent interview you. 6 min Log in to open
  4. 4Plan first, then build in small stepsUse plan mode and one testable step at a time so nothing breaks silently. 7 min Log in to open
  5. 5When something breaksWrite bug reports the AI can act on, use screenshots, and the 2-strike fresh-start rule. 7 min Log in to open
  6. 6Your rules file and prompt libraryAGENTS.md / CLAUDE.md so the AI remembers your rules, plus a library of prompts that worked. 6 min Log in to open
Next upPrompt engineering: from first prompt to proWrite one prompt that actually finishes the task, on Codex, Claude Code, Cursor or Antigravity.