> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: generate manifest

## Article: generate manifest

## Article Link: https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-commands/generate-manifest.md

## Article Content:

# wix app generate manifest

Regenerates the auto-generated portion of an [Editor React Component](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/about-editor-react-components.md) extension's manifest. This command reads your project's build output, so you must run the [`build`](https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-commands/build.md) command first. Components that aren't in the last build are skipped without a warning.

<blockquote class="important">

**Important**: You must run this command whenever you make manual changes to a component's React code, CSS, or types. AI coding agents that use [Wix skills](https://dev.wix.com/docs/api-reference/articles/ai-tools/about-wix-skills.md) know to regenerate the manifest automatically, so you only need to run it yourself when you edit the component directly.

</blockquote>

> **Note**: [`wix app dev`](https://dev.wix.com/docs/wix-cli/cli-for-apps/command-reference/project-commands/dev.md) doesn't regenerate the manifest. If you edit a component and only restart the dev server, the editor keeps using the previous manifest.

## Prerequisites

The command runs only in a project that has the `@wix/cli-zero-config-flow` package set up.

Make sure that:

- Your project has the `@wix/cli-zero-config-flow` package installed.
- Your project's [`wix.config.mjs`](https://dev.wix.com/docs/wix-cli/cli-for-apps/project-structure/folders-and-files/wix-config-mjs.md) file imports `zeroConfig` from `@wix/cli-zero-config-flow` and includes `zeroConfig({ appId })` in the `flows` array.

## Usage

```bash
wix app generate manifest
```

## What the command does

For each Editor React Component in the last build, the command regenerates `<component-name>.generated.ts` with an updated `editorElement` object.

The command doesn't modify `<component-name>.extension.ts`, which holds the rest of the manifest and imports the `editorElement` from the generated file.

For more information about the auto-generated output, see [Editor React Component Extension Files and Code](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/supported-extensions/site/editor-react-components/editor-react-component-extension-files-and-code.md).