@wix/agent-skills 1.14.0 → 1.15.1

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 (268) hide show
  1. package/README.md +12 -1
  2. package/package.json +1 -1
  3. package/skills/README.md +23 -0
  4. package/skills/wix-app/SKILL.md +10 -2
  5. package/skills/wix-app/references/AUTO_PATTERNS_DASHBOARD.md +326 -0
  6. package/skills/wix-app/references/CODE_QUALITY.md +1 -0
  7. package/skills/wix-app/references/CUSTOM_ELEMENT_WIDGET.md +124 -115
  8. package/skills/wix-app/references/DASHBOARD_PAGE.md +3 -0
  9. package/skills/wix-app/references/DATA_COLLECTION.md +5 -3
  10. package/skills/wix-app/references/EDITOR_REACT_COMPONENT.md +25 -9
  11. package/skills/wix-app/references/SITE_PLUGIN.md +1 -1
  12. package/skills/wix-app/references/STORES_VERSIONING.md +9 -211
  13. package/skills/wix-app/references/auto-patterns-dashboard/action-cell.md +115 -0
  14. package/skills/wix-app/references/auto-patterns-dashboard/app-config-structure.md +264 -0
  15. package/skills/wix-app/references/auto-patterns-dashboard/app-context.md +37 -0
  16. package/skills/wix-app/references/auto-patterns-dashboard/bulk-actions.md +86 -0
  17. package/skills/wix-app/references/auto-patterns-dashboard/collection-page-actions.md +119 -0
  18. package/skills/wix-app/references/auto-patterns-dashboard/collection-page.md +103 -0
  19. package/skills/wix-app/references/auto-patterns-dashboard/custom-actions-override.md +76 -0
  20. package/skills/wix-app/references/auto-patterns-dashboard/custom-columns-override.md +82 -0
  21. package/skills/wix-app/references/auto-patterns-dashboard/custom-components-override.md +89 -0
  22. package/skills/wix-app/references/auto-patterns-dashboard/custom-header-override.md +124 -0
  23. package/skills/wix-app/references/auto-patterns-dashboard/custom-sections-override.md +91 -0
  24. package/skills/wix-app/references/auto-patterns-dashboard/custom-slots-override.md +71 -0
  25. package/skills/wix-app/references/auto-patterns-dashboard/entity-page-actions.md +70 -0
  26. package/skills/wix-app/references/auto-patterns-dashboard/entity-page-view-actions.md +73 -0
  27. package/skills/wix-app/references/auto-patterns-dashboard/entity-page.md +98 -0
  28. package/skills/wix-app/references/auto-patterns-dashboard/example-patterns.json +278 -0
  29. package/skills/wix-app/references/auto-patterns-dashboard/pages-configuration.md +94 -0
  30. package/skills/wix-app/references/auto-patterns-dashboard/resolved-action.md +43 -0
  31. package/skills/wix-app/references/auto-patterns-dashboard/sdk-utilities.md +66 -0
  32. package/skills/wix-app/references/auto-patterns-dashboard/views.md +76 -0
  33. package/skills/wix-app/references/backend-event/COMMON-EVENTS.md +5 -0
  34. package/skills/wix-app/references/editor-react-component/ACCESSIBILITY.md +1 -14
  35. package/skills/wix-app/references/editor-react-component/ANIMATED-COMPONENTS.md +151 -0
  36. package/skills/wix-app/references/editor-react-component/COMPONENT-API.md +54 -29
  37. package/skills/wix-app/references/editor-react-component/COMPONENT-CONFIGURATION.md +2 -2
  38. package/skills/wix-app/references/editor-react-component/COMPONENT-PREVIEW.md +57 -0
  39. package/skills/wix-app/references/editor-react-component/CSS-GUIDELINES.md +23 -105
  40. package/skills/wix-app/references/editor-react-component/DESIGN-STATES.md +127 -0
  41. package/skills/wix-app/references/editor-react-component/PARTS.md +2 -1
  42. package/skills/wix-app/references/editor-react-component/REACT-GUIDELINES.md +18 -16
  43. package/skills/wix-app/references/editor-react-component/REACT-PATTERNS.md +25 -53
  44. package/skills/wix-app/references/stores/CATEGORIES.md +22 -0
  45. package/skills/wix-app/references/stores/GET_PRODUCT.md +99 -0
  46. package/skills/wix-app/references/stores/INVENTORY.md +37 -0
  47. package/skills/wix-app/references/stores/QUERY.md +87 -0
  48. package/skills/wix-app/references/stores/WRITE.md +55 -0
  49. package/skills/wix-app/scripts/generate-auto-patterns.js +510 -0
  50. package/skills/wix-auth/SKILL.md +12 -0
  51. package/skills/wix-auth/references/device-flow.md +140 -0
  52. package/skills/wix-docs/SKILL.md +188 -0
  53. package/skills/wix-docs/references/API_SPEC_SEARCH.md +213 -0
  54. package/skills/wix-docs/references/EXTRACTING.md +120 -0
  55. package/skills/wix-headless/SKILL.md +89 -130
  56. package/skills/wix-headless/entry/bootstrap.mjs +93 -0
  57. package/skills/wix-headless/entry/skill.md +76 -0
  58. package/skills/wix-headless/references/AI_FEATURES.md +178 -0
  59. package/skills/wix-headless/references/CAPABILITIES.md +86 -0
  60. package/skills/wix-headless/references/DISCOVERY.md +34 -56
  61. package/skills/wix-headless/references/DOC_DISCOVERY.md +37 -0
  62. package/skills/wix-headless/references/FEEDBACK.md +129 -0
  63. package/skills/wix-headless/references/IMAGE_GENERATION.md +69 -0
  64. package/skills/wix-headless/references/SDK_HANDOFF.md +99 -0
  65. package/skills/wix-headless/references/SEED.md +45 -187
  66. package/skills/wix-headless/references/SETUP.md +32 -103
  67. package/skills/wix-headless/references/astro.md +98 -0
  68. package/skills/wix-headless/references/inline-recipes/how-to-code-a-blog.md +196 -0
  69. package/skills/wix-headless/references/inline-recipes/how-to-code-a-store.md +236 -0
  70. package/skills/wix-headless/references/inline-recipes/how-to-code-bookings.md +279 -0
  71. package/skills/wix-headless/references/inline-recipes/how-to-code-cms.md +163 -0
  72. package/skills/wix-headless/references/inline-recipes/how-to-code-events.md +203 -0
  73. package/skills/wix-headless/references/inline-recipes/how-to-code-forms.md +222 -0
  74. package/skills/wix-headless/references/inline-recipes/how-to-code-members-astro.md +124 -0
  75. package/skills/wix-headless/references/inline-recipes/how-to-code-members-custom-login.md +160 -0
  76. package/skills/wix-headless/references/inline-recipes/how-to-code-members-non-astro.md +118 -0
  77. package/skills/wix-headless/references/inline-recipes/how-to-code-portfolio.md +132 -0
  78. package/skills/wix-headless/references/inline-recipes/how-to-code-pricing-plans.md +124 -0
  79. package/skills/wix-headless/references/inline-recipes/how-to-code-restaurant-orders.md +188 -0
  80. package/skills/wix-headless/references/inline-recipes/how-to-code-restaurant-reservations.md +213 -0
  81. package/skills/wix-headless/references/inline-recipes/how-to-code-restaurants.md +161 -0
  82. package/skills/wix-headless/references/inline-recipes/setup-blog.md +175 -0
  83. package/skills/wix-headless/references/inline-recipes/setup-bookings.md +232 -0
  84. package/skills/wix-headless/references/inline-recipes/setup-cms.md +200 -0
  85. package/skills/wix-headless/references/inline-recipes/setup-events.md +196 -0
  86. package/skills/wix-headless/references/inline-recipes/setup-forms.md +174 -0
  87. package/skills/wix-headless/references/inline-recipes/setup-online-store.md +192 -0
  88. package/skills/wix-headless/references/inline-recipes/setup-portfolio.md +155 -0
  89. package/skills/wix-headless/references/inline-recipes/setup-pricing-plans.md +229 -0
  90. package/skills/wix-headless/references/inline-recipes/setup-restaurant-experiences.md +73 -0
  91. package/skills/wix-headless/references/inline-recipes/setup-restaurant-orders.md +197 -0
  92. package/skills/wix-headless/references/inline-recipes/setup-restaurant-reservations.md +136 -0
  93. package/skills/wix-headless/references/inline-recipes/setup-restaurants.md +152 -0
  94. package/skills/wix-headless/references/managed/AUTHENTICATION.md +57 -0
  95. package/skills/wix-headless/references/managed/CONNECT.md +74 -0
  96. package/skills/wix-headless/references/managed/CREATE.md +130 -0
  97. package/skills/wix-headless/references/managed/DEPLOYMENT.md +79 -0
  98. package/skills/wix-headless/references/non-astro.md +59 -0
  99. package/skills/wix-headless/references/self-managed/AUTHENTICATION.md +22 -0
  100. package/skills/wix-headless/references/self-managed/DEPLOYMENT.md +15 -0
  101. package/skills/wix-headless/references/stripe/AUTHENTICATION.md +55 -0
  102. package/skills/wix-headless/references/stripe/DEPLOYMENT.md +71 -0
  103. package/skills/wix-manage/SKILL.md +29 -3
  104. package/skills/wix-manage/references/analytics/query-site-analytics.md +298 -0
  105. package/skills/wix-manage/references/app-installation/install-wix-apps.md +3 -0
  106. package/skills/wix-manage/references/bookings/create-and-update-booking-services.md +1 -1
  107. package/skills/wix-manage/references/bookings/create-booking-service-from-prompt.md +6 -5
  108. package/skills/wix-manage/references/bookings/create-course-service.md +30 -5
  109. package/skills/wix-manage/references/bookings/diagnose-availability-issues.md +299 -0
  110. package/skills/wix-manage/references/cms/cms-schema-management.md +6 -0
  111. package/skills/wix-manage/references/get-paid/how-to-setup-wix-payments.md +30 -7
  112. package/skills/wix-manage/references/marketing/create-and-publish-social-post.md +517 -0
  113. package/skills/wix-manage/references/marketing/generate-and-publish-marketing-plan.md +218 -0
  114. package/skills/wix-manage/references/rich-content/author-ricos-rich-content.md +249 -0
  115. package/skills/wix-manage/references/sites/site-import.md +270 -0
  116. package/skills/wix-manage/references/stores/create-product-from-image.md +8 -6
  117. package/skills/wix-manage/references/stores/create-product-with-options-catalog-v3.md +57 -0
  118. package/skills/wix-vibe-headless/SKILL.md +142 -0
  119. package/skills/wix-vibe-headless/platforms/README.md +22 -0
  120. package/skills/wix-vibe-headless/platforms/base44.md +142 -0
  121. package/skills/wix-vibe-headless/platforms/generic.md +87 -0
  122. package/skills/wix-vibe-headless/references/blog/INSTRUCTIONS.md +128 -0
  123. package/skills/wix-vibe-headless/references/blog/wix-blog.js +217 -0
  124. package/skills/wix-vibe-headless/references/bookings/INSTRUCTIONS.md +157 -0
  125. package/skills/wix-vibe-headless/references/bookings/wix-bookings-checkout.js +147 -0
  126. package/skills/wix-vibe-headless/references/bookings/wix-bookings-services.js +217 -0
  127. package/skills/wix-vibe-headless/references/cms/INSTRUCTIONS.md +154 -0
  128. package/skills/wix-vibe-headless/references/cms/wix-cms.js +186 -0
  129. package/skills/wix-vibe-headless/references/events/INSTRUCTIONS.md +142 -0
  130. package/skills/wix-vibe-headless/references/events/wix-events-browse.js +136 -0
  131. package/skills/wix-vibe-headless/references/events/wix-events-registration.js +187 -0
  132. package/skills/wix-vibe-headless/references/members/INSTRUCTIONS.md +211 -0
  133. package/skills/wix-vibe-headless/references/members/wix-members-auth.js +387 -0
  134. package/skills/wix-vibe-headless/references/portfolio/INSTRUCTIONS.md +111 -0
  135. package/skills/wix-vibe-headless/references/portfolio/wix-portfolio.js +223 -0
  136. package/skills/wix-vibe-headless/references/pricing-plans/INSTRUCTIONS.md +127 -0
  137. package/skills/wix-vibe-headless/references/pricing-plans/wix-pricing-plans.js +157 -0
  138. package/skills/wix-vibe-headless/references/restaurants/INSTRUCTIONS.md +138 -0
  139. package/skills/wix-vibe-headless/references/restaurants/wix-restaurants-menu.js +224 -0
  140. package/skills/wix-vibe-headless/references/restaurants/wix-restaurants-ordering.js +156 -0
  141. package/skills/wix-vibe-headless/references/restaurants/wix-restaurants-reservations.js +107 -0
  142. package/skills/wix-vibe-headless/references/shared/wix-client.js +186 -0
  143. package/skills/wix-vibe-headless/references/storefront/INSTRUCTIONS.md +164 -0
  144. package/skills/wix-vibe-headless/references/storefront/wix-store-cart.js +147 -0
  145. package/skills/wix-vibe-headless/references/storefront/wix-store-catalog.js +146 -0
  146. package/skills/wix-headless/references/BUILD-astro.md +0 -253
  147. package/skills/wix-headless/references/BUILD-own-build.md +0 -167
  148. package/skills/wix-headless/references/BUILD.md +0 -105
  149. package/skills/wix-headless/references/DESIGN_SYSTEM.md +0 -165
  150. package/skills/wix-headless/references/DISCOVERY-connect.md +0 -55
  151. package/skills/wix-headless/references/DISCOVERY-create.md +0 -238
  152. package/skills/wix-headless/references/PLAN-connect.md +0 -19
  153. package/skills/wix-headless/references/PLAN-create.md +0 -17
  154. package/skills/wix-headless/references/PLAN.md +0 -92
  155. package/skills/wix-headless/references/astro/blog/BLOG_PAGES.md +0 -300
  156. package/skills/wix-headless/references/astro/blog/BLOG_SETUP.md +0 -218
  157. package/skills/wix-headless/references/astro/bookings/COMPONENTS.md +0 -45
  158. package/skills/wix-headless/references/astro/bookings/SERVICES_PAGES.md +0 -77
  159. package/skills/wix-headless/references/astro/cms/CMS_FOUNDATIONS.md +0 -214
  160. package/skills/wix-headless/references/astro/cms/FAQ_KNOWLEDGE_BASE.md +0 -231
  161. package/skills/wix-headless/references/astro/cms/PORTFOLIO.md +0 -453
  162. package/skills/wix-headless/references/astro/cms/RESOURCE_LIBRARY.md +0 -354
  163. package/skills/wix-headless/references/astro/cms/TEAM_DIRECTORY.md +0 -299
  164. package/skills/wix-headless/references/astro/designer/INSTRUCTIONS.md +0 -351
  165. package/skills/wix-headless/references/astro/ecom/CART_PAGES.md +0 -119
  166. package/skills/wix-headless/references/astro/ecom/CART_WIRING.md +0 -103
  167. package/skills/wix-headless/references/astro/ecom/COMPONENTS_CSS.md +0 -132
  168. package/skills/wix-headless/references/astro/forms/CONTACT_FORM.md +0 -463
  169. package/skills/wix-headless/references/astro/gift-cards/COMPONENTS.md +0 -119
  170. package/skills/wix-headless/references/astro/gift-cards/PAGES.md +0 -129
  171. package/skills/wix-headless/references/astro/stores/BACK_IN_STOCK.md +0 -178
  172. package/skills/wix-headless/references/astro/stores/CATEGORY_PAGES.md +0 -85
  173. package/skills/wix-headless/references/astro/stores/COMPONENTS_CSS.md +0 -129
  174. package/skills/wix-headless/references/astro/stores/HOME_AND_NAV.md +0 -229
  175. package/skills/wix-headless/references/astro/stores/PRODUCT_PAGES.md +0 -215
  176. package/skills/wix-headless/references/astro/stores/SHARED_WIRING.md +0 -165
  177. package/skills/wix-headless/references/astro/templates/Layout.astro +0 -132
  178. package/skills/wix-headless/references/astro/templates/astro.config.mjs +0 -41
  179. package/skills/wix-headless/references/astro/templates/bookings/AvailabilityCalendar.tsx +0 -374
  180. package/skills/wix-headless/references/astro/templates/bookings/BookingForm.tsx +0 -136
  181. package/skills/wix-headless/references/astro/templates/bookings/SeoTags.astro +0 -25
  182. package/skills/wix-headless/references/astro/templates/bookings/ServiceBookingFlow.tsx +0 -71
  183. package/skills/wix-headless/references/astro/templates/bookings/ServiceCard.astro +0 -54
  184. package/skills/wix-headless/references/astro/templates/bookings/booking-confirmation.astro +0 -49
  185. package/skills/wix-headless/references/astro/templates/bookings/bookingDriver.ts +0 -245
  186. package/skills/wix-headless/references/astro/templates/bookings/components-bookings.css +0 -424
  187. package/skills/wix-headless/references/astro/templates/bookings/services/[slug].astro +0 -176
  188. package/skills/wix-headless/references/astro/templates/bookings/services/index.astro +0 -181
  189. package/skills/wix-headless/references/astro/templates/ecom/CartBadge.tsx +0 -84
  190. package/skills/wix-headless/references/astro/templates/ecom/CartView.tsx +0 -543
  191. package/skills/wix-headless/references/astro/templates/ecom/cart.astro +0 -13
  192. package/skills/wix-headless/references/astro/templates/ecom/components-ecom.css +0 -302
  193. package/skills/wix-headless/references/astro/templates/ecom/discounts.ts +0 -71
  194. package/skills/wix-headless/references/astro/templates/ecom/thank-you.astro +0 -24
  195. package/skills/wix-headless/references/astro/templates/gift-cards/GiftCardPurchase.tsx +0 -172
  196. package/skills/wix-headless/references/astro/templates/gift-cards/_home-teaser-snippet.astro +0 -42
  197. package/skills/wix-headless/references/astro/templates/gift-cards/_nav-snippet.astro +0 -11
  198. package/skills/wix-headless/references/astro/templates/gift-cards/components-gift-cards.css +0 -220
  199. package/skills/wix-headless/references/astro/templates/gift-cards/gift-cards.astro +0 -51
  200. package/skills/wix-headless/references/astro/templates/gift-cards/gift-cards.ts +0 -75
  201. package/skills/wix-headless/references/astro/templates/global.css +0 -288
  202. package/skills/wix-headless/references/astro/templates/stores/AddToCartButton.tsx +0 -77
  203. package/skills/wix-headless/references/astro/templates/stores/BackInStockForm.tsx +0 -176
  204. package/skills/wix-headless/references/astro/templates/stores/CategoryRail.astro +0 -69
  205. package/skills/wix-headless/references/astro/templates/stores/ProductCard.astro +0 -79
  206. package/skills/wix-headless/references/astro/templates/stores/ProductPurchase.tsx +0 -397
  207. package/skills/wix-headless/references/astro/templates/stores/SeoTags.astro +0 -21
  208. package/skills/wix-headless/references/astro/templates/stores/back-in-stock.ts +0 -67
  209. package/skills/wix-headless/references/astro/templates/stores/categories.ts +0 -155
  210. package/skills/wix-headless/references/astro/templates/stores/category/[slug].astro +0 -130
  211. package/skills/wix-headless/references/astro/templates/stores/components-stores.css +0 -400
  212. package/skills/wix-headless/references/astro/templates/stores/products/[slug].astro +0 -128
  213. package/skills/wix-headless/references/astro/templates/stores/products/index.astro +0 -101
  214. package/skills/wix-headless/references/blog/BLOG_CONTENT.md +0 -161
  215. package/skills/wix-headless/references/blog/INSTRUCTIONS.md +0 -32
  216. package/skills/wix-headless/references/bookings/FLOW.md +0 -246
  217. package/skills/wix-headless/references/bookings/INSTRUCTIONS.md +0 -95
  218. package/skills/wix-headless/references/bookings/SERVICES_DATA.md +0 -355
  219. package/skills/wix-headless/references/cms/CMS_FOUNDATIONS.md +0 -176
  220. package/skills/wix-headless/references/cms/INSTRUCTIONS.md +0 -71
  221. package/skills/wix-headless/references/commands/known-apps.json +0 -6
  222. package/skills/wix-headless/references/custom/CONNECTION_PLAN.md +0 -142
  223. package/skills/wix-headless/references/custom/INSTRUCTIONS.md +0 -88
  224. package/skills/wix-headless/references/custom/blog/WIRING.md +0 -52
  225. package/skills/wix-headless/references/custom/bookings/WIRING.md +0 -197
  226. package/skills/wix-headless/references/custom/cms/WIRING.md +0 -97
  227. package/skills/wix-headless/references/custom/ecom/WIRING.md +0 -67
  228. package/skills/wix-headless/references/custom/forms/WIRING.md +0 -101
  229. package/skills/wix-headless/references/custom/stores/WIRING.md +0 -80
  230. package/skills/wix-headless/references/ecom/INSTRUCTIONS.md +0 -59
  231. package/skills/wix-headless/references/forms/INSTRUCTIONS.md +0 -43
  232. package/skills/wix-headless/references/gift-cards/INSTRUCTIONS.md +0 -51
  233. package/skills/wix-headless/references/images/INSTRUCTIONS.md +0 -357
  234. package/skills/wix-headless/references/seed-recipes.md +0 -49
  235. package/skills/wix-headless/references/shared/AGENTS_MD.md +0 -47
  236. package/skills/wix-headless/references/shared/AUTHENTICATION.md +0 -108
  237. package/skills/wix-headless/references/shared/BUILD_NOISE.md +0 -8
  238. package/skills/wix-headless/references/shared/DESIGN_MD.md +0 -84
  239. package/skills/wix-headless/references/shared/DOCS_SEARCH.md +0 -41
  240. package/skills/wix-headless/references/shared/IMAGE_GENERATION.md +0 -186
  241. package/skills/wix-headless/references/shared/IMPLEMENTER.md +0 -206
  242. package/skills/wix-headless/references/shared/PRODUCTION_SHARP_EDGES.md +0 -97
  243. package/skills/wix-headless/references/shared/RETURN_CONTRACT.md +0 -143
  244. package/skills/wix-headless/references/shared/STYLING.md +0 -140
  245. package/skills/wix-headless/references/stores/INSTRUCTIONS.md +0 -126
  246. package/skills/wix-headless/references/stores/PRODUCT_CATALOG_DATA.md +0 -252
  247. package/skills/wix-headless/references/verticals/_schema.json +0 -74
  248. package/skills/wix-headless/references/verticals/_schema.md +0 -95
  249. package/skills/wix-headless/references/verticals/blog.md +0 -31
  250. package/skills/wix-headless/references/verticals/bookings.md +0 -41
  251. package/skills/wix-headless/references/verticals/cms.md +0 -30
  252. package/skills/wix-headless/references/verticals/ecom.md +0 -25
  253. package/skills/wix-headless/references/verticals/forms.md +0 -26
  254. package/skills/wix-headless/references/verticals/gift-cards.md +0 -24
  255. package/skills/wix-headless/references/verticals/stores.md +0 -33
  256. package/skills/wix-headless/scripts/check-manifest.mjs +0 -335
  257. package/skills/wix-headless/scripts/compose.mjs +0 -520
  258. package/skills/wix-headless/scripts/emit-design-tokens.mjs +0 -157
  259. package/skills/wix-headless/scripts/flatten.sh +0 -61
  260. package/skills/wix-headless/scripts/generate-images.mjs +0 -242
  261. package/skills/wix-headless/scripts/patch-decorative-slots.mjs +0 -154
  262. package/skills/wix-headless/scripts/plan-entity-image-waves.mjs +0 -190
  263. package/skills/wix-headless/scripts/scaffold.sh +0 -139
  264. package/skills/wix-headless/scripts/seed-utilities.sh +0 -93
  265. package/skills/wix-headless/scripts/write-decorative-json.mjs +0 -62
  266. package/skills/wix-headless/shared-utilities/analytics.ts +0 -40
  267. package/skills/wix-headless/shared-utilities/ricos.ts +0 -179
  268. package/skills/wix-headless/shared-utilities/wix-image.ts +0 -72
@@ -1,252 +0,0 @@
1
- # Recipe: Product Catalog Data Setup (seed scope)
2
-
3
- Replace the default sample products Wix Stores installs with on-brand products via the Stores REST API (`curl` against `wixapis.com/stores/v3/...` with the standard headers from `../shared/AUTHENTICATION.md`). This file covers the `seed` scope — data seeding only. Frontend wiring lives in the astro scope references (`../astro/stores/SHARED_WIRING.md`, `../astro/stores/PRODUCT_PAGES.md`, `../astro/ecom/CART_PAGES.md`, `../astro/stores/HOME_AND_NAV.md`) and should not be read by `seed`.
4
-
5
- > **Critical Rules — Read Before Starting**
6
- > 1. **V3 only** — all endpoints under `/stores/v3/...` for products.
7
- > 2. **No improvised endpoints** — if an REST call returns 404, stop and report. Do not guess alternative URLs. Do not loop on `docs-search REST (see DOCS_SEARCH.md)` more than twice on the same topic.
8
- > 3. **Do not seed categories** — they are merchant-driven. See Step 6 for the full rule and how the storefront still wires up automatically.
9
-
10
- > **V3 Catalog:** New Wix sites use Catalog V3. All endpoints below live under `/stores/v3/...`. The V1 product endpoints should not be used — they silently return 0 results on V3 catalogs.
11
-
12
- ## Prerequisites
13
-
14
- - Wix Stores app must be installed on the site (installed via the apps-installer REST endpoint after scaffolding — see Step 0)
15
-
16
- ## Setup: Replace Default Products via REST
17
-
18
- > **Conditional:** This section only applies when ALL of these are true:
19
- > - The Stores app was just installed (default sample products exist)
20
- > - CLI auth works (`npx @wix/cli@latest token --site "$SITE_ID"` returns a token)
21
- > - Discovery context is available in your prompt (business type, brand name, style)
22
- >
23
- > **If CLI auth is not available, skip this entire section.** The 12 default products remain and can be customized later in the Wix dashboard.
24
-
25
- > **API error guard:** If any REST call in this seed scope returns a 404 or an unexpected error, do **not** retry the same call with a guessed alternative URL or namespace. Report the failing endpoint, request body, and error verbatim to the user, then stop.
26
-
27
- > **Stores appDefId** for install and `catalogReference.appId`: `215238eb-22a5-4c36-9e7b-e7c08025e04e`. (A different defId — `1380b703-ce81-ff05-f115-39571d94dfcd` — is used for `wixMetadata.appDefId` in the pages scope. Do not swap them.)
28
- >
29
- > <!-- REVIEW (appDefId discrepancy): `1380b703-…` is labeled the `wixMetadata.appDefId` here, but `stores/INSTRUCTIONS.md` (back-in-stock split + failure-mode table) calls the same id the back-in-stock app id. One of these labels is wrong — flagged for human review; value left unchanged. -->
30
-
31
-
32
- ### Step 0: Ensure Stores App Is Installed
33
-
34
- Before querying products, verify the Stores app is installed:
35
-
36
- 1. **Probe** — `REST: POST https://www.wixapis.com/stores/v3/products/query`
37
- 2. **If the API returns a "REQUIRED_APP_NOT_INSTALLED" error** → install the Wix Stores app:
38
- ```
39
- REST: POST https://www.wixapis.com/apps-installer-service/v1/app-instance/install
40
- body: {
41
- "tenant": { "tenantType": "SITE", "id": "<siteId>" },
42
- "appInstance": { "appDefId": "215238eb-22a5-4c36-9e7b-e7c08025e04e", "enabled": true }
43
- }
44
- ```
45
- > Translate this prose-HTTP form into the full `curl` tool-call shape — pass `body` as JSON in `-d` (NOT a stringified JSON). See `../shared/AUTHENTICATION.md` for the standard REST headers.
46
-
47
- Then retry the probe query to confirm installation succeeded.
48
- 3. **If the probe succeeds** → proceed to Step 1.
49
-
50
- ---
51
-
52
- Replace the 12 generic sample products with 3 on-brand products that match the user's business before building any code.
53
-
54
- ### Step 1: Query Default Products
55
-
56
- ```
57
- REST: POST https://www.wixapis.com/stores/v3/products/query
58
- body: {
59
- "query": {
60
- "paging": { "limit": 50 }
61
- }
62
- }
63
- ```
64
-
65
- Collect all product IDs from the response.
66
-
67
- ### Step 2: Bulk Delete Defaults
68
-
69
- ```
70
- REST: POST https://www.wixapis.com/stores/v3/bulk/products/delete
71
- body: {
72
- "productIds": ["<id1>", "<id2>", ..., "<id12>"]
73
- }
74
- ```
75
-
76
- ### Step 3: Design 3 On-Brand Products
77
-
78
- No API call — use discovery context (business type, brand name, style, industry) to plan 3 products:
79
-
80
- - Product names, descriptions, and pricing appropriate for the business
81
- - Product type: `PHYSICAL`
82
- - Options (size, color, etc.) if appropriate for the business type
83
-
84
- **Product design guidelines by business type:**
85
-
86
- | Business Type | Product 1 | Product 2 | Product 3 |
87
- |--------------|-----------|-----------|-----------|
88
- | Skincare / beauty | Signature serum or moisturizer | Cleansing product | Gift set or bundle |
89
- | Clothing / fashion | Signature top or dress | Accessory item | Seasonal piece |
90
- | Food / bakery | Signature item (cake, bread) | Sampler or variety pack | Gift box |
91
- | Home / decor | Statement piece | Functional item | Set or collection |
92
- | Fitness / wellness | Core product (mat, equipment) | Accessory | Starter kit |
93
- | General retail | Best-seller item | Complementary item | Value bundle |
94
-
95
- Adapt names, descriptions, and pricing to match the brand's tone and style. Use the brand name in product descriptions where natural.
96
-
97
- ### Step 4: Bulk Create Products
98
-
99
- > **V3 bulk create body format:** Each item in the `products` array is a flat product object — do NOT wrap in a `"product"` key. Only include `options` and `variantsInfo` when the product has meaningful variants (multiple sizes, colors, etc.). Simple products with no real variants should omit these fields — the API creates a default variant automatically using the product-level price.
100
-
101
- **Product with variants** (e.g., skincare with 30ml/50ml sizes):
102
-
103
- ```
104
- REST: POST https://www.wixapis.com/stores/v3/bulk/products-with-inventory/create
105
- body: {
106
- "products": [
107
- {
108
- "name": "<Product Name>",
109
- "productType": "PHYSICAL",
110
- "description": {
111
- "nodes": [
112
- {
113
- "type": "PARAGRAPH",
114
- "id": "<unique-id>",
115
- "nodes": [
116
- { "type": "TEXT", "textData": { "text": "<Product description>" } }
117
- ],
118
- "paragraphData": { "textStyle": { "textAlignment": "AUTO" } }
119
- }
120
- ],
121
- "metadata": { "version": 1, "id": "<unique-id>" }
122
- },
123
- "visible": true,
124
- "visibleInPos": true,
125
- "physicalProperties": {},
126
- "options": [
127
- {
128
- "name": "Size",
129
- "optionRenderType": "TEXT_CHOICES",
130
- "choicesSettings": {
131
- "choices": [
132
- { "choiceType": "CHOICE_TEXT", "name": "30ml" },
133
- { "choiceType": "CHOICE_TEXT", "name": "50ml" }
134
- ]
135
- }
136
- }
137
- ],
138
- "variantsInfo": {
139
- "variants": [
140
- {
141
- "choices": [
142
- {
143
- "optionChoiceNames": {
144
- "optionName": "Size",
145
- "choiceName": "30ml",
146
- "renderType": "TEXT_CHOICES"
147
- }
148
- }
149
- ],
150
- "price": { "actualPrice": { "amount": "48.00" } },
151
- "visible": true,
152
- "inventoryItem": { "quantity": 50, "preorderInfo": { "enabled": false } },
153
- "physicalProperties": {}
154
- }
155
- ]
156
- }
157
- }
158
- ],
159
- "returnEntity": true
160
- }
161
- ```
162
-
163
- Add one more variant object per size in the `variants` array (one per choice combination). Use the Ricos format for descriptions (PARAGRAPH > TEXT > textData).
164
-
165
- **Simple product without real variants** (e.g., a gift set with one price and no size/color choices):
166
-
167
- Omit `options` and `variantsInfo` entirely. Set the price at the product level. The API creates a default variant automatically:
168
-
169
- ```json
170
- {
171
- "name": "Complete Gift Set",
172
- "productType": "PHYSICAL",
173
- "visible": true,
174
- "visibleInPos": true,
175
- "physicalProperties": {},
176
- "priceData": { "price": 89.00 },
177
- "manageVariants": false,
178
- "inventoryItem": { "trackQuantity": true, "quantity": 30 }
179
- }
180
- ```
181
-
182
- > **Do NOT create dummy options** (e.g., "Type: Standard") for simple products. Only add `options` and `variantsInfo` when the product genuinely has multiple variants. Phase 2's `ProductPurchase` component detects products without meaningful options and renders just the "Add to Cart" button — no unnecessary selection step for the buyer.
183
-
184
- Include all products in the same `products` array. Do not include `media` — product images are handled separately by the image agent after product creation.
185
-
186
- ### Step 5: Verify
187
-
188
- ```
189
- REST: POST https://www.wixapis.com/stores/v3/products/query
190
- body: {
191
- "query": { "paging": { "limit": 50 } }
192
- }
193
- ```
194
-
195
- Confirm exactly 3 products exist. Report the product names and prices to the user.
196
-
197
- ### Step 6: Categories are NOT seeded
198
-
199
- This scope does **not** create categories. The default Wix Stores install ships one auto-managed category (`online_stores_all_products`) — leave it; the frontend filters it out by handle.
200
-
201
- If the merchant later creates visible categories in the Wix dashboard and assigns products to them, the storefront wires up automatically:
202
-
203
- - `<CategoryRail/>` renders pills above `/products` and `/category/[slug]`.
204
- - The `Navigation` Shop submenu lists the categories.
205
- - `/category/<slug>` becomes a reachable, server-side-filtered listing.
206
-
207
- This works because the frontend (`src/utils/categories.ts`, pre-copied by the orchestrator before Phase 4 and imported by the `pages-*` scopes) live-queries the Wix API at SSR time with a 5-min cache — no redeploy or regen is needed.
208
-
209
- ### Step 7: Return Results
210
-
211
- Emit a structured JSON block at the end of your completion message per `../shared/RETURN_CONTRACT.md`. Do NOT write a sidecar file.
212
-
213
- ```json
214
- {
215
- "status": "complete",
216
- "phase": "stores-seed",
217
- "scope": "seed",
218
- "summary": "Deleted {N} default products; created {N} on-brand products with variants",
219
- "data": {
220
- "products": [
221
- {
222
- "id": "<uuid>",
223
- "name": "<name>",
224
- "slug": "<slug>",
225
- "variantId": "<uuid>",
226
- "price": 48.0,
227
- "inventory": 50,
228
- "sku": "<sku>"
229
- }
230
- ],
231
- "categories": [],
232
- "deletedCount": 12,
233
- "createdCount": 3
234
- },
235
- "files": [],
236
- "errors": []
237
- }
238
- ```
239
-
240
- `data.categories` is always `[]` — this scope does not seed categories. The field is retained for shape stability so downstream consumers don't need a new schema.
241
-
242
- The JSON block MUST be the last content in your message. Parent skill consumes `data.products[*].slug` and `data.products[*].variantId` for the Phase 4 Pages scopes.
243
-
244
- ### Seed Boundary — Do Not Touch Other Site Data
245
-
246
- The seed scope is complete after Step 7. Do **not** attempt any of the following, even if they seem like reasonable polish:
247
-
248
- - Cleaning up "orphan customizations", "All Products" containers, brand records, or any other catalog metadata you didn't create.
249
- - Creating, renaming, or deleting any category — see Step 6 (leave the auto-managed "All Products" category in place).
250
- - Verifying your work via additional `query` calls beyond the Step 5 verification already performed.
251
-
252
- Phase 2+ (frontend wiring) is covered in the astro scope references (`../astro/stores/SHARED_WIRING.md`, `../astro/stores/PRODUCT_PAGES.md`, `../astro/stores/CATEGORY_PAGES.md`, `../astro/ecom/CART_PAGES.md`, `../astro/stores/HOME_AND_NAV.md`) — do not read them during `seed`.
@@ -1,74 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "Wix Headless Vertical Frontmatter (Phase 1 — discovery only)",
4
- "description": "Validates verticals/<name>.md frontmatter. Phase 1 scope only — later phases (setup, seed, design, pages, build) are owned by @skills/wix-manage plus this skill's own templates and INSTRUCTIONS.md files; per-pack fields (packages, cmsCollections, seed, components, componentsCss, pages, creates, contributes, include) are not part of this skill and not validated here.",
5
- "type": "object",
6
- "required": ["name", "description"],
7
- "additionalProperties": false,
8
- "properties": {
9
- "name": {
10
- "type": "string",
11
- "pattern": "^[a-z][a-z0-9-]*$",
12
- "description": "Must match filename stem (e.g., stores.md → 'stores')"
13
- },
14
- "description": { "type": "string" },
15
- "triggers": {
16
- "type": "array",
17
- "items": { "type": "string" },
18
- "description": "Prompt patterns that route to this vertical. Empty allowed for transitive-only packs (ecom, gift-cards, cms). The SKILL.md routing table is the actual source of truth for what gets loaded; this is human reference + a fallback signal."
19
- },
20
- "requires": {
21
- "type": "array",
22
- "items": { "type": "string" },
23
- "description": "Verticals that must be co-loaded in the same read batch when this pack is loaded. Today: stores → [ecom, gift-cards]; gift-cards → [ecom]."
24
- },
25
- "features": {
26
- "type": "array",
27
- "items": {
28
- "type": "object",
29
- "required": ["name", "description"],
30
- "additionalProperties": false,
31
- "properties": {
32
- "name": { "type": "string" },
33
- "description": { "type": "string" }
34
- }
35
- },
36
- "description": "Feature blurbs for DISCOVERY-create.md Step 3 Section B."
37
- },
38
- "apps": {
39
- "type": "array",
40
- "items": {
41
- "type": "object",
42
- "required": ["name"],
43
- "additionalProperties": false,
44
- "properties": {
45
- "name": { "type": "string" },
46
- "appDefId": { "type": "string" }
47
- }
48
- },
49
- "description": "Zero or one entry per pack. apps[0].name fills the Source column of the Pages table."
50
- },
51
- "routes": {
52
- "type": "array",
53
- "items": {
54
- "type": "object",
55
- "required": ["route"],
56
- "additionalProperties": false,
57
- "properties": {
58
- "route": {
59
- "type": "string",
60
- "description": "URL path (e.g. /cart) OR the literal 'Hosted by Wix' for Wix-hosted endpoints like checkout."
61
- },
62
- "name": {
63
- "type": "string",
64
- "description": "Optional user-facing page name override for DISCOVERY.md's Section C table. When omitted, the orchestrator derives the name from the path (/ → Home; /thank-you → Thank You). Set this only when path-derivation produces a poor name (e.g. /products/[slug] → 'Product Detail') or when the route has no path (e.g. ecom's Wix-hosted Checkout)."
65
- }
66
- }
67
- }
68
- },
69
- "disabled": {
70
- "type": "boolean",
71
- "description": "If true, the pack's surfaces (pages, nav links, home blocks) are inactive by default — they ship as code but do not appear without a separate user action (today: enabling the matching Wix app from the dashboard, which the pack's runtime probe detects). DISCOVERY.md plan composition (Sections B + C) skips features and routes from disabled packs so the plan never promises a surface the user did not ask for. Today only the gift-cards pack uses disabled: true."
72
- }
73
- }
74
- }
@@ -1,95 +0,0 @@
1
- # Vertical Schema (Phase 1 — discovery only)
2
-
3
- Each file in `references/verticals/` declares one vertical's contribution to discovery. The skill reads the user's prompt, loads the matching pack set (per SKILL.md routing table), and assembles the plan from the loaded packs' frontmatter.
4
-
5
- > **Phase 1 scope.** This schema covers only what discovery needs. Later phases (setup, seed, design system, pages, build) are owned by an upstream skill plus this skill's own templates and `INSTRUCTIONS.md` files:
6
- > - `@skills/wix-manage` — REST API recipes for site setup and content seeding.
7
- >
8
- > Per-pack fields (`packages`, `cmsCollections`, `seed`, `components`, `componentsCss`, `pages`, `creates`, `contributes`, `include`) are not part of this schema — those concerns belong to upstream recipes and per-vertical templates, not this skill's vertical packs.
9
-
10
- ## File format
11
-
12
- Markdown with YAML frontmatter. The frontmatter is the machine-readable config; the body is a short human-readable note about what the pack does and where its Phase 2+ implementation lives.
13
-
14
- ## Frontmatter fields
15
-
16
- ```yaml
17
- ---
18
- # --- Identity ---
19
- name: stores # unique vertical name, matches the filename stem
20
- description: "Short one-liner — what the pack provides at a glance."
21
- triggers: # prompt patterns that route the user to this vertical
22
- - "sell" # case-insensitive substrings
23
- - "ecommerce" # SKILL.md routing table is the source of truth for actual loading;
24
- # this list is human reference + a fallback signal.
25
-
26
- # --- Dependencies ---
27
- requires: [] # optional — verticals that must be co-loaded.
28
- # Example: stores requires ["ecom", "gift-cards"]; gift-cards requires ["ecom"].
29
- # If a pack with `requires:` is loaded, every name in the list MUST be in the same read batch.
30
-
31
- # --- Plan contribution ---
32
- features: # human-readable feature blurbs. Used in DISCOVERY-create.md Step 3 Section B.
33
- - name: "Product catalog"
34
- description: "Browse products with images, prices, and variants."
35
-
36
- # --- Plan Pages table ---
37
- apps: # zero or one entry per pack. apps[0].name fills the Source column
38
- - name: "Wix Stores" # of DISCOVERY-create.md Step 3 Section C.
39
- appDefId: "215238eb-22a5-4c36-9e7b-e7c08025e04e"
40
-
41
- routes: # routes the pack ships. Each entry → one row in the Pages table.
42
- - route: "/products" # `route:` value renders verbatim in the Route cell.
43
- - route: "/products/[slug]"
44
- name: "Product Detail" # OPTIONAL: user-facing name override for the Page cell. When omitted,
45
- # the orchestrator derives the name from the path (/ → "Home";
46
- # /thank-you → "Thank You"). Override only when path-derivation
47
- # produces a poor name (e.g. "/products/[slug]" → "Products [slug]")
48
- # OR when the route has no path (use the literal string "Hosted by Wix").
49
-
50
- # --- Activation ---
51
- disabled: false # if true, the pack ships its code but its surfaces (pages, nav, home blocks) are inactive
52
- # by default — they light up only when the user takes a separate action (today: enabling
53
- # the matching Wix app from the dashboard, detected by a runtime probe). DISCOVERY.md plan
54
- # composition (Sections B + C) skips features and routes from disabled packs so the plan
55
- # never promises a surface the user did not opt into. Today only `gift-cards` sets
56
- # `disabled: true`. Default false.
57
- ---
58
- ```
59
-
60
- ## Field reference
61
-
62
- | Field | Type | Required | Notes |
63
- |-------|------|----------|-------|
64
- | `name` | string | yes | Matches filename stem (`stores.md` → `name: stores`) |
65
- | `description` | string | yes | One-line label — what the pack provides |
66
- | `triggers` | string[] | yes (empty allowed for transitive-only packs) | Case-insensitive substrings. SKILL.md routing table is the actual source of truth for what gets loaded; this is human reference. |
67
- | `requires` | string[] | no | Verticals that must be co-loaded in the same read batch |
68
- | `features` | object[] | yes | `{name, description}` — used in DISCOVERY-create.md Step 3 Section B |
69
- | `apps` | object[] | no | Zero or one entry. `apps[0].name` fills the Source column of the Pages table; absence implies built-in (cms uses `"CMS (builtin)"` literal). |
70
- | `routes` | object[] | no | `{route, name?}` — one row per entry in the Pages table |
71
- | `disabled` | bool | no | If true, the pack's surfaces are inactive by default. DISCOVERY plan skips disabled packs from Sections B + C. Today only `gift-cards`. Default false. |
72
-
73
- ## How discovery uses the pack
74
-
75
- 1. The orchestrator reads the user prompt and the SKILL.md routing table to determine the resolved pack set (top-level + `requires:` chain + always-on `cms`).
76
- 2. It reads every pack file in the resolved set in **one concurrent batch**.
77
- 3. From each pack's frontmatter it assembles:
78
- - **Section B (interactive only)** — `features[].name` + `features[].description`, skipping packs with `disabled: true`.
79
- - **Section C — Pages table** — one row per entry in `routes:` from non-disabled packs. Page cell uses `name:` override if present, else derives from the `route:` path. Source cell uses `apps[0].name`; for transitive packs, walk up the `requires:` chain to the top-level puller and use ITS `apps[0].name`. For `cms`, use the literal `"CMS (builtin)"`.
80
- 4. Discovery never reads anything else from the pack file. Phase 2+ implementation work lives in the upstream skills.
81
-
82
- ## Adding a new vertical
83
-
84
- 1. Create `<name>.md` in this directory with the frontmatter above.
85
- 2. Add a row to SKILL.md's routing table with the resolved pack set (top-level + transitive `requires:` + `cms`).
86
- 3. No other registration needed.
87
-
88
- ## Validation (informal)
89
-
90
- Sanity-check at session start:
91
- - `name` matches filename stem.
92
- - Every name in `requires:` resolves to a sibling file in this directory.
93
- - Every `route:` is either a `/`-prefixed path OR the literal string `"Hosted by Wix"`.
94
-
95
- If validation fails, fail loud — surface the error and stop. A malformed pack breaking the whole flow is better than silently dropping it.
@@ -1,31 +0,0 @@
1
- ---
2
- name: blog
3
- description: "Blog — post listing, post detail with rich content, RSS feed, sitemap."
4
- triggers: ["blog", "publish articles", "write posts", "content site", "editorial", "journal", "newsletter"]
5
-
6
- features:
7
- - name: "Blog"
8
- description: "Publish posts with a listing page, individual post pages with rich content rendering, and an RSS feed."
9
- - name: "RSS and sitemap"
10
- description: "Auto-generated RSS feed and XML sitemap for search engine discovery."
11
-
12
- apps:
13
- - name: "Wix Blog"
14
- appDefId: "14bcded7-0066-7c35-14d7-466cb3f09103"
15
-
16
- routes:
17
- - route: "/blog"
18
- - route: "/blog/[slug]"
19
- name: "Blog Post" # path-derivation would produce "Blog [slug]" — override with the user-facing label
20
- - route: "/rss.xml"
21
-
22
- disabled: false
23
- ---
24
-
25
- # Blog Pack
26
-
27
- Loaded when the user's prompt mentions blogging, publishing, or editorial content.
28
-
29
- > **Discovery contract.** Phase 1 reads only the frontmatter above. Phase 2+ implementation (post seeding, RSS, page composition, ricos rendering) lives in an upstream skill plus this skill's own `references/astro/blog/` + `references/blog/INSTRUCTIONS.md`:
30
- >
31
- > - `@skills/wix-manage` ships the seeding recipe — `references/blog/how-to-create-blog-posts.md`.
@@ -1,41 +0,0 @@
1
- ---
2
- name: bookings
3
- description: "Service-based booking — services catalog (with location + category filters and staff selection), availability calendar, and booking flow for appointments and classes via Wix Bookings."
4
- triggers: ["booking", "appointment", "schedule", "reserve", "class", "session", "consult", "therapy", "lesson", "coaching", "trainer", "tutor", "salon", "spa", "clinic"]
5
- requires: []
6
-
7
- features:
8
- - name: "Services catalog"
9
- description: "Browse bookable appointment and class services with descriptions, duration, and pricing — filterable by category and (for multi-location businesses) by location."
10
- - name: "Staff selection"
11
- description: "On multi-staff services, choose a specific staff member (or any) and see that staff's availability."
12
- - name: "Online booking"
13
- description: "Pick an available time slot on a day-grouped availability calendar, complete the service's booking form, and confirm."
14
- - name: "Secure checkout"
15
- description: "Free or pay-in-person bookings confirm instantly; paid services hand off to Wix's secure hosted checkout."
16
-
17
- apps:
18
- - name: "Wix Bookings"
19
- appDefId: "13d21c63-b5ec-5912-8397-c3a5ddb27a97"
20
-
21
- routes:
22
- - route: "/services"
23
- - route: "/services/[slug]"
24
- name: "Service Detail"
25
- - route: "/booking-confirmation"
26
- name: "Booking Confirmation"
27
- - route: "Hosted by Wix"
28
- name: "Secure Checkout"
29
-
30
- disabled: false
31
- ---
32
-
33
- # Bookings Pack
34
-
35
- Loaded when the user's prompt implies offering appointments, classes, or sessions.
36
-
37
- > **Discovery contract.** Phase 1 reads only the frontmatter above to compose the plan's Pages table. Phase 2+ implementation (seeding, page composition, theming) lives in this skill's own `references/astro/templates/bookings/` + `references/bookings/INSTRUCTIONS.md`.
38
- >
39
- > - Seed recipe: `<SKILL_ROOT>/references/bookings/SERVICES_DATA.md` (service creation via Wix Bookings REST API).
40
- >
41
- > No per-pack `seed`, `components`, `componentsCss`, or `pages` blocks live in this skill anymore.
@@ -1,30 +0,0 @@
1
- ---
2
- name: cms
3
- description: "Content pages — Home, About, FAQ managed via Wix CMS. Always loaded."
4
- triggers: [] # not trigger-based — always loaded (every site needs About/FAQ)
5
-
6
- features:
7
- - name: "About (CMS-based)"
8
- description: "Tell your brand story with images and rich text. Editable from the Wix dashboard's Content Manager."
9
- - name: "FAQ (CMS-based)"
10
- description: "Common questions and answers about your products. Managed from the dashboard's Content Manager."
11
-
12
- apps: [] # CMS is built-in, no app install
13
-
14
- routes:
15
- - route: "/"
16
- - route: "/about"
17
- - route: "/faq"
18
-
19
- disabled: false
20
- ---
21
-
22
- # CMS Pack
23
-
24
- Always loaded. Provides Home + About + FAQ content pages editable from the Wix dashboard's Content Manager.
25
-
26
- > **Discovery contract.** Phase 1 reads only the frontmatter above. Phase 2+ implementation (collection schemas, item seeding, page composition) lives in an upstream skill plus this skill's own `references/astro/cms/` + `references/cms/INSTRUCTIONS.md`:
27
- >
28
- > - `@skills/wix-manage` ships the recipes — `references/cms/cms-schema-management.md`, `cms-data-items-crud.md`, `cms-references-and-relationships.md`.
29
- >
30
- > Collection names like `about-content` / `faq` are an implementation detail the seeder picks at run time — they are not pre-approved by the user in the discovery plan.
@@ -1,25 +0,0 @@
1
- ---
2
- name: ecom
3
- description: "Vertical-agnostic ecommerce — cart page, checkout redirect, order confirmation. Co-loaded by packs that require it."
4
- triggers: [] # never triggered independently — co-loaded via another pack's `requires:`
5
-
6
- features:
7
- - name: "Cart & checkout"
8
- description: "Add items to cart, review order, check out via Wix's secure hosted checkout. Order confirmation on thank-you page."
9
-
10
- apps: [] # no app to install — @wix/ecom works with any installed catalog app
11
-
12
- routes:
13
- - route: "/cart"
14
- - route: "/thank-you"
15
- - route: "Hosted by Wix" # Wix-hosted endpoint — no .astro file. Listed so the discovery plan's Section C table includes a Checkout row for the Wix-hosted endpoint. The route cell renders the literal string "Hosted by Wix".
16
- name: "Checkout"
17
-
18
- disabled: false
19
- ---
20
-
21
- # Ecom Pack
22
-
23
- Vertical-agnostic ecommerce cart, checkout, and order confirmation. Co-loaded by any pack that needs cart/checkout (today: `stores`, `gift-cards`; future: `bookings`, `events`) via the `requires:` field. Never user-triggered.
24
-
25
- > **Discovery contract.** Phase 1 reads only the frontmatter above. Phase 2+ implementation (cart wiring, checkout redirect, discount codes) lives in this skill's own `references/astro/ecom/` + `references/ecom/INSTRUCTIONS.md`.
@@ -1,26 +0,0 @@
1
- ---
2
- name: forms
3
- description: "Forms — contact, lead capture, or newsletter signup with CRM integration."
4
- triggers: ["contact form", "lead form", "signup form", "waitlist", "registration", "get in touch", "inquiry", "feedback"]
5
-
6
- features:
7
- - name: "Contact form"
8
- description: "Dynamic form powered by @wix/forms with server-side schema discovery and client-side submission. Submissions create CRM contacts automatically."
9
-
10
- apps:
11
- - name: "Wix Forms"
12
- appDefId: "225dd912-7dea-4738-8688-4b8c6955ffc2"
13
-
14
- routes:
15
- - route: "/contact"
16
-
17
- disabled: false
18
- ---
19
-
20
- # Forms Pack
21
-
22
- Loaded when the user's prompt mentions forms, contact pages, inquiries, or signups.
23
-
24
- > **Discovery contract.** Phase 1 reads only the frontmatter above. Phase 2+ implementation (form creation, field selection per purpose, submission triggers, page composition) lives in an upstream skill plus this skill's own `templates/forms/` + `references/forms/INSTRUCTIONS.md`:
25
- >
26
- > - `@skills/wix-manage` ships the recipe — `references/forms/create-form.md`.
@@ -1,24 +0,0 @@
1
- ---
2
- name: gift-cards
3
- description: "Conditional gift-card buy page + nav/home contributions. Detects the Wix Gift Card app at runtime; renders only when installed."
4
- triggers: [] # never triggered independently — co-loaded by packs that include a storefront via `requires:`
5
- requires: ["ecom"] # buy flow uses currentCart.addToCurrentCart
6
-
7
- features:
8
- - name: "Gift cards (when enabled in dashboard)"
9
- description: "Customers buy preset-amount gift cards on a dedicated page. Wix issues redeemable codes after payment and emails the recipient. The page, nav link, and home teaser only appear once the Wix Gift Card app is enabled in the dashboard — no rebuild needed."
10
-
11
- apps: [] # do NOT auto-install; the user opts in via Catalog → Gift Cards in the dashboard
12
-
13
- routes:
14
- - route: "/gift-cards"
15
-
16
- # disabled: true → the pack's surfaces are inactive by default; they light up only when the user enables the matching Wix app from the dashboard. DISCOVERY.md Section B + C plan composition skips features and routes from disabled packs so the plan never promises a surface the user did not opt into.
17
- disabled: true
18
- ---
19
-
20
- # Gift Cards Pack
21
-
22
- Passive vertical: code ships in every site that has a storefront, but every gift-card surface only renders if the **Wix Gift Card app** is enabled in the site's dashboard. Never user-triggered.
23
-
24
- > **Discovery contract.** Phase 1 reads only the frontmatter above. Because `disabled: true`, the discovery plan never promises any gift-card surface to the user. Phase 2+ implementation (runtime probe, buy flow, nav/home contributions) lives in this skill's own `references/astro/templates/gift-cards/` + `references/gift-cards/INSTRUCTIONS.md`; see `references/astro/templates/gift-cards/gift-cards.astro` for the working buy-page reference.
@@ -1,33 +0,0 @@
1
- ---
2
- name: stores
3
- description: "Ecommerce — product catalog with add-to-cart. Co-loads ecom (cart/checkout) and gift-cards (passive)."
4
- triggers: ["sell", "ecommerce", "store", "shop", "products", "merchandise", "catalog", "merch", "buy"]
5
- requires: ["ecom", "gift-cards"]
6
-
7
- features:
8
- - name: "Product catalog"
9
- description: "Browse products with images, prices, and variants. Click through to detailed product pages with add-to-cart."
10
-
11
- apps:
12
- - name: "Wix Stores"
13
- appDefId: "215238eb-22a5-4c36-9e7b-e7c08025e04e"
14
-
15
- routes:
16
- - route: "/products"
17
- - route: "/products/[slug]"
18
- name: "Product Detail" # path-derivation would produce "Products [slug]" — override with the user-facing label
19
- - route: "/category/[slug]"
20
- name: "Category"
21
-
22
- disabled: false
23
- ---
24
-
25
- # Stores Pack
26
-
27
- Loaded when the user's prompt implies selling products.
28
-
29
- > **Discovery contract.** Phase 1 reads only the frontmatter above to compose the plan's Pages table. Phase 2+ implementation (seeding, page composition, theming) lives in an upstream skill plus this skill's own `references/astro/templates/stores/` + `references/stores/INSTRUCTIONS.md`:
30
- >
31
- > - `@skills/wix-manage` ships the seeding recipes — `references/stores/setup-online-store-catalog-v3.md`, `bulk-create-products-with-options.md`, `create-product-from-image.md`.
32
- >
33
- > No per-pack `seed`, `components`, `componentsCss`, or `pages` blocks live in this skill anymore.