firstprompt
Sign in
All courses

curriculum

0 / 40 · 0%
  • Anatomy of a prompt7m
  • The specificity lever6m
  • Context windows and /clear5m
  • Slash commands5m
  • @file and @directory5m
  • Module 2 recap3m
  • Checkpointquiz + ship
0/40

You're reading as a guest — progress saves to this device only.

Dashboard/Module 2/Lesson 6
FreeYour first prompt

Module 2 recap

3 min read·Lesson 6 of Your first prompt

Listen instead

Module 2 recap

1:47 · spoken companion to this lesson

0:001:47

You built a web page from a sentence, then learned how to ask for changes that come back right the first time. That is the craft of talking to the tool. From here you start changing real code with it.

The Module 2 cheatsheet

IdeaThe move
Anatomy of a promptName a where, a what, and sometimes a why
SpecificityAim for exactly one reasonable interpretation
When you don't knowAsk it to look and suggest before it acts
Context windowClaude's memory of this session — not your files
/clearBetween unrelated tasks. One task per conversation
/compactSame task, long conversation — summarize and keep going
/initWrite a CLAUDE.md so you stop re-explaining your project
@fileLoad a file's real contents; the picker stops typos

The mental model

A good prompt is specific about the work and economical with context. You control what Claude can see (@), when to start fresh (/clear), and exactly what should change. Those three habits do more for output quality than any clever wording.

The classic beginner mistake is not a badly worded prompt. It is a vague prompt sent into a cluttered conversation. You now know how to avoid both.

Two things worth keeping

Look before you leap. When you are unsure, ask Claude to read and suggest rather than change. One extra message, and it removes most "that is not what I meant" loops.

Be specific about the noun. Not "better", not "clean up" — the colour, the heading, the spacing, the file. If your instruction would mean three different things to three different people, it will mean a fourth thing to Claude.

What you just learned

  • You can write prompts that leave nothing to guess.
  • You can manage the context window on purpose.
  • You can point Claude at exactly the right file.
  • You have a real page on your computer that you made this way.

Next module: making changes to code you did not write, and reading what changed before you accept it.

practice

Try this lesson in a guided terminal.

Next

Reading a diff

Next

Study Progress

0

0 / 40

lessons

In this module

Your first prompt

  1. 1Anatomy of a prompt7m
  2. 2The specificity lever6m
  3. 3Context windows and /clear5m
  4. 4Slash commands5m
  5. 5@file and @directory5m
  6. 6Module 2 recap3m
Take the checkpoint