Ask for a plan before it codes

Module 2 : Work with AI on a real codebase

Plan du cours

Cette leçon n'est pas encore dans votre langue, la voici donc en anglais.

Petit test

Guess first, no penalty. You ask a coding agent to "add team accounts". It starts editing 14 files at once. What should you have asked for first?

A coding agent (an AI tool that edits files and runs commands for you) will start building the moment you ask. If its idea of the job is wrong, every file it touches carries that mistake.

Ask for a plan first. A good plan has three parts:

  • Steps in order, each small enough to review in one sitting.
  • The files each step changes, so you can spot scope creep early.
  • Assumptions and open questions, the places it guessed.

Review the plan like a design, not like code. Cut steps you don't need, correct wrong assumptions, and answer the open questions.

Then build one step at a time. Run the tests and commit after each, so a bad step is one small revert.

La suite de cette leçon fait partie de Learn Pro

Le premier module de chaque cours est gratuit. Learn Pro ouvre toutes les leçons de tous les cours pour 10 $ par mois. Tous les outils JobRise restent gratuits.