@wix/agent-skills 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/package.json +29 -0
  4. package/skills/wix-app/SKILL.md +344 -0
  5. package/skills/wix-app/references/APP_IDENTIFIERS.md +35 -0
  6. package/skills/wix-app/references/APP_MARKET_REVIEW.md +311 -0
  7. package/skills/wix-app/references/APP_VALIDATION.md +171 -0
  8. package/skills/wix-app/references/BACKEND_API.md +233 -0
  9. package/skills/wix-app/references/BACKEND_EVENT.md +116 -0
  10. package/skills/wix-app/references/CODE_QUALITY.md +33 -0
  11. package/skills/wix-app/references/CUSTOM_ELEMENT_WIDGET.md +587 -0
  12. package/skills/wix-app/references/DASHBOARD_MENU_PLUGIN.md +157 -0
  13. package/skills/wix-app/references/DASHBOARD_MODAL.md +283 -0
  14. package/skills/wix-app/references/DASHBOARD_PAGE.md +403 -0
  15. package/skills/wix-app/references/DASHBOARD_PLUGIN.md +205 -0
  16. package/skills/wix-app/references/DATA_COLLECTION.md +451 -0
  17. package/skills/wix-app/references/DOCUMENTATION.md +42 -0
  18. package/skills/wix-app/references/EDITOR_REACT_COMPONENT.md +65 -0
  19. package/skills/wix-app/references/EMBEDDED_SCRIPT.md +468 -0
  20. package/skills/wix-app/references/EXTENSION_REGISTRATION.md +96 -0
  21. package/skills/wix-app/references/SERVICE_PLUGIN.md +235 -0
  22. package/skills/wix-app/references/SITE_PLUGIN.md +436 -0
  23. package/skills/wix-app/references/STORES_VERSIONING.md +334 -0
  24. package/skills/wix-app/references/backend-event/COMMON-EVENTS.md +84 -0
  25. package/skills/wix-app/references/custom-element-widget/SETTINGS_PANEL.md +345 -0
  26. package/skills/wix-app/references/dashboard-menu-plugin/blog-slots.md +71 -0
  27. package/skills/wix-app/references/dashboard-menu-plugin/bookings-slots.md +58 -0
  28. package/skills/wix-app/references/dashboard-menu-plugin/crm-slots.md +8 -0
  29. package/skills/wix-app/references/dashboard-menu-plugin/ecommerce-slots.md +17 -0
  30. package/skills/wix-app/references/dashboard-menu-plugin/events-slots.md +29 -0
  31. package/skills/wix-app/references/dashboard-menu-plugin/restaurants-slots.md +27 -0
  32. package/skills/wix-app/references/dashboard-menu-plugin/stores-slots.md +35 -0
  33. package/skills/wix-app/references/dashboard-page/API_SPEC.md +138 -0
  34. package/skills/wix-app/references/dashboard-page/DASHBOARD_API.md +573 -0
  35. package/skills/wix-app/references/dashboard-page/DYNAMIC_PARAMETERS.md +269 -0
  36. package/skills/wix-app/references/dashboard-page/ECOM_NAVIGATION.md +164 -0
  37. package/skills/wix-app/references/dashboard-plugin/SLOTS.md +294 -0
  38. package/skills/wix-app/references/data-collection/WIX_DATA.md +270 -0
  39. package/skills/wix-app/references/data-collection/extension-template.ts +107 -0
  40. package/skills/wix-app/references/editor-react-component/ACCESSIBILITY.md +138 -0
  41. package/skills/wix-app/references/editor-react-component/COMPONENT-API.md +454 -0
  42. package/skills/wix-app/references/editor-react-component/COMPONENT-CONFIGURATION.md +165 -0
  43. package/skills/wix-app/references/editor-react-component/CSS-GUIDELINES.md +576 -0
  44. package/skills/wix-app/references/editor-react-component/DIRECTIONALITY.md +170 -0
  45. package/skills/wix-app/references/editor-react-component/EDIT-FLOW.md +6 -0
  46. package/skills/wix-app/references/editor-react-component/PARTS.md +25 -0
  47. package/skills/wix-app/references/editor-react-component/PROPS-VS-CSS.md +203 -0
  48. package/skills/wix-app/references/editor-react-component/REACT-GUIDELINES.md +167 -0
  49. package/skills/wix-app/references/editor-react-component/REACT-PATTERNS.md +137 -0
  50. package/skills/wix-app/references/service-plugin/ADDITIONAL-FEES.md +112 -0
  51. package/skills/wix-app/references/service-plugin/BOOKINGS-STAFF-SORTING.md +118 -0
  52. package/skills/wix-app/references/service-plugin/DISCOUNT-TRIGGERS.md +87 -0
  53. package/skills/wix-app/references/service-plugin/GIFT-CARDS.md +86 -0
  54. package/skills/wix-app/references/service-plugin/PAYMENT-SETTINGS.md +135 -0
  55. package/skills/wix-app/references/service-plugin/SHIPPING-RATES.md +79 -0
  56. package/skills/wix-app/references/service-plugin/VALIDATIONS.md +68 -0
  57. package/skills/wix-app/references/site-plugin/EXAMPLES.md +311 -0
  58. package/skills/wix-app/references/site-plugin/SLOTS.md +263 -0
  59. package/skills/wix-design-system/SKILL.md +129 -0
  60. package/skills/wix-design-system/references/file-structure.md +56 -0
  61. package/skills/wix-design-system/scripts/wds.cjs +531 -0
  62. package/skills/wix-headless/SKILL.md +418 -0
  63. package/skills/wix-headless/references/DISCOVERY.md +332 -0
  64. package/skills/wix-headless/references/ORCHESTRATION.md +269 -0
  65. package/skills/wix-headless/references/SETUP.md +154 -0
  66. package/skills/wix-headless/references/blog/BLOG_CONTENT.md +152 -0
  67. package/skills/wix-headless/references/blog/BLOG_PAGES.md +299 -0
  68. package/skills/wix-headless/references/blog/BLOG_SETUP.md +218 -0
  69. package/skills/wix-headless/references/blog/INSTRUCTIONS.md +32 -0
  70. package/skills/wix-headless/references/cms/CMS_FOUNDATIONS.md +373 -0
  71. package/skills/wix-headless/references/cms/FAQ_KNOWLEDGE_BASE.md +229 -0
  72. package/skills/wix-headless/references/cms/INSTRUCTIONS.md +40 -0
  73. package/skills/wix-headless/references/cms/PORTFOLIO.md +454 -0
  74. package/skills/wix-headless/references/cms/RESOURCE_LIBRARY.md +356 -0
  75. package/skills/wix-headless/references/cms/TEAM_DIRECTORY.md +299 -0
  76. package/skills/wix-headless/references/commands/install-app.md +42 -0
  77. package/skills/wix-headless/references/commands/known-apps.json +5 -0
  78. package/skills/wix-headless/references/commands/mcp-bootstrap.md +28 -0
  79. package/skills/wix-headless/references/designer/INSTRUCTIONS.md +828 -0
  80. package/skills/wix-headless/references/ecom/CART_PAGES.md +120 -0
  81. package/skills/wix-headless/references/ecom/CART_WIRING.md +103 -0
  82. package/skills/wix-headless/references/ecom/COMPONENTS_CSS.md +132 -0
  83. package/skills/wix-headless/references/ecom/INSTRUCTIONS.md +59 -0
  84. package/skills/wix-headless/references/forms/CONTACT_FORM.md +477 -0
  85. package/skills/wix-headless/references/forms/INSTRUCTIONS.md +43 -0
  86. package/skills/wix-headless/references/gift-cards/COMPONENTS.md +119 -0
  87. package/skills/wix-headless/references/gift-cards/INSTRUCTIONS.md +51 -0
  88. package/skills/wix-headless/references/gift-cards/PAGES.md +129 -0
  89. package/skills/wix-headless/references/images/INSTRUCTIONS.md +359 -0
  90. package/skills/wix-headless/references/shared/BUILD_NOISE.md +8 -0
  91. package/skills/wix-headless/references/shared/IMAGE_GENERATION.md +185 -0
  92. package/skills/wix-headless/references/shared/IMPLEMENTER.md +155 -0
  93. package/skills/wix-headless/references/shared/MCP_PREFIX.md +105 -0
  94. package/skills/wix-headless/references/shared/PRODUCTION_SHARP_EDGES.md +97 -0
  95. package/skills/wix-headless/references/shared/RETURN_CONTRACT.md +423 -0
  96. package/skills/wix-headless/references/shared/STYLING.md +117 -0
  97. package/skills/wix-headless/references/stores/BACK_IN_STOCK.md +178 -0
  98. package/skills/wix-headless/references/stores/CATEGORY_PAGES.md +86 -0
  99. package/skills/wix-headless/references/stores/COMPONENTS_CSS.md +129 -0
  100. package/skills/wix-headless/references/stores/HOME_AND_NAV.md +227 -0
  101. package/skills/wix-headless/references/stores/INSTRUCTIONS.md +96 -0
  102. package/skills/wix-headless/references/stores/PRODUCT_CATALOG_DATA.md +249 -0
  103. package/skills/wix-headless/references/stores/PRODUCT_PAGES.md +213 -0
  104. package/skills/wix-headless/references/stores/SHARED_WIRING.md +164 -0
  105. package/skills/wix-headless/references/verticals/_schema.json +160 -0
  106. package/skills/wix-headless/references/verticals/_schema.md +185 -0
  107. package/skills/wix-headless/references/verticals/blog.md +125 -0
  108. package/skills/wix-headless/references/verticals/cms.md +121 -0
  109. package/skills/wix-headless/references/verticals/ecom.md +96 -0
  110. package/skills/wix-headless/references/verticals/forms.md +106 -0
  111. package/skills/wix-headless/references/verticals/gift-cards.md +121 -0
  112. package/skills/wix-headless/references/verticals/stores.md +167 -0
  113. package/skills/wix-headless/scripts/check-manifest.mjs +198 -0
  114. package/skills/wix-headless/scripts/copy-utility-templates.mjs +153 -0
  115. package/skills/wix-headless/scripts/emit-design-tokens.mjs +77 -0
  116. package/skills/wix-headless/scripts/finalize-run-json.mjs +141 -0
  117. package/skills/wix-headless/scripts/init-site-json.mjs +63 -0
  118. package/skills/wix-headless/scripts/patch-decorative-slots.mjs +124 -0
  119. package/skills/wix-headless/scripts/plan-entity-image-waves.mjs +190 -0
  120. package/skills/wix-headless/scripts/preview.sh +45 -0
  121. package/skills/wix-headless/scripts/release.sh +73 -0
  122. package/skills/wix-headless/scripts/scaffold.sh +53 -0
  123. package/skills/wix-headless/scripts/seed-utilities.sh +55 -0
  124. package/skills/wix-headless/shared-utilities/analytics.ts +40 -0
  125. package/skills/wix-headless/shared-utilities/ricos.ts +179 -0
  126. package/skills/wix-headless/shared-utilities/wix-image.ts +72 -0
  127. package/skills/wix-headless/templates/ecom/CartBadge.tsx +84 -0
  128. package/skills/wix-headless/templates/ecom/CartView.tsx +543 -0
  129. package/skills/wix-headless/templates/ecom/cart.astro +13 -0
  130. package/skills/wix-headless/templates/ecom/components-ecom.css +215 -0
  131. package/skills/wix-headless/templates/ecom/discounts.ts +71 -0
  132. package/skills/wix-headless/templates/ecom/thank-you.astro +24 -0
  133. package/skills/wix-headless/templates/gift-cards/GiftCardPurchase.tsx +172 -0
  134. package/skills/wix-headless/templates/gift-cards/_home-teaser-snippet.astro +42 -0
  135. package/skills/wix-headless/templates/gift-cards/_nav-snippet.astro +11 -0
  136. package/skills/wix-headless/templates/gift-cards/components-gift-cards.css +219 -0
  137. package/skills/wix-headless/templates/gift-cards/gift-cards.astro +51 -0
  138. package/skills/wix-headless/templates/gift-cards/gift-cards.ts +75 -0
  139. package/skills/wix-headless/templates/stores/AddToCartButton.tsx +77 -0
  140. package/skills/wix-headless/templates/stores/BackInStockForm.tsx +176 -0
  141. package/skills/wix-headless/templates/stores/CategoryRail.astro +69 -0
  142. package/skills/wix-headless/templates/stores/ProductCard.astro +79 -0
  143. package/skills/wix-headless/templates/stores/ProductPurchase.tsx +397 -0
  144. package/skills/wix-headless/templates/stores/SeoTags.astro +21 -0
  145. package/skills/wix-headless/templates/stores/back-in-stock.ts +67 -0
  146. package/skills/wix-headless/templates/stores/categories.ts +155 -0
  147. package/skills/wix-headless/templates/stores/category/[slug].astro +130 -0
  148. package/skills/wix-headless/templates/stores/components-stores.css +295 -0
  149. package/skills/wix-headless/templates/stores/products/[slug].astro +128 -0
  150. package/skills/wix-headless/templates/stores/products/index.astro +101 -0
  151. package/skills/wix-manage/SKILL.md +280 -0
  152. package/skills/wix-manage/references/app-installation/install-wix-apps.md +155 -0
  153. package/skills/wix-manage/references/app-installation/list-installed-apps.md +124 -0
  154. package/skills/wix-manage/references/blog/how-to-create-blog-posts.md +226 -0
  155. package/skills/wix-manage/references/bookings/booking-service-policy-setup.md +95 -0
  156. package/skills/wix-manage/references/bookings/booking-system-integration-gaps.md +416 -0
  157. package/skills/wix-manage/references/bookings/bookings-staff-setup.md +255 -0
  158. package/skills/wix-manage/references/bookings/create-and-update-booking-services.md +462 -0
  159. package/skills/wix-manage/references/bookings/end-to-end-booking-flow.md +278 -0
  160. package/skills/wix-manage/references/bookings/external-calendar-integration.md +258 -0
  161. package/skills/wix-manage/references/bookings/multi-resource-service-creation.md +231 -0
  162. package/skills/wix-manage/references/calendar/configure-default-business-hours.md +226 -0
  163. package/skills/wix-manage/references/cms/cms-data-items-crud.md +422 -0
  164. package/skills/wix-manage/references/cms/cms-data-operations-extended.md +263 -0
  165. package/skills/wix-manage/references/cms/cms-ecommerce-catalog-integration.md +136 -0
  166. package/skills/wix-manage/references/cms/cms-references-and-relationships.md +160 -0
  167. package/skills/wix-manage/references/cms/cms-schema-management.md +143 -0
  168. package/skills/wix-manage/references/contacts/bulk-delete-contacts.md +73 -0
  169. package/skills/wix-manage/references/contacts/bulk-label-and-unlabel-contacts.md +67 -0
  170. package/skills/wix-manage/references/domains/domain-search-and-purchase.md +434 -0
  171. package/skills/wix-manage/references/ecommerce/api-recommendation-tracking.md +420 -0
  172. package/skills/wix-manage/references/ecommerce/flow-add-free-shipping.md +267 -0
  173. package/skills/wix-manage/references/ecommerce/flow-bundle-and-save.md +290 -0
  174. package/skills/wix-manage/references/ecommerce/flow-fix-coverage-gaps.md +300 -0
  175. package/skills/wix-manage/references/ecommerce/flow-optimize-shipping-rates.md +364 -0
  176. package/skills/wix-manage/references/ecommerce/flow-seasonal-promotion.md +315 -0
  177. package/skills/wix-manage/references/ecommerce/flow-stock-mover.md +308 -0
  178. package/skills/wix-manage/references/ecommerce/flow-upsell-boost.md +271 -0
  179. package/skills/wix-manage/references/ecommerce/goal-clear-inventory.md +118 -0
  180. package/skills/wix-manage/references/ecommerce/goal-drive-cross-sells.md +122 -0
  181. package/skills/wix-manage/references/ecommerce/goal-increase-aov.md +132 -0
  182. package/skills/wix-manage/references/ecommerce/goal-reduce-cart-abandonment.md +148 -0
  183. package/skills/wix-manage/references/ecommerce/goal-seasonal-revenue.md +146 -0
  184. package/skills/wix-manage/references/ecommerce/guardrail-discount-conflicts.md +118 -0
  185. package/skills/wix-manage/references/ecommerce/guardrail-margin-protection.md +88 -0
  186. package/skills/wix-manage/references/ecommerce/guardrail-rate-pricing-sanity.md +108 -0
  187. package/skills/wix-manage/references/ecommerce/guardrail-shipping-health.md +124 -0
  188. package/skills/wix-manage/references/ecommerce/recipe-apply-shipping-recommendations.md +299 -0
  189. package/skills/wix-manage/references/ecommerce/recommend-ecommerce-strategy.md +582 -0
  190. package/skills/wix-manage/references/ecommerce/setup-coupons.md +338 -0
  191. package/skills/wix-manage/references/ecommerce/setup-discount-rules.md +444 -0
  192. package/skills/wix-manage/references/ecommerce/setup-shipping-rates.md +86 -0
  193. package/skills/wix-manage/references/ecommerce/setup-shipping-regions.md +56 -0
  194. package/skills/wix-manage/references/ecommerce/setup-store-pickup-location.md +209 -0
  195. package/skills/wix-manage/references/ecommerce/skill-graph.md +139 -0
  196. package/skills/wix-manage/references/ecommerce/troubleshoot-checkout-delivery-dropoff.md +124 -0
  197. package/skills/wix-manage/references/ecommerce/troubleshoot-discount-not-applying.md +95 -0
  198. package/skills/wix-manage/references/events/list-events.md +203 -0
  199. package/skills/wix-manage/references/forms/create-form.md +260 -0
  200. package/skills/wix-manage/references/get-paid/create-payment-links.md +212 -0
  201. package/skills/wix-manage/references/get-paid/how-to-setup-wix-payments.md +57 -0
  202. package/skills/wix-manage/references/get-paid/payment-links-for-bookings.md +101 -0
  203. package/skills/wix-manage/references/media/upload-media-to-wix.md +216 -0
  204. package/skills/wix-manage/references/pricing-plans/create-and-update-pricing-plans.md +77 -0
  205. package/skills/wix-manage/references/pricing-plans/pricing-plans-bookings-integration.md +166 -0
  206. package/skills/wix-manage/references/restaurants/wix-restaurants-setup.md +336 -0
  207. package/skills/wix-manage/references/rich-content/ricos-converter-service.md +295 -0
  208. package/skills/wix-manage/references/site-properties/change-payment-currency-site-properties.md +59 -0
  209. package/skills/wix-manage/references/sites/create-site-from-template.md +183 -0
  210. package/skills/wix-manage/references/sites/query-sites.md +125 -0
  211. package/skills/wix-manage/references/stores/add-store-pages-to-site.md +57 -0
  212. package/skills/wix-manage/references/stores/bulk-create-products-with-options.md +1041 -0
  213. package/skills/wix-manage/references/stores/create-product-catalog-v1.md +125 -0
  214. package/skills/wix-manage/references/stores/create-product-from-image.md +824 -0
  215. package/skills/wix-manage/references/stores/create-product-with-options-catalog-v3.md +566 -0
  216. package/skills/wix-manage/references/stores/find-products-query-and-search-catalog-v3.md +194 -0
  217. package/skills/wix-manage/references/stores/query-products-catalog-v1.md +80 -0
  218. package/skills/wix-manage/references/stores/setup-online-store-catalog-v3.md +99 -0
  219. package/skills/wix-manage/references/stores/update-product-pre-order.md +213 -0
  220. package/skills/wix-manage/references/stores/update-product-with-options.md +318 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Wix.com
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,111 @@
1
+ # Wix Skills
2
+
3
+ > ⚠️ **EXPERIMENTAL**: This project is in early development. APIs, skill definitions, and behavior may change without notice. Use at your own risk.
4
+
5
+ Agent skills for building Wix applications with AI coding assistants.
6
+
7
+ > **Note**: These skills are designed for the **new Wix CLI**. See [About the Wix CLI](https://dev.wix.com/docs/wix-cli/guides/about-the-wix-cli) to learn more.
8
+
9
+ ## Installation
10
+
11
+ ### Claude Code Plugin
12
+
13
+ In [Claude Code](https://docs.anthropic.com/en/docs/claude-code), run:
14
+
15
+ ```bash
16
+ /plugin marketplace add wix/skills
17
+ /plugin install wix@wix
18
+ ```
19
+
20
+ ### Codex Plugin
21
+
22
+ In a terminal, register the marketplace:
23
+
24
+ ```bash
25
+ codex plugin marketplace add wix/skills
26
+ ```
27
+
28
+ Then in Codex CLI, run `/plugins`, select **Wix**, and choose **Install Plugin**.
29
+
30
+ ### VS Code Plugin
31
+
32
+ In VS Code, open the Command Palette (`CMD+SHIFT+P`), select **Chat: Install Plugin From Source**, and enter `https://github.com/wix/skills`.
33
+
34
+ ### Cursor Plugin
35
+
36
+ Go to **Settings > Rules > New Rule > Add from Github** with `https://github.com/wix/skills.git`.
37
+
38
+ ### Gemini CLI
39
+
40
+ Install using [Gemini CLI](https://geminicli.com):
41
+
42
+ ```bash
43
+ gemini extensions install https://github.com/wix/skills
44
+ ```
45
+
46
+ ### Skills CLI
47
+
48
+ Install using [skills CLI](https://github.com/vercel-labs/skills):
49
+
50
+ ```bash
51
+ # Install all skills
52
+ npx skills add wix/skills
53
+
54
+ # Install globally
55
+ npx skills add wix/skills -g
56
+ ```
57
+
58
+ ### npm Package (versioned distribution)
59
+
60
+ For Wix-internal infrastructure that needs a pinned, versioned skills snapshot (e.g., App Builder, Studio 2, `@wix/cli`), `@wix/agent-skills` is also published to npm:
61
+
62
+ ```bash
63
+ npm install @wix/agent-skills
64
+ ```
65
+
66
+ The npm package contains the same skill bodies as the GitHub repo but pinned to a specific version. Consumers typically install it as a transitive dependency of `@wix/cli` rather than directly. See [CODEAI-505](https://wix.atlassian.net/browse/CODEAI-505) for context.
67
+
68
+ ## Available Skills
69
+
70
+ | Skill | Purpose | When to Use |
71
+ | ---------------------------------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
72
+ | [wix-app](skills/wix-app/SKILL.md) | Build Wix app extensions | Adding any extension — dashboard pages, site widgets, backend events, service plugins, embedded scripts, data collections, and more |
73
+ | [wix-design-system](skills/wix-design-system/SKILL.md) | Wix Design System reference | Looking up WDS component props, examples, icons |
74
+ | [wix-manage](skills/wix-manage/SKILL.md) | Wix business solution management | REST API operations for configuring and managing Wix business solutions |
75
+ | [wix-headless](skills/wix-headless/SKILL.md) | Build a complete Wix Managed Headless site | Building a new site end-to-end from a single prompt — discovery, design, feature wiring, and preview |
76
+
77
+ ## Supported Agents
78
+
79
+ These skills work with any agent that supports the [Agent Skills specification](https://github.com/vercel-labs/add-skill):
80
+
81
+ - Cursor
82
+ - Claude Code
83
+ - Gemini CLI
84
+ - Codex CLI
85
+ - GitHub Copilot
86
+ - Windsurf
87
+ - And [many more](https://github.com/vercel-labs/add-skill#available-agents)
88
+
89
+ ## Versioning
90
+
91
+ `@wix/agent-skills` follows semver. Bumps target **AI-generated-code stability** — i.e., whether a change could cause an agent using these skills to produce broken code on the previous-major `wix-cli`:
92
+
93
+ | Bump | Examples |
94
+ | --- | --- |
95
+ | **patch** | Wording fix, typo, link update, clarification of existing guidance |
96
+ | **minor** | New skill added, new section in an existing skill, additive guidance for a non-breaking `wix-cli` feature |
97
+ | **major** | Skill rename/removal, rewrite of guidance for a deprecated `wix-cli` API, anything that would cause AI-generated code to fail on the previous-major `wix-cli` |
98
+
99
+ When a major bump is required (a breaking change in the underlying `wix-cli`), the previous major continues on a `release/<N>.x` maintenance branch and receives backports for genuine bugs only — no new features.
100
+
101
+ ## Releasing
102
+
103
+ Releases run via the [`release` GitHub Actions workflow](.github/workflows/release.yml) using npm Trusted Publishing (no stored tokens). Triggered manually from the **Actions** tab: pick `version_strategy` and optionally `dry_run`. Modeled on [`wix/interact`](https://github.com/wix/interact/blob/master/.github/workflows/release-interact.yml)'s setup.
104
+
105
+ ## Contributing
106
+
107
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on adding new skills.
108
+
109
+ ## License
110
+
111
+ MIT
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@wix/agent-skills",
3
+ "version": "1.0.0",
4
+ "description": "Wix Skills for AI coding agents — versioned npm distribution of the wix/skills content.",
5
+ "license": "MIT",
6
+ "homepage": "https://github.com/wix/skills",
7
+ "bugs": {
8
+ "url": "https://github.com/wix/skills/issues"
9
+ },
10
+ "files": [
11
+ "skills/**",
12
+ "README.md",
13
+ "LICENSE"
14
+ ],
15
+ "scripts": {
16
+ "test": "echo \"no tests\" && exit 0"
17
+ },
18
+ "publishConfig": {
19
+ "registry": "https://registry.npmjs.org/",
20
+ "access": "public"
21
+ },
22
+ "wix": {
23
+ "artifact": {
24
+ "groupId": "com.wixpress.npm",
25
+ "artifactId": "agent-skills"
26
+ }
27
+ },
28
+ "falconPackageHash": "24f06f88a88f4df43f1a968af062b6ce06d39ba2dc0f48c2bdcc69c1"
29
+ }
@@ -0,0 +1,344 @@
1
+ ---
2
+ name: wix-app
3
+ description: "Build and review Wix CLI app extensions — dashboard pages, modals, plugins, menu plugins, custom element widgets, Editor React components, site plugins, embedded scripts, backend APIs, backend events, service plugins, data collections, and App Market readiness. Use when building ANY feature or extension for a Wix CLI app or preparing a Wix app for App Market review. Triggers on: add, build, create, implement, help me, dashboard, widget, plugin, backend, API, event, collection, embedded script, service plugin, Editor React component, checkout, shipping, tax, discount, SPI, CMS, schema, tracking, popup, admin panel, menu item, modal, validate, test, verify, register extension, App Market, app review, submission readiness."
4
+ compatibility: Requires Wix CLI development environment.
5
+ ---
6
+
7
+ # Wix App Builder
8
+
9
+ Helps build extensions for Wix CLI applications. Covers all extension types: dashboard pages, modals, plugins, menu plugins, custom element widgets, Editor React components, site plugins, embedded scripts, backend APIs, events, service plugins, and data collections.
10
+
11
+ ## ⚠️ MANDATORY WORKFLOW CHECKLIST ⚠️
12
+
13
+ **Before reporting completion to the user, ALL boxes MUST be checked:**
14
+
15
+ - [ ] **Step 1:** Determined extension type(s) needed
16
+ - [ ] Asked clarifying questions if requirements were unclear
17
+ - [ ] Checked for implicit Data Collection need — unless user provided a collection ID directly (see [Data Collection Inference](#data-collection-inference))
18
+ - [ ] Obtained app namespace if Data Collection extension is being created
19
+ - [ ] Determined full scoped collection IDs if Data Collection extension is being created (see [Collection ID Coordination](#collection-id-coordination))
20
+ - [ ] Explained recommendation with reasoning
21
+ - [ ] **Step 2:** Read extension reference file(s) for the chosen type(s) and the project-wide [CODE_QUALITY.md](references/CODE_QUALITY.md)
22
+ - [ ] **Step 3:** Checked API references; used MCP discovery only for gaps
23
+ - [ ] **Step 4:** Implemented all extensions
24
+ - [ ] All files created
25
+ - [ ] Extension(s) registered in extensions.ts
26
+ - [ ] Invoked `wix-design-system` skill ONLY before writing the first `.tsx`/`.jsx` file that imports `@wix/design-system`. Skip this skill entirely for backend-only or data-only extensions.
27
+ - [ ] **Step 5:** Ran validation (see [Validation](#validation))
28
+ - [ ] Dependencies installed
29
+ - [ ] TypeScript compiled
30
+ - [ ] Build succeeded
31
+ - [ ] Preview deployed
32
+ - [ ] **Step 6:** Collected and presented ALL manual action items to user
33
+
34
+ **🛑 STOP:** If any box is unchecked, do NOT proceed to the next step.
35
+
36
+ ---
37
+
38
+ ## ❌ ANTI-PATTERNS (DO NOT DO)
39
+
40
+ | ❌ WRONG | ✅ CORRECT |
41
+ | ------------------------------------------- | ---------------------------------------------- |
42
+ | Implementing without reading the extension reference | Always read the relevant reference file first |
43
+ | Using MCP discovery without checking refs | Check reference files first |
44
+ | Reporting done without validation | Always run validation at the end |
45
+ | Letting manual action items get buried | Aggregate all manual steps at the very end |
46
+
47
+ ---
48
+
49
+ ## Quick Decision Helper
50
+
51
+ 1. **What are you trying to build?**
52
+ - Admin interface → Dashboard Extensions
53
+ - Backend logic → Backend Extensions
54
+ - Data storage / CMS collections → Data Collection
55
+ - Editor React component → Site Extensions (app projects only)
56
+
57
+ 2. **Who will see it?**
58
+ - Admin users only → Dashboard Extensions
59
+ - Site visitors → Site Extensions
60
+ - Server-side only → Backend Extensions
61
+
62
+ 3. **Where will it appear?**
63
+ - Dashboard sidebar/page → Dashboard Page or Modal
64
+ - Existing Wix app dashboard (widget) → Dashboard Plugin
65
+ - Existing Wix app dashboard (menu item) → Dashboard Menu Plugin
66
+ - Anywhere on site → custom element widget
67
+ - Anywhere on site (with editor manifest) → Editor React component
68
+ - Wix business solution page → Site Plugin
69
+ - During business flow → Service Plugin
70
+ - After event occurs → Backend Event Extension
71
+
72
+ ## Decision Flow (Not sure?)
73
+
74
+ - **Admin:** Need full-page UI? → Dashboard Page. Need popup/form? → Dashboard Modal. Extending Wix app dashboard with a visual widget? → Dashboard Plugin. Adding a menu item to a Wix app dashboard's more-actions or bulk-actions menu? → Dashboard Menu Plugin. **Modal constraint:** Dashboard Pages cannot use `<Modal />`; use a separate Dashboard Modal extension and `dashboard.openModal()`.
75
+ - **Backend:** During business flow (checkout/shipping/tax)? → Service Plugin. After event (webhooks/sync)? → Backend Event Extension. Custom HTTP endpoints? → Backend API. Need CMS collections for app data? → Data Collection.
76
+ - **Site:** User places anywhere (standalone)? → custom element widget. Editor React component with editor manifest (styling, content, elements)? → Editor React component. Fixed slot on Wix app page? → Site Plugin. Scripts/analytics only? → Embedded Script.
77
+
78
+ ---
79
+
80
+ ## Extension Types Reference Table
81
+
82
+ | Extension Type | Category | Visibility | Use When | Reference File |
83
+ | --------------------- | --------- | ----------- | ------------------------------------- | ------------------------------------------------------- |
84
+ | Dashboard Page | Dashboard | Admin only | Full admin pages | [DASHBOARD_PAGE.md](references/DASHBOARD_PAGE.md) |
85
+ | Dashboard Modal | Dashboard | Admin only | Popup dialogs | [DASHBOARD_MODAL.md](references/DASHBOARD_MODAL.md) |
86
+ | Dashboard Plugin | Dashboard | Admin only | Extend Wix app dashboards | [DASHBOARD_PLUGIN.md](references/DASHBOARD_PLUGIN.md) |
87
+ | Dashboard Menu Plugin | Dashboard | Admin only | Add menu items to Wix app dashboards | [DASHBOARD_MENU_PLUGIN.md](references/DASHBOARD_MENU_PLUGIN.md) |
88
+ | Service Plugin | Backend | Server-side | Customize business flows | [SERVICE_PLUGIN.md](references/SERVICE_PLUGIN.md) |
89
+ | Backend Event Extension | Backend | Server-side | React to events | [BACKEND_EVENT.md](references/BACKEND_EVENT.md) |
90
+ | Backend API | Backend | API | Custom HTTP handlers | [BACKEND_API.md](references/BACKEND_API.md) |
91
+ | Data Collection | Backend | Data | CMS collections for app data | [DATA_COLLECTION.md](references/DATA_COLLECTION.md) |
92
+ | Editor React component | Site | Public | Editor React components with editor manifests | [EDITOR_REACT_COMPONENT.md](references/EDITOR_REACT_COMPONENT.md) |
93
+ | Custom element widget | Site | Public | Standalone widgets | [CUSTOM_ELEMENT_WIDGET.md](references/CUSTOM_ELEMENT_WIDGET.md) |
94
+ | Site Plugin | Site | Public | Extend Wix business solutions | [SITE_PLUGIN.md](references/SITE_PLUGIN.md) |
95
+ | Embedded Script | Site | Public | Inject scripts/analytics | [EMBEDDED_SCRIPT.md](references/EMBEDDED_SCRIPT.md) |
96
+ **Key constraints:**
97
+ - Dashboard Page cannot use `<Modal />`; use a separate Dashboard Modal and `dashboard.openModal()`.
98
+
99
+ ## Extension Comparison
100
+
101
+ | Custom element widget vs Editor React component vs Site Plugin | Dashboard Page vs Modal | Service Plugin vs Event |
102
+ | -------------------------------------------------------------- | ----------------------- | ----------------------- |
103
+ | Custom element widget: standalone interactive component. Editor React component: React with editor manifest (CSS/data/elements). Plugin: fixed slot in Wix app page. | Page: full page. Modal: overlay; use for popups. | Service: during flow. Event: after event. |
104
+
105
+ ---
106
+
107
+ ## Cross-Cutting References
108
+
109
+ | Topic | Reference |
110
+ | --- | --- |
111
+ | Code Quality Requirements (applies to all generated code) | [CODE_QUALITY.md](references/CODE_QUALITY.md) |
112
+ | Extension Registration | [EXTENSION_REGISTRATION.md](references/EXTENSION_REGISTRATION.md) |
113
+ | App Validation | [APP_VALIDATION.md](references/APP_VALIDATION.md) |
114
+ | App Market Review | [APP_MARKET_REVIEW.md](references/APP_MARKET_REVIEW.md) |
115
+ | App Identifiers (Namespace, Code ID) | [APP_IDENTIFIERS.md](references/APP_IDENTIFIERS.md) |
116
+ | Wix Stores Versioning (V1/V3) | [STORES_VERSIONING.md](references/STORES_VERSIONING.md) |
117
+ | Official Documentation Links | [DOCUMENTATION.md](references/DOCUMENTATION.md) |
118
+
119
+ ---
120
+
121
+ ## Data Collection Inference
122
+
123
+ **CRITICAL:** Data collections are often needed implicitly — don't wait for the user to explicitly say "create a CMS collection." Infer the need automatically.
124
+
125
+ **Skip this section if the user provides a collection ID directly** (e.g., an existing site-level collection). In that case, use the provided ID as-is — no Data Collection extension or namespace scoping needed.
126
+
127
+ **Always include a Data Collection extension when ANY of these are true:**
128
+
129
+ | Indicator | Example |
130
+ | --- | --- |
131
+ | User mentions saving/storing/persisting app-specific data | "save the fee amount", "store product recommendations" |
132
+ | A dashboard page will **manage** (CRUD) domain entities | "dashboard to manage fees", "admin page to edit rules" |
133
+ | A service plugin reads app-configured data at runtime | "fetch fee rules at checkout", "look up shipping rates" |
134
+ | User mentions "dedicated database/collection" | "save in a dedicated database collection" |
135
+ | Multiple extensions reference the same custom data | Dashboard manages fees + service plugin reads fees |
136
+
137
+ **Why this matters:** Without the Data Collection extension, the collection won't be created when the app is installed, the Wix Data APIs may not work (code editor not enabled), and collection IDs won't be properly scoped to the app namespace.
138
+
139
+ **If data collection is inferred, follow the [App Namespace Requirement](#app-namespace-requirement) to obtain the namespace before proceeding.**
140
+
141
+ ### App Namespace Requirement
142
+
143
+ When creating a Data Collection, you MUST ask the user for their app namespace from Wix Dev Center. This is a required parameter that must be obtained from the user's Dev Center dashboard and cannot be recommended or guessed.
144
+
145
+ If the user hasn't provided their app namespace, read [APP_IDENTIFIERS.md](references/APP_IDENTIFIERS.md) and give the user the instructions to obtain it.
146
+
147
+ ### Collection ID Coordination
148
+
149
+ **Applies ONLY when a Data Collection extension is being created.** If the user provides a collection ID directly, use it as-is — no namespace scoping, no Data Collection extension needed.
150
+
151
+ When a Data Collection is created alongside other extensions that reference the same collections:
152
+
153
+ 1. **Get the app namespace** (see App Namespace Requirement above)
154
+ 2. **Determine the `idSuffix`** for each collection (the Data Collection reference documents the full ID format)
155
+ 3. **Use the full scoped collection ID** (`<app-namespace>/<idSuffix>`) in all extensions that reference the collection via Wix Data API calls
156
+
157
+ ---
158
+
159
+ ## Wix Stores Versioning Requirement
160
+
161
+ **Applies when ANY Wix Stores API is used** (products, inventory, orders, etc.):
162
+
163
+ 1. **Read the Stores Versioning reference** — see [STORES_VERSIONING.md](references/STORES_VERSIONING.md). It contains the module map, permissions cheatsheet, copy-paste dual-catalog recipes (list/get/create/update/delete products, inventory, categories), the V1→V3 field map, webhook mapping, and the major V3 gotchas. **Use it before searching SDK docs** — it covers the common 80%.
164
+ 2. **All Stores operations must check catalog version first** using `getCatalogVersion()`
165
+ 3. **Use the correct module** based on version: `productsV3` (V3) vs `products` (V1)
166
+ 4. **Apps MUST support both V1 and V3** — single-version apps cannot list in the App Market and break on new sites
167
+ 5. **Request both V1 and V3 permission scopes** for every Stores operation
168
+
169
+ This is non-negotiable — V1 and V3 are NOT backwards compatible.
170
+
171
+ ---
172
+
173
+ ## App Market Review
174
+
175
+ **Applies when a user wants to submit their app to the Wix App Market, list it publicly, prepare for App Market review, audit decline risk, or fix App Market review feedback.** Not needed for private apps or routine version releases.
176
+
177
+ Read [APP_MARKET_REVIEW.md](references/APP_MARKET_REVIEW.md) — it contains the full technical checklist, implementation notes with Wix doc links, and the review taxonomy IDs for traceability.
178
+
179
+ ---
180
+
181
+ ## Implementation Workflow
182
+
183
+ ### Step 1: Ask Clarifying Questions (if needed)
184
+
185
+ Only ask for configuration values when **absolutely necessary** for the implementation to proceed. If a value can be configured later or added as a manual step, don't block on it.
186
+
187
+ If unclear on approach (placement, visibility, configuration, integration), ask clarifying questions. If the answer could change the extension type, wait for the response before proceeding. Otherwise, proceed with the best-fit extension type.
188
+
189
+ ### Step 2: Make Your Recommendation
190
+
191
+ Use the Extension Types Reference Table and decision content above. State extension type and brief reasoning (placement, functionality, integration).
192
+
193
+ ### Step 3: Read Extension Reference, Check API References, Then Discover (if needed)
194
+
195
+ **Workflow: Read extension reference → Check API references → Use MCP only for gaps.**
196
+
197
+ 1. **Read the extension reference file** for the chosen extension type from the table above
198
+ 2. **Identify required APIs** from user requirements
199
+ 3. **Check relevant API reference files:**
200
+ - Backend events → `references/backend-event/COMMON-EVENTS.md`
201
+ - Wix Data → `references/data-collection/WIX_DATA.md`
202
+ - Dashboard SDK → `references/dashboard-page/DASHBOARD_API.md`
203
+ - Service Plugin SPIs → `references/service-plugin/*.md`
204
+ 4. **Verify the specific method/event exists** in references
205
+ 5. **ONLY use MCP discovery if NOT found** in reference files
206
+
207
+ **Platform APIs (never discover - in references):**
208
+ - Wix Data, Dashboard SDK, Event SDK (common events), Service Plugin SPIs
209
+
210
+ **Vertical APIs (discover if needed):**
211
+ - Wix Stores (**⚠️ MUST use Stores Versioning reference** — V1/V3 catalog check required), Wix Bookings, Wix Members, Wix Pricing Plans, third-party integrations
212
+
213
+ **Decision table:**
214
+
215
+ | User Requirement | Check References / Discovery Needed? | Reason / Reference File |
216
+ | ------------------------------------ | ------------------------------------ | --------------------------------------------------- |
217
+ | "Display store products" | ✅ YES (MCP discovery) | Wix Stores API — **include Stores Versioning reference** |
218
+ | "Show booking calendar" | ✅ YES (MCP discovery) | Wix Bookings API not in reference files |
219
+ | "Send emails to users" | ✅ YES (MCP discovery) | Wix Triggered Emails not in reference files |
220
+ | "Get member info" | ✅ YES (MCP discovery) | Wix Members API not in reference files |
221
+ | "Listen for cart events" | Check `COMMON-EVENTS.md` | MCP discovery only if event missing in reference |
222
+ | "Store data in collection" | WIX_DATA.md ✅ Found | ❌ Skip discovery (covered by reference) |
223
+ | "Create CMS collections for my app" | Data Collection reference | ❌ Skip discovery (covered by dedicated reference) |
224
+ | "Show dashboard toast" | DASHBOARD_API.md ✅ Found | ❌ Skip discovery |
225
+ | "Show toast / navigate" | DASHBOARD_API.md ✅ Found | ❌ Skip discovery |
226
+ | "UI only (forms, inputs)" | N/A (no external API) | ❌ Skip discovery |
227
+ | "Settings page with form inputs" | N/A (UI only, no external API) | ❌ Skip discovery |
228
+ | "Dashboard page with local state" | N/A (no external API) | ❌ Skip discovery |
229
+
230
+ **MCP Tools for discovery (when needed):**
231
+
232
+ - `SearchWixSDKDocumentation` - SDK methods and APIs (**Always use maxResults: 5**)
233
+ - `ReadFullDocsArticle` - Full documentation when needed (only if search results need more detail)
234
+
235
+ ### Step 4: Implement Extensions
236
+
237
+ Follow the extension reference file to implement each extension. Key rules:
238
+
239
+ - ⚠️ MANDATORY when using WDS: Invoke the `wix-design-system` skill before writing your first `.tsx`/`.jsx` file that imports `@wix/design-system`. Do NOT invoke it preemptively for backend-only or data-only jobs — it adds large content to context that you won't use.
240
+ - ⚠️ MANDATORY when using Data Collections: Use EXACT collection ID from `idSuffix` (case-sensitive). Example: If `idSuffix` is "product-recommendations", use `<app-namespace>/product-recommendations` NOT `productRecommendations`.
241
+ - Register all extensions in `src/extensions.ts` (see [Extension Registration](#extension-registration)).
242
+
243
+ ### Step 5: Run Validation
244
+
245
+ After all implementation is complete, you MUST run validation. See [APP_VALIDATION.md](references/APP_VALIDATION.md) for the complete validation workflow:
246
+
247
+ 1. Package installation (detect package manager, run install)
248
+ 2. TypeScript compilation check (`npx tsc --noEmit`)
249
+ 3. Build validation (`npx wix build`)
250
+ 4. Preview deployment (`npx wix preview`)
251
+
252
+ **Do NOT report completion to the user until validation passes.**
253
+
254
+ If validation fails, fix the errors and re-validate until it passes.
255
+
256
+ ### Step 6: Report Completion
257
+
258
+ Only after validation passes, provide a **concise summary section** at the top of your response:
259
+
260
+ ```markdown
261
+ ## ✅ Implementation Complete
262
+
263
+ [1-2 sentence description of what was built]
264
+
265
+ **Extensions Created:**
266
+ - [Extension 1 Name] - [Brief purpose]
267
+ - [Extension 2 Name] - [Brief purpose]
268
+
269
+ **Build Status:**
270
+ - ✅ Dependencies: [Installed / status message]
271
+ - ✅ TypeScript: [No compilation errors / status]
272
+ - ✅ Build: [Completed successfully / status]
273
+ - ✅/⚠️ Preview: [Running at URL / Failed - reason]
274
+
275
+ **⚠️ IMPORTANT: [X] manual step(s) required to complete setup** (see "Manual Steps Required" section below)
276
+ ```
277
+
278
+ - If there are NO manual steps, state: "✅ No manual steps required — you're ready to go!"
279
+
280
+ ### Step 7: Surface Manual Action Items
281
+
282
+ Present any manual steps the user must perform (e.g., configuring settings in the Wix dashboard, enabling permissions, setting up external services).
283
+
284
+ **Format:**
285
+
286
+ ```markdown
287
+ ## 🔧 Manual Steps Required
288
+
289
+ The following actions need to be done manually by you:
290
+
291
+ ### 1. [Action Category/Title]
292
+ [Detailed description with specific instructions]
293
+
294
+ ### 2. [Action Category/Title]
295
+ [Detailed description]
296
+ ```
297
+
298
+ ---
299
+
300
+ ## Extension Registration
301
+
302
+ After creating any extension file, you must update the main `src/extensions.ts` file to register the extension with the app. See [EXTENSION_REGISTRATION.md](references/EXTENSION_REGISTRATION.md) for the complete guide.
303
+
304
+ **Quick pattern:**
305
+
306
+ ```typescript
307
+ import { app } from "@wix/astro/builders";
308
+ import { dashboardpageMyPage } from "./extensions/dashboard/pages/my-page/extensions.ts";
309
+ import { embeddedscriptMyScript } from "./extensions/site/embedded-scripts/my-script/extensions.ts";
310
+
311
+ export default app()
312
+ .use(dashboardpageMyPage)
313
+ .use(embeddedscriptMyScript);
314
+ ```
315
+
316
+ Without registration, extensions will not appear or function in the Wix dashboard/editor/site.
317
+
318
+ ---
319
+
320
+ ## Validation
321
+
322
+ Execute these steps sequentially after all implementation is complete. See [APP_VALIDATION.md](references/APP_VALIDATION.md) for the complete guide.
323
+
324
+ 1. **Package Installation** — Detect package manager, run install
325
+ 2. **TypeScript Compilation** — `npx tsc --noEmit`
326
+ 3. **Build** — `npx wix build`
327
+ 4. **Preview** — `npx wix preview`
328
+
329
+ Stop and report errors if any step fails. Check `.wix/debug.log` on failures.
330
+
331
+ ---
332
+
333
+ ## Cost Optimization
334
+
335
+ - **Read extension reference first** — always read the relevant extension reference file before implementing
336
+ - **Check API references first** — read relevant API reference files before using MCP discovery
337
+ - **Skip discovery** when all required APIs are in reference files
338
+ - **maxResults: 5** for all MCP SDK searches
339
+ - **ReadFullDocsArticle** only when search results need more context
340
+ - **Invoke wix-design-system** first when using WDS (prevents import errors)
341
+
342
+ ## Documentation
343
+
344
+ For links to official Wix CLI documentation for all extension types, see [DOCUMENTATION.md](references/DOCUMENTATION.md).
@@ -0,0 +1,35 @@
1
+ # App Identifiers
2
+
3
+ How to obtain required app identifiers from Wix Dev Center.
4
+
5
+ ## App Namespace
6
+
7
+ Required when creating **Data Collections**. Scopes collection IDs to prevent conflicts between apps.
8
+
9
+ ### First, check if you already have an app namespace:
10
+ 1. Go to [Wix Dev Center](https://manage.wix.com/studio/custom-apps/)
11
+ 2. Open your app dashboard
12
+ 3. Click the three dots (...) menu button in the top-right corner (next to "Test App" button)
13
+ 4. Select "View ID & keys" from the dropdown menu
14
+ 5. In the modal that opens, scroll to the bottom to find the "Namespace" field
15
+ 6. If you see a Namespace value, copy it
16
+
17
+ ### If there is no app namespace, create one:
18
+ 1. Go to [Wix Dev Center](https://manage.wix.com/studio/custom-apps/)
19
+ 2. Select your app
20
+ 3. In the left menu, select **Develop > Extensions**
21
+ 4. Click **+ Create Extension** and find the **Data Collections** extension
22
+ 5. Click **+ Create**
23
+ 6. You will be prompted to create an app namespace - follow the prompts to set it up
24
+
25
+ ## Code Identifier
26
+
27
+ Required when creating **Editor React components**. Used as the type prefix for Editor React component extensions (e.g. `type: '<CODE_IDENTIFIER>.ComponentName'`). Every Wix app has one automatically — there is no need to create it.
28
+
29
+ ### How to get the Code Identifier:
30
+ 1. Go to [Wix Dev Center](https://manage.wix.com/studio/custom-apps/)
31
+ 2. Open your app dashboard
32
+ 3. Click the three dots (...) menu button in the top-right corner (next to "Test App" button)
33
+ 4. Select "View ID & keys" from the dropdown menu
34
+ 5. In the modal that opens, find the "Code Identifier" field
35
+ 6. Copy the Code Identifier value