The Workflow
7 steps · click a step number to mark it done
Open Windsurf and have it ready before you start
Open Windsurf and click ‘Open Folder’, then create or select a project directory where the code will be stored
In the Cascade pane set the mode selector to ‘Write’ so the AI can modify files directly
Enter a clear prompt such as ‘Create a React trivia game that asks five questions, tracks the score in a JSON file, and includes a start button and a restart option’
Press Enter and when Windsurf asks to run terminal commands (e.g., npm create‑react‑app), click Accept to let the AI execute them
Watch the Cascade terminal as the AI installs dependencies and generates files; wait for the process to finish
Review the list of modified files shown by Windsurf, click each to see the diff, then click ‘Accept All’ to apply the changes to your codebase
Open the generated project, run npm start in the Cascade terminal, and verify the trivia game loads and records scores in the JSON file