> 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: Determine Which CLI Your Project Uses

## Article: Determine Which CLI Your Project Uses (New CLI Release)

## Article Link: https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/project-development/determine-which-cli-your-project-uses.md

## Article Content:

# Determine Which CLI Your Project Uses

App projects use one of three project structures. Before you follow any guide for an app project, identify which structure it uses, because the structure decides which commands you run and how your extensions are declared.

## Check your configuration files and dependencies

To find which structure your project uses, check the following against the table below:

1. The configuration files in your project's root folder.
1. The dependency in your project's `package.json` file.

| Structure | Configuration files in the root folder | Dependency in `package.json` |
| --- | --- | --- |
| The new Wix CLI, described in [About the App Project Structure](https://dev.wix.com/docs/wix-cli/cli-for-apps/project-structure/about-the-app-project-structure.md) | `wix.config.mjs` | `@wix/custom-extensions` |
| The Astro-based structure, described in [Astro-based App Project Structure](https://dev.wix.com/docs/wix-cli/legacy-clis/astro-based-wix-cli-for-apps/project-structure/astro-based-app-project-structure.md) | `wix.config.json` and `astro.config.mjs` | `@wix/astro` |
| The Legacy Wix CLI for Apps, described in [Legacy App Project Structure](https://dev.wix.com/docs/wix-cli/legacy-clis/legacy-wix-cli-for-apps/project-structure/legacy-app-project-structure.md) | `wix.config.json` | `@wix/cli-app` |

> **Note:** Both the Astro-based and the new structure have `src/extensions.ts`, so its presence rules out the legacy Wix CLI for Apps but doesn't distinguish between the other two.

## Move to the new structure

Both earlier structures have a migration path to the new Wix CLI. To choose yours, see [About Migrating an App to the New Wix CLI](https://dev.wix.com/docs/build-apps/develop-your-app/develop-an-app-with-the-cli/migrate-an-app-to-the-new-cli/about-migrating-an-app-to-the-new-wix-cli.md).