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

# Build

> How Foenix executes full tasks on your WordPress site: content, theme files, plugins, snippets, and settings - with verification on every change.

Build (also known as Direct Edits) is how Foenix makes changes to your WordPress site. You describe what you want - Foenix executes it and reports back. Every change passes the read-only **Verifier** agent before it counts as done. [How the pipeline works →](/core-concepts/architecture)

## What Build can do

* Create and edit posts, pages, and custom post types
* Modify theme files - PHP templates, CSS, JavaScript
* Create or modify plugins
* Add snippets to `functions.php`
* Change WordPress settings, menus, and widgets
* Generate and set featured images

<Warning>
  Adding code snippets to `functions.php` can break your site if something goes wrong. Always make a backup at the hosting level before doing this. [Backups →](/security/backups)
</Warning>

## Example

You say:

```text theme={null}
Add a "Back to top" button that appears when the user 
scrolls down 300px. Match the site's primary color.
```

Foenix executes:

* Adds CSS to `style.css`
* Adds JavaScript to `main.js`
* Adds the button HTML via a hook in `functions.php` Then reports back with what was changed and, when available, a Rollback option.

## Rollback

After actions that modify your site, a **Rollback** button may appear in the session. Use it to undo the last change if something didn't work as expected. This feature is currently in active development - it may not always be available. [Learn more →](/security/rollback)

## Safety modes

How carefully Foenix validates its own actions depends on the selected Safety Mode. We recommend keeping it on **Balance** for production sites. [Learn more →](/security/safety-mode)

<Warning>
  Always make a backup before running edits on a production site, or rehearse the task in a sandbox first. [Backups →](/security/backups)
</Warning>
