LearnAI
Новинки AI · Код без программиста · Lesson 5/10
← To the catalog
Task

We improve step by step, not all at once

Describe ONE next improvement step. Return JSON {"current_state":"what already works","one_change":"one change","keep_unchanged":"what not to touch","done_when":"how to check the step"}. Exactly one change.

Unlock access to submit solutions for instant AI review.
Improve step by step
💡 A piece of theory

The finished result is almost never born from the first request - it is grown step by step, in small repetitions. There is one rule: one step - one change. When you change five things at once and something breaks, it’s not clear which of the five is to blame; changing one at a time, you always know the reason. It's like adding salt to soup in pinches, tasting, rather than pouring out a packet at once. Describe the current state (what is already there and working), one specific change and, of course, what to leave untouched. The phrase “don’t change the rest” saves hours: without it, the AI ​​often rewrites the entire code again, and working pieces suddenly break. After each edit, ask for a short summary of “what has changed” - this way you keep track of history and can roll back if the new version is worse. A common mistake is to accumulate ten wishes and dump them all at once, and then not understand why everything fell apart. Small steps are slower in appearance, but faster in reality - fewer rollbacks.

How is it assessed · passing 70

  • 1Valid JSON without text around it25%
  • 2There are fields current_state, one_change, keep_unchanged, done_when30%
  • 3Exactly one change and protect the rest45%
Your promptClaude ⌄
🔒

Unlock access to submit solutions for instant AI review.