> 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: Best Practices for AI Prompts for Building Apps

## Article: About AI Prompts for Building Apps

## Article Link: https://dev.wix.com/docs/build-apps/develop-your-app/build-with-ai/best-practices-for-ai-prompts-for-building-apps.md

## Article Content:

# Best Practices for AI Prompts for Building Apps
<blockquote class="important">

__Deprecated:__
The [AI app builder](https://dev.wix.com/docs/build-apps/develop-your-app/build-with-ai/about-the-ai-app-builder.md) is deprecated. You can access existing projects in the [app workspace](https://dev.wix.com/docs/build-apps/develop-your-app/app-workspace/about-the-app-workspace.md) until September 17, 2026. To save an existing project, [connect it to GitHub](https://dev.wix.com/docs/build-apps/develop-your-app/app-workspace/git-hub-integration/set-up-git-hub-integration.md). Then you can continue building in your project's repo using the [Wix CLI](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/about-the-wix-cli.md).

</blockquote>


Writing effective prompts helps the AI agent understand your requirements and generate code that matches your vision. This article explains best practices for creating prompts that produce better results when building apps with AI.


## Design your initial prompt 

When you create your initial prompt to build an app, use [Wix-specific terminology](#wix-specific-terminology) and [describe your app's goals and users](#describe-your-apps-goals-and-users). This style helps the AI agent understand your requirements and generate code that matches your vision.

### Wix-specific terminology

Use Wix platform-specific terms in your initial prompts to help the AI understand what you need, such as:

- [App extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/about-extensions.md) like dashboard page, site widget, custom element, or service plugins. For available extensions when building with AI, see [Supported Features and Limitations](https://dev.wix.com/docs/build-apps/develop-your-app/build-with-ai/about-the-ai-app-builder.md).
- [Wix business solutions](https://dev.wix.com/docs/build-apps/develop-your-app/wix-business-solutions/about-wix-business-solutions.md) such as Wix Stores and Wix eCommerce. For available business solutions when building with AI, see [Supported Features and Limitations](https://dev.wix.com/docs/build-apps/develop-your-app/build-with-ai/about-the-ai-app-builder.md).
- [CMS collections](https://support.wix.com/en/article/cms-content-management-system-an-overview) for data that needs to persist. If your app uses multiple extensions that share data, explain in your prompt how the data is shared between them.


### Describe your app's goals and users

Write specific, detailed prompts and avoid open-ended descriptions. Follow these guidelines:

- Describe the goal, target users, and key features in a clear, concise way. 
- Explain how users interact with your app and what the user experience looks like. These details help the AI understand the context and generate appropriate code.

> **Note:** View the sample prompts below the AI chat for examples of effective prompts.

## Iterate on your app

After the initial build, you can prompt the AI to modify your app in the following ways: 

- When something doesn't work, copy and paste the exact error message from the console. The AI agent can read your code but can't run your app, so it needs the error message to understand what went wrong and suggest a fix.
- Request to add extensions. 
- Describe UI changes you want implemented in your app.
- Request to add [permissions](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions.md). 

## See also

- [Get an idea for your next app](https://dev.wix.com/docs/build-apps/get-started/get-an-idea.md)