FirstPrompt
Anmelden
Mit Claude Code live gehenModul 2 · Dein erster Prompt
Lektion 4 von 6VorherigeNächste
2:21

Dieses Video gibt es vorerst auf Englisch. Die deutsche Fassung folgt bald.

Slash-Befehle

KostenlosVideo 2:21

Du liest als Gast – dein Fortschritt wird nur auf diesem Gerät gespeichert.

Kostenlos registrieren und sichern

Most of what you type to Claude is plain English. A handful of things are not requests at all — they are switches you flip on the session itself. Those start with /.

See them all

Type a single / and a list appears. It is long, so keep typing to filter it: /cl shows /clear. Or ask for it explicitly:

/help

The list grows over time and depends on your setup, so /help is always the honest source of truth. Below are the ones worth knowing on day one.

The seven that matter

CommandWhat it does
/clearStart a new conversation with empty context
/compactSummarize the conversation to free up room, and keep going
/rewindOpen the undo menu (same as Esc Esc on an empty input)
5 Min. Lesezeit
Lektion 4 von 6

Modul 2 · Dein erster Prompt

0/6
  1. 2:46Anatomie eines PromptsVideo
  2. 2:44Genauigkeit als HebelVideo
  3. 2:41Kontextfenster und /clearVideo
  4. 2:21Slash-BefehleLäuft
  5. 2:25@file und @directoryVideo
  6. 2:05Modul 2 im RückblickVideo
  7. CheckpointQuiz + live stellen
/helpShow help and the available commands
/modelSwitch which Claude model is active
/initWrite a CLAUDE.md guide so Claude understands this project
/exitLeave Claude

You already know four of them. That is the point — there is not much to learn here.

/init is the one people miss

Run it once in any project you will come back to:

/init

Claude reads through your folder and writes a CLAUDE.md file describing what the project is and how it is organised. It may ask to run a command or two while it looks around, such as listing or reading your files: those are safe to approve. Then it asks before it creates CLAUDE.md: choose Yes. From then on, it reads that file at the start of every session in this folder.

The payoff is that you stop re-explaining your own project. In a folder with one HTML file the gain is small. In a real project it is the difference between Claude guessing your conventions and knowing them.

Open the CLAUDE.md it wrote and read it. If something is wrong, edit it — it is a plain text file, and correcting it is faster than correcting Claude every session.

Switch as needed, not by habit

/model

A picker opens. Bigger models think harder and cost more of your usage; smaller ones are faster. You do not need to touch this while you are learning — the default is chosen sensibly. Know it exists for when a task is genuinely hard and the answer keeps missing.

Slash command or plain English?

A simple test:

  • Changing something about the session? Slash command. /clear, /model, /exit.
  • Asking for work? Plain English. "In index.html, make the heading bigger."

Do not dress up a normal request as a command. There is no /refactor. Just say what you want.

Try it now

Run /init in your project folder, then open the CLAUDE.md it created and read it. Change one line so it describes the project the way you would describe it.

What you just learned

  • / shows every available command; /help is the source of truth.
  • /clear, /compact, /rewind, /init, /model, /help, /exit cover day one.
  • /init writes a CLAUDE.md so you stop re-explaining your project.
  • Slash commands control the session. Work is requested in plain English.

Next: pointing Claude at a specific file with @.

Übung

Probier diese Lektion in einem geführten Terminal aus.

Kostenlos registrieren und üben
Nächste@file und @directory
Vorherige
Nächste
KurseMit Claude Code live gehen entdeckenPrompt-PacksBau deine eigene Website