Skip to lesson
Exit
Research before building with plan mode1 / 1

2 min lesson

Research before Build

Research one complex change, resolve its open questions and review the plan before Build.

Check your understanding

Complete the practice "Research a search feature before Build".

Outcome: The files, resolved question, non-goal and check are visible before any code changes.

Research a search feature before Build
Plan Mode with the codebase indexed
SayPlan a recent-searches list under the search box. Show the last five queries, keep the work in components/search and leave filtering behavior unchanged.
SeePlan Mode inspects the search component, its state hook and the existing search tests. It asks whether history should stay in one browser or sync across accounts.
DoAnswer that history stays in one browser, then review the proposed files and checks.
SeeThe revised plan names three files inside components/search, leaves filter logic out of scope and includes the focused test command.
DoLeave Build untouched and read the plan once more against the request.
SeeThe files, resolved question, non-goal and check are visible before any code changes.

Finish the check to continue.