firstprompt
Inicia sesión
Todos los cursos

temario

0 / 40 · 0%
  • Anatomía de un prompt7m
  • La palanca de ser específico6m
  • Ventanas de contexto y /clear5m
  • Comandos slash5m
  • @file y @directory5m
  • Resumen del módulo 23m
  • Checkpointquiz + publicar
0/40

Estás leyendo sin cuenta: tu progreso solo se guarda en este dispositivo.

Panel/Módulo 2/Lección 6
GratisTu primer prompt

Resumen del módulo 2

3 min de lectura·Lección 6 de Tu primer prompt

O escúchala

Resumen del módulo 2

1:47 · versión en audio de esta lección

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.

práctica

Prueba esta lección en una terminal guiada.

Siguiente

Cómo leer un diff

Siguiente

Tu progreso

0

0 / 40

lecciones

En este módulo

Tu primer prompt

  1. 1Anatomía de un prompt7m
  2. 2La palanca de ser específico6m
  3. 3Ventanas de contexto y /clear5m
  4. 4Comandos slash5m
  5. 5@file y @directory5m
  6. 6Resumen del módulo 23m
Hacer el checkpoint