@wix/agent-skills 1.15.1 → 1.16.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 (322) hide show
  1. package/README.md +3 -7
  2. package/package.json +1 -1
  3. package/skills/wix-app/SKILL.md +4 -1
  4. package/skills/wix-app/references/APP_TOOLS.md +134 -0
  5. package/skills/wix-app/references/CUSTOM_ELEMENT_WIDGET.md +1 -1
  6. package/skills/wix-app/references/DASHBOARD_PAGE.md +0 -10
  7. package/skills/wix-app/references/DATA_COLLECTION.md +1 -1
  8. package/skills/wix-app/references/EDITOR_REACT_COMPONENT.md +28 -9
  9. package/skills/wix-app/references/SERVICE_PLUGIN.md +12 -10
  10. package/skills/wix-app/references/app-tools/TOOLS.md +75 -0
  11. package/skills/wix-app/references/dashboard-page/DASHBOARD_API.md +2 -2
  12. package/skills/wix-app/references/editor-react-component/A11Y-REVIEW-REFERENCE.md +172 -0
  13. package/skills/wix-app/references/editor-react-component/A11Y-REVIEW.md +138 -0
  14. package/skills/wix-app/references/editor-react-component/ANIMATED-COMPONENTS.md +23 -2
  15. package/skills/wix-app/references/editor-react-component/BRANDED-COMPONENTS.md +29 -0
  16. package/skills/wix-app/references/editor-react-component/COMPONENT-API.md +1 -1
  17. package/skills/wix-app/references/editor-react-component/CSS-GUIDELINES.md +27 -2
  18. package/skills/wix-app/references/editor-react-component/DESIGN-STATES.md +5 -3
  19. package/skills/wix-app/references/editor-react-component/DIRECTIONALITY.md +18 -1
  20. package/skills/wix-app/references/editor-react-component/PARTS.md +15 -2
  21. package/skills/wix-app/references/editor-react-component/REACT-GUIDELINES.md +2 -3
  22. package/skills/wix-app/references/service-plugin/BOOKINGS-STAFF-SORTING.md +13 -9
  23. package/skills/wix-app/references/service-plugin/DISCOUNT-TRIGGERS.md +4 -0
  24. package/skills/wix-app/references/service-plugin/GIFT-CARDS.md +4 -0
  25. package/skills/wix-app/references/service-plugin/PAYMENT-SETTINGS.md +3 -1
  26. package/skills/wix-app/references/service-plugin/SHIPPING-RATES.md +4 -0
  27. package/skills/wix-app/references/service-plugin/TOOLS_PROVIDER.md +54 -0
  28. package/skills/wix-app/references/stores/QUERY.md +32 -0
  29. package/skills/wix-docs/SKILL.md +35 -3
  30. package/skills/wix-headless/SKILL.md +3 -1
  31. package/skills/wix-headless/references/CONTENT.md +36 -0
  32. package/skills/wix-headless/references/DESIGN.md +54 -0
  33. package/skills/wix-headless/references/DISCOVERY.md +24 -0
  34. package/skills/wix-headless/references/IMAGE_GENERATION.md +10 -0
  35. package/skills/wix-headless/references/inline-recipes/how-to-code-a-store.md +3 -2
  36. package/skills/wix-headless/references/inline-recipes/setup-online-store.md +32 -23
  37. package/skills/wix-headless/references/managed/CONNECT.md +1 -1
  38. package/skills/wix-headless/references/managed/CREATE.md +14 -0
  39. package/skills/wix-headless/references/managed/DEPLOYMENT.md +25 -0
  40. package/skills/wix-manage/SKILL.md +123 -7
  41. package/skills/wix-manage/references/analytics/analytics-dashboard-navigation.md +41 -0
  42. package/skills/wix-manage/references/app-installation/app-installation-dashboard-navigation.md +28 -0
  43. package/skills/wix-manage/references/blog/blog-dashboard-navigation.md +56 -0
  44. package/skills/wix-manage/references/blog/how-to-create-blog-posts.md +31 -6
  45. package/skills/wix-manage/references/bookings/booking-service-policy-setup.md +3 -1
  46. package/skills/wix-manage/references/bookings/bookings-dashboard-navigation.md +63 -0
  47. package/skills/wix-manage/references/bookings/diagnose-availability-issues.md +10 -1
  48. package/skills/wix-manage/references/cms/cms-dashboard-navigation.md +44 -0
  49. package/skills/wix-manage/references/cms/cms-data-items-crud.md +31 -3
  50. package/skills/wix-manage/references/cms/cms-publishing-flow.md +287 -0
  51. package/skills/wix-manage/references/cms/cms-schema-management.md +27 -1
  52. package/skills/wix-manage/references/contacts/contacts-dashboard-navigation.md +46 -0
  53. package/skills/wix-manage/references/contacts/create-a-contact.md +82 -0
  54. package/skills/wix-manage/references/contacts/update-a-contact.md +119 -0
  55. package/skills/wix-manage/references/dashboard-navigation/dashboard-navigation.md +82 -0
  56. package/skills/wix-manage/references/dashboard-navigation/routes.json +1733 -0
  57. package/skills/wix-manage/references/domains/domains-dashboard-navigation.md +32 -0
  58. package/skills/wix-manage/references/ecommerce/ecom-pricing.md +4 -4
  59. package/skills/wix-manage/references/ecommerce/ecom-shipping.md +1 -1
  60. package/skills/wix-manage/references/ecommerce/gift-cards/ecom-gift-cards-goal-sell-gift-cards.md +338 -0
  61. package/skills/wix-manage/references/ecommerce/pricing-promotions/ecom-pricing-create-discount-rule.md +42 -78
  62. package/skills/wix-manage/references/ecommerce/pricing-promotions/ecom-pricing-flow-bundle-and-save.md +1 -1
  63. package/skills/wix-manage/references/ecommerce/pricing-promotions/ecom-pricing-flow-stock-mover.md +1 -1
  64. package/skills/wix-manage/references/ecommerce/pricing-promotions/ecom-pricing-flow-upsell-boost.md +1 -1
  65. package/skills/wix-manage/references/ecommerce/recommend-ecommerce-strategy.md +90 -92
  66. package/skills/wix-manage/references/events/create-wix-event.md +176 -0
  67. package/skills/wix-manage/references/events/manage-wix-events.md +174 -0
  68. package/skills/wix-manage/references/forms/forms-dashboard-navigation.md +44 -0
  69. package/skills/wix-manage/references/get-paid/get-paid-dashboard-navigation.md +52 -0
  70. package/skills/wix-manage/references/google-ads/billing-and-payment.md +80 -0
  71. package/skills/wix-manage/references/google-ads/create-performance-max-campaign.md +212 -0
  72. package/skills/wix-manage/references/google-ads/get-campaign-suggestions.md +110 -0
  73. package/skills/wix-manage/references/google-ads/google-ads-dashboard-navigation.md +25 -0
  74. package/skills/wix-manage/references/google-ads/install-and-create-account.md +155 -0
  75. package/skills/wix-manage/references/google-ads/manage-campaign-lifecycle.md +63 -0
  76. package/skills/wix-manage/references/google-ads/query-campaign-analytics.md +155 -0
  77. package/skills/wix-manage/references/marketing/marketing-dashboard-navigation.md +52 -0
  78. package/skills/wix-manage/references/pricing-plans/create-and-update-pricing-plans.md +99 -1
  79. package/skills/wix-manage/references/pricing-plans/pricing-plans-dashboard-navigation.md +45 -0
  80. package/skills/wix-manage/references/restaurants/restaurants-dashboard-navigation.md +68 -0
  81. package/skills/wix-manage/references/restaurants/wix-restaurants-setup.md +94 -125
  82. package/skills/wix-manage/references/site-properties/change-payment-currency-site-properties.md +48 -9
  83. package/skills/wix-manage/references/site-properties/site-properties-dashboard-navigation.md +31 -0
  84. package/skills/wix-manage/references/sites/create-headless-site.md +52 -0
  85. package/skills/wix-manage/references/sites/create-site-from-template.md +2 -25
  86. package/skills/wix-manage/references/sites/site-import.md +163 -190
  87. package/skills/wix-manage/references/sites/sites-dashboard-navigation.md +29 -0
  88. package/skills/wix-manage/references/stores/add-store-pages-to-site.md +17 -1
  89. package/skills/wix-manage/references/stores/find-products-query-and-search-catalog-v3.md +26 -8
  90. package/skills/wix-manage/references/stores/stores-dashboard-navigation.md +65 -0
  91. package/skills/wix-manage/references/stores/update-product-with-options.md +39 -7
  92. package/skills/wix-replatform/.publish-manifest.json +8 -0
  93. package/skills/wix-replatform/SKILL.md +693 -0
  94. package/skills/wix-replatform/lib/artifact-freshness.js +215 -0
  95. package/skills/wix-replatform/lib/completion-report.js +200 -0
  96. package/skills/wix-replatform/lib/config-env.js +59 -0
  97. package/skills/wix-replatform/lib/execution-manifest.js +185 -0
  98. package/skills/wix-replatform/lib/execution-state.js +173 -0
  99. package/skills/wix-replatform/lib/import-recovery.js +313 -0
  100. package/skills/wix-replatform/lib/local-state.js +642 -0
  101. package/skills/wix-replatform/lib/orchestration-preflight.js +143 -0
  102. package/skills/wix-replatform/lib/orchestration-router.js +122 -0
  103. package/skills/wix-replatform/lib/orchestration-state.js +455 -0
  104. package/skills/wix-replatform/lib/progress-log.js +224 -0
  105. package/skills/wix-replatform/lib/progress-log.sh +140 -0
  106. package/skills/wix-replatform/lib/url-preservation-state.js +391 -0
  107. package/skills/wix-replatform/resources/rp-discovery/SKILL.md +184 -0
  108. package/skills/wix-replatform/resources/rp-execute-import/SKILL.md +529 -0
  109. package/skills/wix-replatform/resources/rp-execute-setup/SKILL.md +316 -0
  110. package/skills/wix-replatform/resources/rp-execute-setup/scripts/mint-token.sh +64 -0
  111. package/skills/wix-replatform/resources/rp-import-codegen/SKILL.md +1114 -0
  112. package/skills/wix-replatform/resources/rp-mapper/SKILL.md +430 -0
  113. package/skills/wix-replatform/resources/rp-mapper/lib/mapping-resolve.js +217 -0
  114. package/skills/wix-replatform/resources/rp-mapper/scripts/resolve-mapping.js +148 -0
  115. package/skills/wix-replatform/resources/rp-mapper/wix-business-solutions-taxonomy.md +378 -0
  116. package/skills/wix-replatform/resources/rp-setup-discovery/SKILL.md +183 -0
  117. package/skills/wix-replatform/resources/rp-source-csv/SKILL.md +478 -0
  118. package/skills/wix-replatform/resources/rp-source-csv/lib/canonical-record.js +136 -0
  119. package/skills/wix-replatform/resources/rp-source-csv/lib/csv-fileset.js +0 -0
  120. package/skills/wix-replatform/resources/rp-source-csv/lib/csv-fingerprint.js +310 -0
  121. package/skills/wix-replatform/resources/rp-source-csv/lib/csv-layout.js +1081 -0
  122. package/skills/wix-replatform/resources/rp-source-csv/lib/csv-parse.js +618 -0
  123. package/skills/wix-replatform/resources/rp-source-csv/scripts/csv-discovery.js +949 -0
  124. package/skills/wix-replatform/resources/rp-source-csv/source-schema.example.json +196 -0
  125. package/skills/wix-replatform/resources/rp-source-csv/vendors/bigcommerce.json +66 -0
  126. package/skills/wix-replatform/resources/rp-source-csv/vendors/magento.json +60 -0
  127. package/skills/wix-replatform/resources/rp-source-csv/vendors/shopify.json +95 -0
  128. package/skills/wix-replatform/resources/rp-source-csv/vendors/woocommerce.json +82 -0
  129. package/skills/wix-replatform/resources/rp-source-wordpress/SKILL.md +256 -0
  130. package/skills/wix-replatform/resources/rp-source-wordpress/lib/wp-http.js +249 -0
  131. package/skills/wix-replatform/resources/rp-source-wordpress/lib/wp-route-classifier.js +444 -0
  132. package/skills/wix-replatform/resources/rp-source-wordpress/scripts/wp-discovery.js +774 -0
  133. package/skills/wix-replatform/resources/rp-source-wordpress/source-schema.example.json +71 -0
  134. package/skills/wix-replatform/resources/rp-target-wix/SKILL.md +632 -0
  135. package/skills/wix-replatform/resources/rp-target-wix/SPEC-product-reviews-and-blog-authorship.md +330 -0
  136. package/skills/wix-replatform/resources/rp-target-wix/domains/README.md +21 -0
  137. package/skills/wix-replatform/resources/rp-target-wix/domains/blog/domain.json +19 -0
  138. package/skills/wix-replatform/resources/rp-target-wix/domains/blog/entities/category.json +37 -0
  139. package/skills/wix-replatform/resources/rp-target-wix/domains/blog/entities/comment.json +37 -0
  140. package/skills/wix-replatform/resources/rp-target-wix/domains/blog/entities/post.json +39 -0
  141. package/skills/wix-replatform/resources/rp-target-wix/domains/blog/entities/tag.json +35 -0
  142. package/skills/wix-replatform/resources/rp-target-wix/domains/cms/domain.json +14 -0
  143. package/skills/wix-replatform/resources/rp-target-wix/domains/cms/entities/collection.json +35 -0
  144. package/skills/wix-replatform/resources/rp-target-wix/domains/cms/entities/data-item.json +36 -0
  145. package/skills/wix-replatform/resources/rp-target-wix/domains/cms/entities/reference.json +35 -0
  146. package/skills/wix-replatform/resources/rp-target-wix/domains/crm/domain.json +14 -0
  147. package/skills/wix-replatform/resources/rp-target-wix/domains/crm/entities/contact.json +131 -0
  148. package/skills/wix-replatform/resources/rp-target-wix/domains/crm/entities/email-subscription.json +37 -0
  149. package/skills/wix-replatform/resources/rp-target-wix/domains/crm/entities/label.json +37 -0
  150. package/skills/wix-replatform/resources/rp-target-wix/domains/ecom/domain.json +21 -0
  151. package/skills/wix-replatform/resources/rp-target-wix/domains/ecom/entities/order-line-item.json +37 -0
  152. package/skills/wix-replatform/resources/rp-target-wix/domains/ecom/entities/order-refund.json +37 -0
  153. package/skills/wix-replatform/resources/rp-target-wix/domains/ecom/entities/order.json +97 -0
  154. package/skills/wix-replatform/resources/rp-target-wix/domains/index.json +528 -0
  155. package/skills/wix-replatform/resources/rp-target-wix/domains/media/domain.json +14 -0
  156. package/skills/wix-replatform/resources/rp-target-wix/domains/media/entities/media-file.json +38 -0
  157. package/skills/wix-replatform/resources/rp-target-wix/domains/media/entities/media-folder.json +37 -0
  158. package/skills/wix-replatform/resources/rp-target-wix/domains/members/domain.json +13 -0
  159. package/skills/wix-replatform/resources/rp-target-wix/domains/members/entities/badge.json +37 -0
  160. package/skills/wix-replatform/resources/rp-target-wix/domains/members/entities/member.json +53 -0
  161. package/skills/wix-replatform/resources/rp-target-wix/domains/schema.json +84 -0
  162. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/domain.json +25 -0
  163. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/entities/category.json +37 -0
  164. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/entities/coupon.json +37 -0
  165. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/entities/inventory-item.json +38 -0
  166. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/entities/product-tag.json +37 -0
  167. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/entities/product.json +90 -0
  168. package/skills/wix-replatform/resources/rp-target-wix/lib/audit-summary.js +64 -0
  169. package/skills/wix-replatform/resources/rp-target-wix/lib/contract-ledger.js +141 -0
  170. package/skills/wix-replatform/resources/rp-target-wix/lib/domain-knowledge.js +384 -0
  171. package/skills/wix-replatform/resources/rp-target-wix/lib/ndjson.js +260 -0
  172. package/skills/wix-replatform/resources/rp-target-wix/lib/stores-verification.js +238 -0
  173. package/skills/wix-replatform/resources/rp-target-wix/lib/wix-build.js +237 -0
  174. package/skills/wix-replatform/resources/rp-target-wix/lib/wix-target-spec.js +238 -0
  175. package/skills/wix-replatform/resources/rp-target-wix/lib/wix-writers.js +2219 -0
  176. package/skills/wix-replatform/resources/rp-target-wix/scripts/domain-knowledge-validate.js +31 -0
  177. package/skills/wix-replatform/resources/rp-target-wix/scripts/domain-knowledge.js +100 -0
  178. package/skills/wix-replatform/resources/rp-target-wix/scripts/verify-stores.js +107 -0
  179. package/skills/wix-replatform/resources/rp-telemetry/SKILL.md +344 -0
  180. package/skills/wix-replatform/resources/rp-telemetry/lib/bi-sink.js +250 -0
  181. package/skills/wix-replatform/resources/rp-telemetry/lib/telemetry-recorder.js +1927 -0
  182. package/skills/wix-replatform/resources/rp-telemetry/scripts/meter-from-audit.js +83 -0
  183. package/skills/wix-replatform/resources/rp-telemetry/scripts/rp-telemetry.js +141 -0
  184. package/skills/wix-replatform/scripts/artifact-freshness.js +76 -0
  185. package/skills/wix-replatform/scripts/execution-manifest-validate.js +43 -0
  186. package/skills/wix-replatform/scripts/execution-state-prepare.js +128 -0
  187. package/skills/wix-replatform/scripts/orchestration-preflight.js +48 -0
  188. package/skills/wix-replatform/scripts/orchestration-route.js +46 -0
  189. package/skills/wix-replatform/scripts/orchestration-state.js +245 -0
  190. package/skills/wix-vibe-headless/SKILL.md +48 -25
  191. package/skills/wix-vibe-headless/install/deploy.cjs +95 -0
  192. package/skills/wix-vibe-headless/install/pin-agents-md.cjs +34 -0
  193. package/skills/wix-vibe-headless/platforms/README.md +8 -4
  194. package/skills/wix-vibe-headless/platforms/base44.md +133 -98
  195. package/skills/wix-vibe-headless/platforms/generic.md +99 -64
  196. package/skills/wix-vibe-headless/references/blog/INSTRUCTIONS.md +230 -119
  197. package/skills/wix-vibe-headless/references/blog/app/components/PostCard.jsx +43 -0
  198. package/skills/wix-vibe-headless/references/blog/app/components/PostChips.jsx +25 -0
  199. package/skills/wix-vibe-headless/references/blog/app/components/PostGrid.jsx +15 -0
  200. package/skills/wix-vibe-headless/references/blog/app/context/TaxonomyContext.jsx +35 -0
  201. package/skills/wix-vibe-headless/references/blog/app/hooks/usePostDetail.js +38 -0
  202. package/skills/wix-vibe-headless/references/blog/app/pages/Blog.jsx +40 -0
  203. package/skills/wix-vibe-headless/references/blog/app/pages/CategoryPage.jsx +54 -0
  204. package/skills/wix-vibe-headless/references/blog/app/pages/PostDetail.jsx +65 -0
  205. package/skills/wix-vibe-headless/references/blog/app/pages/TagPage.jsx +50 -0
  206. package/skills/wix-vibe-headless/references/blog/seed/SEED.md +103 -0
  207. package/skills/wix-vibe-headless/references/blog/seed/seed-blog.js +270 -0
  208. package/skills/wix-vibe-headless/references/bookings/INSTRUCTIONS.md +260 -149
  209. package/skills/wix-vibe-headless/references/bookings/app/components/BookingForm.jsx +65 -0
  210. package/skills/wix-vibe-headless/references/bookings/app/components/ServiceCard.jsx +47 -0
  211. package/skills/wix-vibe-headless/references/bookings/app/components/ServiceGrid.jsx +13 -0
  212. package/skills/wix-vibe-headless/references/bookings/app/components/SlotPicker.jsx +126 -0
  213. package/skills/wix-vibe-headless/references/bookings/app/hooks/useServiceDetail.js +108 -0
  214. package/skills/wix-vibe-headless/references/bookings/app/hooks/useServices.js +58 -0
  215. package/skills/wix-vibe-headless/references/bookings/app/lib/serviceFacts.js +95 -0
  216. package/skills/wix-vibe-headless/references/bookings/app/pages/ServiceDetail.jsx +94 -0
  217. package/skills/wix-vibe-headless/references/bookings/app/pages/Services.jsx +89 -0
  218. package/skills/wix-vibe-headless/references/bookings/{wix-bookings-checkout.js → app/rest/wix-bookings-checkout.js} +1 -1
  219. package/skills/wix-vibe-headless/references/bookings/{wix-bookings-services.js → app/rest/wix-bookings-services.js} +87 -11
  220. package/skills/wix-vibe-headless/references/bookings/seed/SEED.md +117 -0
  221. package/skills/wix-vibe-headless/references/bookings/seed/seed-bookings.js +333 -0
  222. package/skills/wix-vibe-headless/references/cms/INSTRUCTIONS.md +169 -147
  223. package/skills/wix-vibe-headless/references/cms/app/collection.config.js +31 -0
  224. package/skills/wix-vibe-headless/references/cms/app/lib/wixImage.js +18 -0
  225. package/skills/wix-vibe-headless/references/cms/{wix-cms.js → app/rest/wix-cms.js} +47 -2
  226. package/skills/wix-vibe-headless/references/cms/seed/SEED.md +145 -0
  227. package/skills/wix-vibe-headless/references/events/INSTRUCTIONS.md +228 -131
  228. package/skills/wix-vibe-headless/references/events/app/components/CategoryFilter.jsx +23 -0
  229. package/skills/wix-vibe-headless/references/events/app/components/EventCard.jsx +43 -0
  230. package/skills/wix-vibe-headless/references/events/app/components/EventGrid.jsx +13 -0
  231. package/skills/wix-vibe-headless/references/events/app/components/EventRegistration.jsx +29 -0
  232. package/skills/wix-vibe-headless/references/events/app/components/RsvpForm.jsx +57 -0
  233. package/skills/wix-vibe-headless/references/events/app/components/TicketPicker.jsx +78 -0
  234. package/skills/wix-vibe-headless/references/events/app/hooks/useEventDetail.js +27 -0
  235. package/skills/wix-vibe-headless/references/events/app/hooks/useEventsList.js +54 -0
  236. package/skills/wix-vibe-headless/references/events/app/hooks/useRsvpForm.js +40 -0
  237. package/skills/wix-vibe-headless/references/events/app/hooks/useTicketing.js +81 -0
  238. package/skills/wix-vibe-headless/references/events/app/pages/EventDetail.jsx +48 -0
  239. package/skills/wix-vibe-headless/references/events/app/pages/Events.jsx +36 -0
  240. package/skills/wix-vibe-headless/references/events/{wix-events-browse.js → app/rest/wix-events-browse.js} +1 -1
  241. package/skills/wix-vibe-headless/references/events/seed/SEED.md +107 -0
  242. package/skills/wix-vibe-headless/references/events/seed/seed-events.js +251 -0
  243. package/skills/wix-vibe-headless/references/members/INSTRUCTIONS.md +276 -188
  244. package/skills/wix-vibe-headless/references/members/app/components/LoginForm.jsx +101 -0
  245. package/skills/wix-vibe-headless/references/members/app/components/MemberMenu.jsx +33 -0
  246. package/skills/wix-vibe-headless/references/members/app/components/RequireAuth.jsx +21 -0
  247. package/skills/wix-vibe-headless/references/members/app/components/SocialButtons.jsx +29 -0
  248. package/skills/wix-vibe-headless/references/members/app/context/MemberContext.jsx +54 -0
  249. package/skills/wix-vibe-headless/references/members/app/hooks/useLoginForm.js +77 -0
  250. package/skills/wix-vibe-headless/references/members/app/pages/Account.jsx +36 -0
  251. package/skills/wix-vibe-headless/references/members/app/pages/Callback.jsx +32 -0
  252. package/skills/wix-vibe-headless/references/members/app/pages/Login.jsx +35 -0
  253. package/skills/wix-vibe-headless/references/members/{wix-members-auth.js → app/rest/wix-members-auth.js} +6 -3
  254. package/skills/wix-vibe-headless/references/members/install/Register.jsx +22 -0
  255. package/skills/wix-vibe-headless/references/members/seed/SEED.md +22 -0
  256. package/skills/wix-vibe-headless/references/portfolio/INSTRUCTIONS.md +233 -104
  257. package/skills/wix-vibe-headless/references/portfolio/app/components/CollectionCard.jsx +31 -0
  258. package/skills/wix-vibe-headless/references/portfolio/app/components/CollectionGrid.jsx +15 -0
  259. package/skills/wix-vibe-headless/references/portfolio/app/components/ProjectCard.jsx +39 -0
  260. package/skills/wix-vibe-headless/references/portfolio/app/components/ProjectGrid.jsx +15 -0
  261. package/skills/wix-vibe-headless/references/portfolio/app/components/ProjectMedia.jsx +29 -0
  262. package/skills/wix-vibe-headless/references/portfolio/app/hooks/useCollectionProjects.js +35 -0
  263. package/skills/wix-vibe-headless/references/portfolio/app/hooks/usePortfolioGallery.js +27 -0
  264. package/skills/wix-vibe-headless/references/portfolio/app/hooks/useProjectDetail.js +25 -0
  265. package/skills/wix-vibe-headless/references/portfolio/app/pages/CollectionPage.jsx +39 -0
  266. package/skills/wix-vibe-headless/references/portfolio/app/pages/Portfolio.jsx +27 -0
  267. package/skills/wix-vibe-headless/references/portfolio/app/pages/ProjectDetail.jsx +60 -0
  268. package/skills/wix-vibe-headless/references/portfolio/seed/SEED.md +94 -0
  269. package/skills/wix-vibe-headless/references/portfolio/seed/seed-portfolio.js +236 -0
  270. package/skills/wix-vibe-headless/references/pricing-plans/INSTRUCTIONS.md +240 -117
  271. package/skills/wix-vibe-headless/references/pricing-plans/app/components/OrderCard.jsx +35 -0
  272. package/skills/wix-vibe-headless/references/pricing-plans/app/components/PlanCard.jsx +48 -0
  273. package/skills/wix-vibe-headless/references/pricing-plans/app/components/PlanGrid.jsx +16 -0
  274. package/skills/wix-vibe-headless/references/pricing-plans/app/components/PlanPrice.jsx +35 -0
  275. package/skills/wix-vibe-headless/references/pricing-plans/app/hooks/useMyPlans.js +25 -0
  276. package/skills/wix-vibe-headless/references/pricing-plans/app/hooks/usePlanDetail.js +28 -0
  277. package/skills/wix-vibe-headless/references/pricing-plans/app/hooks/usePlans.js +30 -0
  278. package/skills/wix-vibe-headless/references/pricing-plans/app/pages/MyPlans.jsx +30 -0
  279. package/skills/wix-vibe-headless/references/pricing-plans/app/pages/PlanDetail.jsx +53 -0
  280. package/skills/wix-vibe-headless/references/pricing-plans/app/pages/Plans.jsx +28 -0
  281. package/skills/wix-vibe-headless/references/pricing-plans/seed/SEED.md +86 -0
  282. package/skills/wix-vibe-headless/references/pricing-plans/seed/seed-pricing-plans.js +251 -0
  283. package/skills/wix-vibe-headless/references/restaurants/INSTRUCTIONS.md +248 -124
  284. package/skills/wix-vibe-headless/references/restaurants/app/components/ItemDialog.jsx +81 -0
  285. package/skills/wix-vibe-headless/references/restaurants/app/components/MenuItemCard.jsx +71 -0
  286. package/skills/wix-vibe-headless/references/restaurants/app/components/MenuList.jsx +43 -0
  287. package/skills/wix-vibe-headless/references/restaurants/app/components/OrderCartButton.jsx +21 -0
  288. package/skills/wix-vibe-headless/references/restaurants/app/components/OrderCartDrawer.jsx +60 -0
  289. package/skills/wix-vibe-headless/references/restaurants/app/context/OrderCartContext.jsx +63 -0
  290. package/skills/wix-vibe-headless/references/restaurants/app/hooks/useItemOrder.js +32 -0
  291. package/skills/wix-vibe-headless/references/restaurants/app/hooks/useReservation.js +73 -0
  292. package/skills/wix-vibe-headless/references/restaurants/app/pages/Menu.jsx +28 -0
  293. package/skills/wix-vibe-headless/references/restaurants/app/pages/Reservations.jsx +102 -0
  294. package/skills/wix-vibe-headless/references/restaurants/seed/SEED.md +180 -0
  295. package/skills/wix-vibe-headless/references/restaurants/seed/seed-restaurants.js +452 -0
  296. package/skills/wix-vibe-headless/references/shared/app/components/WixManageBanner.jsx +56 -0
  297. package/skills/wix-vibe-headless/references/shared/{wix-client.js → app/rest/wix-client.js} +6 -8
  298. package/skills/wix-vibe-headless/references/shared/app/rest/wix-config.js +6 -0
  299. package/skills/wix-vibe-headless/references/storefront/INSTRUCTIONS.md +263 -157
  300. package/skills/wix-vibe-headless/references/storefront/app/components/CartButton.jsx +20 -0
  301. package/skills/wix-vibe-headless/references/storefront/app/components/CartDrawer.jsx +150 -0
  302. package/skills/wix-vibe-headless/references/storefront/app/components/ProductCard.jsx +167 -0
  303. package/skills/wix-vibe-headless/references/storefront/app/components/ProductGallery.jsx +51 -0
  304. package/skills/wix-vibe-headless/references/storefront/app/components/ProductGrid.jsx +54 -0
  305. package/skills/wix-vibe-headless/references/storefront/app/components/VariantPicker.jsx +119 -0
  306. package/skills/wix-vibe-headless/references/storefront/app/context/CartContext.jsx +71 -0
  307. package/skills/wix-vibe-headless/references/storefront/app/hooks/useProductDetail.js +109 -0
  308. package/skills/wix-vibe-headless/references/storefront/app/hooks/useShop.js +98 -0
  309. package/skills/wix-vibe-headless/references/storefront/app/lib/storeImage.js +27 -0
  310. package/skills/wix-vibe-headless/references/storefront/app/pages/ProductDetail.jsx +139 -0
  311. package/skills/wix-vibe-headless/references/storefront/app/pages/Shop.jsx +75 -0
  312. package/skills/wix-vibe-headless/references/storefront/{wix-store-cart.js → app/rest/wix-store-cart.js} +1 -1
  313. package/skills/wix-vibe-headless/references/storefront/{wix-store-catalog.js → app/rest/wix-store-catalog.js} +20 -1
  314. package/skills/wix-vibe-headless/references/storefront/seed/SEED.md +111 -0
  315. package/skills/wix-vibe-headless/references/storefront/seed/seed-store.js +299 -0
  316. /package/skills/wix-vibe-headless/references/blog/{wix-blog.js → app/rest/wix-blog.js} +0 -0
  317. /package/skills/wix-vibe-headless/references/events/{wix-events-registration.js → app/rest/wix-events-registration.js} +0 -0
  318. /package/skills/wix-vibe-headless/references/portfolio/{wix-portfolio.js → app/rest/wix-portfolio.js} +0 -0
  319. /package/skills/wix-vibe-headless/references/pricing-plans/{wix-pricing-plans.js → app/rest/wix-pricing-plans.js} +0 -0
  320. /package/skills/wix-vibe-headless/references/restaurants/{wix-restaurants-menu.js → app/rest/wix-restaurants-menu.js} +0 -0
  321. /package/skills/wix-vibe-headless/references/restaurants/{wix-restaurants-ordering.js → app/rest/wix-restaurants-ordering.js} +0 -0
  322. /package/skills/wix-vibe-headless/references/restaurants/{wix-restaurants-reservations.js → app/rest/wix-restaurants-reservations.js} +0 -0
@@ -0,0 +1,238 @@
1
+ 'use strict';
2
+
3
+ // rp-target-wix — the DECLARATIVE Wix target spec.
4
+ //
5
+ // This module is the single source of truth for two things the pipeline used to re-derive with an
6
+ // LLM on every run:
7
+ //
8
+ // 1. CANONICAL_FIELDS — the vendor-neutral vocabulary a source adapter maps its columns onto.
9
+ // A vendor overlay's `columnMap[].wixTarget` MUST name a field in here; anything else is a
10
+ // typo or an unmodelled concept, and `validateCanonicalPath` catches it at load time instead
11
+ // of at import time.
12
+ //
13
+ // 2. STORES_V3_TARGET — how each canonical field lands in a real Wix Stores V3 payload, plus
14
+ // every trap learned by live call. This is vendor-independent: Shopify, WooCommerce, Magento
15
+ // and BigCommerce all converge here, so it is written ONCE and tested ONCE.
16
+ //
17
+ // Why declarative: the mapping between a canonical field and a Wix payload path is data, and
18
+ // treating it as data means the resolver can compute coverage (which Wix fields are fed, which
19
+ // source columns are orphaned) BEFORE any code runs. That coverage report is what shrinks the
20
+ // agentic step from "author the whole mapping" to "decide the residue".
21
+ //
22
+ // Provenance markers carried per field:
23
+ // verified — exercised by a real successful write against a live site
24
+ // unverified — shape derived from docs/schema only; must be surfaced in execution plans
25
+
26
+ // --- canonical vocabulary --------------------------------------------------
27
+ // `kind` drives deterministic coercion. `entity` says which canonical record holds it.
28
+ const CANONICAL_FIELDS = {
29
+ // product scalars
30
+ 'product.name': { entity: 'product', kind: 'string', required: true },
31
+ 'product.description': { entity: 'product', kind: 'html' },
32
+ 'product.slug': { entity: 'product', kind: 'slug' },
33
+ 'product.brand': { entity: 'product', kind: 'string' },
34
+ 'product.visible': { entity: 'product', kind: 'boolean', default: true },
35
+ 'product.productType': { entity: 'product', kind: 'string' },
36
+ 'product.seoTitle': { entity: 'product', kind: 'string' },
37
+ 'product.seoDescription': { entity: 'product', kind: 'string' },
38
+ 'product.ribbon': { entity: 'product', kind: 'string' },
39
+ // product collections
40
+ 'product.categoryPath': { entity: 'product', kind: 'string' },
41
+ 'product.tags': { entity: 'product', kind: 'stringList' },
42
+ 'product.images': { entity: 'product', kind: 'mediaList' },
43
+ // variant scalars
44
+ 'variant.sku': { entity: 'variant', kind: 'string' },
45
+ 'variant.price': { entity: 'variant', kind: 'money', required: true },
46
+ 'variant.compareAtPrice': { entity: 'variant', kind: 'money' },
47
+ 'variant.cost': { entity: 'variant', kind: 'money' },
48
+ 'variant.barcode': { entity: 'variant', kind: 'string' },
49
+ 'variant.weight': { entity: 'variant', kind: 'weight' },
50
+ 'variant.weightUnit': { entity: 'variant', kind: 'string' },
51
+ 'variant.inventoryQuantity': { entity: 'variant', kind: 'integer' },
52
+ 'variant.inventoryPolicy': { entity: 'variant', kind: 'string' },
53
+ 'variant.inventoryTracked': { entity: 'variant', kind: 'boolean' },
54
+ 'variant.requiresShipping': { entity: 'variant', kind: 'boolean' },
55
+ 'variant.taxable': { entity: 'variant', kind: 'boolean' },
56
+ 'variant.visible': { entity: 'variant', kind: 'boolean', default: true },
57
+ // variant options — positional in every vendor's flat CSV, normalized to choices[]
58
+ 'variant.option1.name': { entity: 'variant', kind: 'string', optionSlot: 1, role: 'optionName' },
59
+ 'variant.option1.value': { entity: 'variant', kind: 'string', optionSlot: 1, role: 'optionValue' },
60
+ 'variant.option2.name': { entity: 'variant', kind: 'string', optionSlot: 2, role: 'optionName' },
61
+ 'variant.option2.value': { entity: 'variant', kind: 'string', optionSlot: 2, role: 'optionValue' },
62
+ 'variant.option3.name': { entity: 'variant', kind: 'string', optionSlot: 3, role: 'optionName' },
63
+ 'variant.option3.value': { entity: 'variant', kind: 'string', optionSlot: 3, role: 'optionValue' },
64
+ // identity — never a Wix field; carried for the crosswalk and dedupe
65
+ 'product.sourceId': { entity: 'product', kind: 'string', identity: true },
66
+ 'category.sourceId': { entity: 'category', kind: 'string', identity: true },
67
+ 'variant.parentRef': { entity: 'variant', kind: 'string', identity: true },
68
+ // NORMALIZED adapter output, not a source column. The flat CSV carries positional option slots
69
+ // (variant.option1.name/value …); the adapter collapses them into these two structures, which are
70
+ // what the options/variants builders actually consume. They are never overlay-mappable — an
71
+ // overlay that claimed them would be describing a column that does not exist.
72
+ 'product.optionNames': { entity: 'product', kind: 'stringList', normalized: true },
73
+ 'variant.choices': { entity: 'variant', kind: 'choiceList', normalized: true },
74
+ // secondary description — vendors that ship both a long and a short body
75
+ 'product.shortDescription': { entity: 'product', kind: 'string' },
76
+ // The vendor idiom for "price after discount". See STORES_V3_TARGET.priceResolution: Wix models
77
+ // actualPrice (charged) + compareAtPrice (strike-through), so a regular/sale pair has to be
78
+ // resolved into that shape rather than mapped field-for-field.
79
+ 'variant.discountedPrice': { entity: 'variant', kind: 'money' },
80
+ 'variant.inStock': { entity: 'variant', kind: 'boolean' },
81
+ 'variant.width': { entity: 'variant', kind: 'dimension' },
82
+ 'variant.height': { entity: 'variant', kind: 'dimension' },
83
+ 'variant.length': { entity: 'variant', kind: 'dimension' },
84
+ 'variant.image': { entity: 'variant', kind: 'string' },
85
+ // image sub-record — assembles into product.images (kind mediaList)
86
+ 'image.url': { entity: 'image', kind: 'string', assemblesInto: 'product.images' },
87
+ 'image.altText': { entity: 'image', kind: 'string', assemblesInto: 'product.images' },
88
+ 'image.position': { entity: 'image', kind: 'integer', assemblesInto: 'product.images' },
89
+ // tag sub-record
90
+ 'tag.name': { entity: 'tag', kind: 'string' },
91
+ // category
92
+ 'category.name': { entity: 'category', kind: 'string', required: true },
93
+ 'category.description': { entity: 'category', kind: 'string' },
94
+ 'category.parentPath': { entity: 'category', kind: 'string' },
95
+ 'category.path': { entity: 'category', kind: 'string', identity: true },
96
+ 'category.visible': { entity: 'category', kind: 'boolean', default: true },
97
+ };
98
+
99
+ function validateCanonicalPath(path) {
100
+ return Object.prototype.hasOwnProperty.call(CANONICAL_FIELDS, path);
101
+ }
102
+
103
+ function canonicalFieldsFor(entity) {
104
+ return Object.entries(CANONICAL_FIELDS)
105
+ .filter(([, def]) => def.entity === entity)
106
+ .map(([path]) => path);
107
+ }
108
+
109
+ // --- Wix Stores V3 target --------------------------------------------------
110
+ // `payloadPath` is where the value lands in the create body. `via` names the structural builder
111
+ // when a field cannot be expressed as a plain path assignment (nested arrays, name-based choice
112
+ // references). Traps are recorded next to the field they bite.
113
+ const STORES_V3_TARGET = {
114
+ entity: 'product',
115
+ endpoint: 'POST /stores/v3/bulk/products-with-inventory/create',
116
+ provenance: 'verified',
117
+ // TRAP (verified 2026-07-29): the per-item results of this endpoint are nested under
118
+ // `productResults`, unlike its flat sibling /stores/v3/bulk/products/create. Reading
119
+ // `response.results` yields undefined AFTER the products are created.
120
+ responseResultsPath: 'productResults.results',
121
+ responseMetadataPath: 'productResults.bulkActionMetadata',
122
+ fields: {
123
+ 'product.name': { payloadPath: 'name', provenance: 'verified' },
124
+ 'product.description': {
125
+ payloadPath: 'plainDescription',
126
+ provenance: 'verified',
127
+ maxLength: 16000,
128
+ // Lands as `plainDescription`, NOT `description`. Per the Products V3 schema
129
+ // plainDescription is "Product description in HTML ... then converted to rich content" —
130
+ // the same conversion the Ricos endpoint performed, run server-side for free. `description`
131
+ // proper is a Ricos DOCUMENT OBJECT, so sending HTML there is a type error.
132
+ //
133
+ // TRAP: "plainDescription is ignored when a value is also passed to the description field."
134
+ // Setting both is a silent no-op on a 200 response; the writer rejects it.
135
+ // TRAP: hard cap of 16000 chars. The old Ricos path chunked at 28k and merged, so it was
136
+ // effectively unbounded — long Woo/Magento bodies that used to survive now need truncation
137
+ // or an info section, recorded in mapping-gaps.json.
138
+ note: 'html-string-converted-to-ricos-by-wix',
139
+ },
140
+ 'product.slug': { payloadPath: 'slug', provenance: 'verified', coerce: 'slug' },
141
+ 'product.brand': {
142
+ payloadPath: 'brand',
143
+ provenance: 'verified',
144
+ wrap: (value) => ({ name: value }),
145
+ note: 'brand is declared INLINE by name; bulk create resolves or creates it in the same request',
146
+ },
147
+ 'product.visible': { payloadPath: 'visible', provenance: 'verified' },
148
+ 'product.seoTitle': { via: 'seoData', provenance: 'verified' },
149
+ 'product.seoDescription': { via: 'seoData', provenance: 'verified' },
150
+ 'product.images': { via: 'media', provenance: 'verified' },
151
+ 'variant.price': { via: 'variants', provenance: 'verified' },
152
+ 'variant.compareAtPrice': { via: 'variants', provenance: 'verified' },
153
+ 'variant.sku': { via: 'variants', provenance: 'verified' },
154
+ 'variant.weight': { via: 'variants', provenance: 'verified' },
155
+ 'variant.visible': { via: 'variants', provenance: 'verified' },
156
+ 'variant.option1.name': { via: 'options', provenance: 'verified' },
157
+ 'variant.option1.value': { via: 'options', provenance: 'verified' },
158
+ 'variant.option2.name': { via: 'options', provenance: 'verified' },
159
+ 'variant.option2.value': { via: 'options', provenance: 'verified' },
160
+ 'variant.option3.name': { via: 'options', provenance: 'verified' },
161
+ 'variant.option3.value': { via: 'options', provenance: 'verified' },
162
+ },
163
+ // Constants the API demands regardless of source.
164
+ constants: {
165
+ productType: 'PHYSICAL',
166
+ // TRAP (verified): a PHYSICAL product requires an EMPTY physicalProperties object at product
167
+ // level. Omitting it 400s.
168
+ physicalProperties: {},
169
+ },
170
+ // Vendors express price as either (price, compareAt) like Shopify or (regular, sale) like Woo /
171
+ // Magento / BigCommerce. Wix models `actualPrice` (what is charged) + `compareAtPrice` (the
172
+ // strike-through), so the pair must be RESOLVED, not mapped field-for-field. Encoding the rule
173
+ // here once removes the single most repeated per-run judgement call.
174
+ priceResolution: {
175
+ rule: 'when variant.discountedPrice is present and strictly less than variant.price, it becomes actualPrice and variant.price becomes compareAtPrice; otherwise variant.price is actualPrice and variant.compareAtPrice is the strike-through',
176
+ dropCompareAtUnlessGreater: true,
177
+ note: 'vendors write 0.00 (and Woo writes an empty sale price) to mean "no discount"; Wix rejects compareAtPrice <= actualPrice',
178
+ },
179
+ // Canonical fields Wix Stores V3 has no home for. Naming them here is what lets the resolver
180
+ // report an honest "mapped but will not land" instead of silently dropping them.
181
+ unsupported: {
182
+ 'product.tags': 'Wix Stores V3 has no product-tag field; a tag taxonomy must become categories or a CMS field.',
183
+ 'tag.name': 'Same as product.tags — no native product-tag target in Stores V3.',
184
+ 'product.sourceId': 'Identity only: tracked in the crosswalk, not written to Wix (no client-settable id).',
185
+ 'variant.parentRef': 'Identity only: used to attach a variation row to its parent during extract.',
186
+ 'product.shortDescription': 'Stores V3 has one description; a second body would need an info section (not modelled here).',
187
+ 'variant.inStock': 'Fed into inventoryItem.inStock by the variants builder rather than mapped directly.',
188
+ 'variant.image': 'Per-variant media needs Wix media ids, which only exist after ingestion; requires a follow-up patch.',
189
+ 'variant.width': 'Dimension fields on the V3 variant create shape are unverified; not mapped rather than guessed.',
190
+ 'variant.height': 'Dimension fields on the V3 variant create shape are unverified; not mapped rather than guessed.',
191
+ 'variant.length': 'Dimension fields on the V3 variant create shape are unverified; not mapped rather than guessed.',
192
+ 'image.url': 'Assembled into product.images by the adapter, then emitted via the media builder.',
193
+ 'image.altText': 'Assembled into product.images by the adapter, then emitted via the media builder.',
194
+ 'image.position': 'Ordering signal only: the first media item becomes the product main media.',
195
+ 'category.path': 'Identity only: the dedupe key and crosswalk key, not a Wix field.',
196
+ 'product.productType': 'Source product-type strings are a taxonomy, not the Wix productType enum (PHYSICAL/DIGITAL).',
197
+ 'product.ribbon': 'Ribbon is a separate inline entity; not modelled by this spec version.',
198
+ 'variant.cost': 'Cost sits behind the MERCHANT_DATA fieldset and is not settable on bulk create.',
199
+ 'variant.barcode': 'No barcode field on the V3 variant create shape.',
200
+ 'variant.inventoryPolicy': 'V3 models availability, not Shopify-style deny/continue policy.',
201
+ 'variant.requiresShipping': 'Implied by productType PHYSICAL; not separately settable.',
202
+ 'variant.taxable': 'Tax behaviour is a site-level/tax-group concern, not a variant field.',
203
+ 'variant.weightUnit': 'Weight is sent in the site weight unit; the source unit only drives conversion.',
204
+ 'variant.inventoryTracked': 'V3 inventory tracking is derived from the inventory item, not a flag.',
205
+ },
206
+ };
207
+
208
+ const CATEGORY_TARGET = {
209
+ entity: 'category',
210
+ endpoint: 'POST /categories/v1/categories',
211
+ provenance: 'verified',
212
+ // TRAP (verified): treeReference is TOP-LEVEL, a sibling of `category`. Nesting it 400s
213
+ // "treeReference must not be empty".
214
+ treeReferenceIsTopLevel: true,
215
+ fields: {
216
+ 'category.name': { payloadPath: 'name', provenance: 'verified' },
217
+ 'category.description': { payloadPath: 'description', provenance: 'verified' },
218
+ 'category.visible': { payloadPath: 'visible', provenance: 'verified' },
219
+ 'category.parentPath': {
220
+ via: 'parentRef',
221
+ provenance: 'verified',
222
+ note: 'resolved through the crosswalk to parentCategory.id; requires depth-ascending create order',
223
+ },
224
+ },
225
+ constants: {},
226
+ unsupported: {},
227
+ };
228
+
229
+ const TARGETS = { product: STORES_V3_TARGET, category: CATEGORY_TARGET };
230
+
231
+ module.exports = {
232
+ CANONICAL_FIELDS,
233
+ STORES_V3_TARGET,
234
+ CATEGORY_TARGET,
235
+ TARGETS,
236
+ validateCanonicalPath,
237
+ canonicalFieldsFor,
238
+ };