LoslegenKostenlos starten

Plan a Code Change Before Writing Any Code

Your supervisor asks you to add error handling to load_data.py — right now, it crashes with an unhelpful traceback if a CSV file is missing or malformed. This touches at least two functions across the script, so you want a clear plan before touching anything.

Plan mode reads your project with read-only tools and returns a numbered implementation plan for you to review. No files are changed until you explicitly approve.

The team's project is already in your working directory at /home/repl/climate-analysis/.

Diese Übung ist Teil des Kurses

<Kurs>Claude Code 101</Kurs>
Kurs ansehen

Übungsanweisungen

  • Start Claude Code with claude.
  • Enter Plan mode by typing /plan or pressing Shift+Tab until you see "Plan Mode."
  • Ask Claude to plan how to add error handling to load_data.py for missing or malformed CSV files.
  • Review the plan Claude produces, then type /exit to exit Claude Code.

Note: Claude may ask you questions to implement the plan. Your choices don't affect the exercise grading.

Interaktive praktische Übung

Verwandle Theorie mit einer unserer interaktiven Übungen in die Praxis

Übung starten