> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wowweb.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Auto-fix

> If the AI made a small mistake, the system fixes it itself. Free.

Sometimes the AI makes a small mistake: forgets a comma in code, references a component incorrectly. In normal development this would mean a developer sits down to debug. With us it's simpler: the system auto-detects the problem and fixes it itself.

## How it works

* If the site doesn't build correctly after generation, the system auto-analyzes the error.
* A separate AI helper kicks in and tries to fix the problem minimally, without rebuilding the whole site.
* If the first fix doesn't work, we try a couple more times.
* It's completely free: no extra XP charges.

## What you see

Most likely, nothing unusual. The site just builds a bit longer (10-20 seconds extra), and you get a working result. In most cases auto-fix nails the error on the first try without noticeable delay.

<Note>
  If the error is really serious and auto-fix can't help, the system honestly tells you, XP returns to your balance, you can redo the edit.
</Note>

## What's next

<CardGroup cols={2}>
  <Card title="Error guards" icon="shield" href="/en/how-it-works/guards">
    What prevents breakage in the first place.
  </Card>

  <Card title="Troubleshooting" icon="wrench" href="/en/support/troubleshooting">
    What to do if something goes wrong.
  </Card>
</CardGroup>
