How They Use AI  |  Newest

<< Home  |  Work

Better code understanding and lower token usage

AreaWork
AI usedCursor
Sourcer/cursor
Posted2026-01-18

The move

Force the AI to guide you through coding tasks step-by-step instead of applying changes automatically.

Steps

  1. Open a new chat in Cursor and switch to plan mode.
  2. Describe your coding task or bug fix in detail.
  3. Add the custom tutorial prompt to the chat instructions.
  4. Follow the AI's step-by-step instructions to write tests and code manually.
  5. Ask questions or suggest changes at any point during the process.

Prompt for your AI

Let's switch into tutorial mode, where you walk me through the steps to [insert task] one at a time. I will make all the changes. Whenever possible, write a test first. Do not make the changes yourself; instead, guide me through the steps, one block of code or function at a time. Keep steps incremental, ensuring no single addition exceeds 50 lines.

What happened

The user wanted to improve their understanding of their codebase while implementing features. They created a custom 'tutorial' prompt that forces the AI to provide instructions one step at a time rather than editing files directly. This approach resulted in a deeper mental model of the application and reduced token consumption.

Watch out

This process is significantly slower than letting the AI apply changes automatically. You must remain attentive to ensure the manual code implementation matches the AI's instructions.

Give it to your agent

Read https://howtheyuse.ai/p/better-code-understanding-and-lower-token-usage.md and help me do this.

Sources



Last updated November 26, 2026.