@wix/agent-skills 1.16.0 → 1.16.2

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 (94) hide show
  1. package/package.json +1 -1
  2. package/skills/wix-app/SKILL.md +72 -8
  3. package/skills/wix-app/references/CODE_QUALITY.md +0 -1
  4. package/skills/wix-app/references/DASHBOARD_MODAL.md +21 -14
  5. package/skills/wix-app/references/DASHBOARD_PAGE.md +30 -184
  6. package/skills/wix-app/references/EDITOR_REACT_COMPONENT.md +19 -3
  7. package/skills/wix-app/references/WIX_PATTERNS_DOCS.md +172 -0
  8. package/skills/wix-app/references/dashboard-page/WDS_LAYOUT.md +187 -0
  9. package/skills/wix-app/references/editor-react-component/A11Y-REVIEW.md +12 -7
  10. package/skills/wix-app/references/editor-react-component/ANIMATED-COMPONENTS.md +31 -2
  11. package/skills/wix-app/references/editor-react-component/COMPONENT-API.md +6 -1
  12. package/skills/wix-app/references/editor-react-component/COMPONENT-CONFIGURATION.md +60 -0
  13. package/skills/wix-app/references/editor-react-component/DIRECTIONALITY.md +6 -6
  14. package/skills/wix-app/references/editor-react-component/FUNCTION-HANDLERS.md +167 -0
  15. package/skills/wix-app/references/editor-react-component/REACT-GUIDELINES.md +2 -2
  16. package/skills/wix-app/references/editor-react-component/SITE-CONTEXT-HOOKS.md +187 -0
  17. package/skills/wix-app/scripts/scan-a11y-code.cjs +777 -0
  18. package/skills/wix-app/scripts/scan-a11y-eslint.cjs +201 -0
  19. package/skills/wix-base44-connector/SKILL.md +185 -0
  20. package/skills/wix-base44-connector/scripts/utils.js +212 -0
  21. package/skills/wix-design-system/SKILL.md +19 -15
  22. package/skills/wix-docs/SKILL.md +75 -1
  23. package/skills/wix-headless/references/CAPABILITIES.md +16 -3
  24. package/skills/wix-headless/references/SDK_HANDOFF.md +1 -1
  25. package/skills/wix-headless/references/SEED.md +1 -1
  26. package/skills/wix-headless/references/inline-recipes/how-to-code-forms.md +560 -102
  27. package/skills/wix-headless/references/inline-recipes/setup-forms.md +210 -143
  28. package/skills/wix-manage/SKILL.md +20 -17
  29. package/skills/wix-manage/references/accessibility/scan-site-accessibility.md +98 -0
  30. package/skills/wix-manage/references/analytics/analytics-dashboard-navigation.md +1 -2
  31. package/skills/wix-manage/references/domains/domain-search-purchase-and-connect.md +2603 -0
  32. package/skills/wix-manage/references/events/create-wix-event.md +112 -90
  33. package/skills/wix-manage/references/events/manage-wix-events.md +33 -94
  34. package/skills/wix-manage/references/sites/create-headless-site.md +1 -0
  35. package/skills/wix-manage/references/sites/manage-oauth-apps.md +154 -0
  36. package/skills/wix-manage/references/sites/read-site-context.md +125 -0
  37. package/skills/wix-manage/references/sites/site-import.md +67 -15
  38. package/skills/wix-manage/references/stores/create-product-catalog-v3.md +273 -0
  39. package/skills/wix-replatform/resources/rp-target-wix/lib/wix-writers.js +1 -1
  40. package/skills/wix-vibe-headless/SKILL.md +2 -1
  41. package/skills/wix-vibe-headless/install/deploy.cjs +63 -3
  42. package/skills/wix-vibe-headless/platforms/base44-ecom-light-seed.md +104 -0
  43. package/skills/wix-vibe-headless/platforms/base44-ecom-light.md +74 -0
  44. package/skills/wix-vibe-headless/platforms/base44.md +15 -40
  45. package/skills/wix-vibe-headless/references/blog/INSTRUCTIONS.md +7 -11
  46. package/skills/wix-vibe-headless/references/blog/seed/SEED.md +1 -1
  47. package/skills/wix-vibe-headless/references/bookings/INSTRUCTIONS.md +7 -11
  48. package/skills/wix-vibe-headless/references/bookings/seed/SEED.md +1 -1
  49. package/skills/wix-vibe-headless/references/cms/INSTRUCTIONS.md +1 -2
  50. package/skills/wix-vibe-headless/references/events/INSTRUCTIONS.md +7 -12
  51. package/skills/wix-vibe-headless/references/events/seed/SEED.md +1 -1
  52. package/skills/wix-vibe-headless/references/members/INSTRUCTIONS.md +7 -11
  53. package/skills/wix-vibe-headless/references/portfolio/INSTRUCTIONS.md +7 -11
  54. package/skills/wix-vibe-headless/references/portfolio/seed/SEED.md +1 -1
  55. package/skills/wix-vibe-headless/references/pricing-plans/INSTRUCTIONS.md +7 -11
  56. package/skills/wix-vibe-headless/references/pricing-plans/seed/SEED.md +1 -1
  57. package/skills/wix-vibe-headless/references/restaurants/INSTRUCTIONS.md +7 -11
  58. package/skills/wix-vibe-headless/references/restaurants/seed/SEED.md +1 -1
  59. package/skills/wix-vibe-headless/references/shared/app/components/WixManageBanner.jsx +1 -1
  60. package/skills/wix-vibe-headless/references/shared/app/rest/wix-config.js +5 -3
  61. package/skills/wix-vibe-headless/references/storefront/INSTRUCTIONS.md +75 -13
  62. package/skills/wix-vibe-headless/references/storefront/app/components/ProductCard.jsx +29 -86
  63. package/skills/wix-vibe-headless/references/storefront/app/components/ProductGrid.jsx +3 -8
  64. package/skills/wix-vibe-headless/references/storefront/app/components/VariantPicker.jsx +78 -105
  65. package/skills/wix-vibe-headless/references/storefront/app/hooks/useProductCard.js +92 -0
  66. package/skills/wix-vibe-headless/references/storefront/app/hooks/useVariantOptions.js +76 -0
  67. package/skills/wix-vibe-headless/references/storefront/seed/SEED.md +1 -1
  68. package/skills/wix-vibe-headless/references/storefront/seed/seed-store.js +44 -5
  69. package/skills/wix-app/references/AUTO_PATTERNS_DASHBOARD.md +0 -326
  70. package/skills/wix-app/references/auto-patterns-dashboard/action-cell.md +0 -115
  71. package/skills/wix-app/references/auto-patterns-dashboard/app-config-structure.md +0 -264
  72. package/skills/wix-app/references/auto-patterns-dashboard/app-context.md +0 -37
  73. package/skills/wix-app/references/auto-patterns-dashboard/bulk-actions.md +0 -86
  74. package/skills/wix-app/references/auto-patterns-dashboard/collection-page-actions.md +0 -119
  75. package/skills/wix-app/references/auto-patterns-dashboard/collection-page.md +0 -103
  76. package/skills/wix-app/references/auto-patterns-dashboard/custom-actions-override.md +0 -76
  77. package/skills/wix-app/references/auto-patterns-dashboard/custom-columns-override.md +0 -82
  78. package/skills/wix-app/references/auto-patterns-dashboard/custom-components-override.md +0 -89
  79. package/skills/wix-app/references/auto-patterns-dashboard/custom-header-override.md +0 -124
  80. package/skills/wix-app/references/auto-patterns-dashboard/custom-sections-override.md +0 -91
  81. package/skills/wix-app/references/auto-patterns-dashboard/custom-slots-override.md +0 -71
  82. package/skills/wix-app/references/auto-patterns-dashboard/entity-page-actions.md +0 -70
  83. package/skills/wix-app/references/auto-patterns-dashboard/entity-page-view-actions.md +0 -73
  84. package/skills/wix-app/references/auto-patterns-dashboard/entity-page.md +0 -98
  85. package/skills/wix-app/references/auto-patterns-dashboard/example-patterns.json +0 -278
  86. package/skills/wix-app/references/auto-patterns-dashboard/pages-configuration.md +0 -94
  87. package/skills/wix-app/references/auto-patterns-dashboard/resolved-action.md +0 -43
  88. package/skills/wix-app/references/auto-patterns-dashboard/sdk-utilities.md +0 -66
  89. package/skills/wix-app/references/auto-patterns-dashboard/views.md +0 -76
  90. package/skills/wix-app/scripts/generate-auto-patterns.js +0 -510
  91. package/skills/wix-manage/references/domains/domain-search-and-purchase.md +0 -437
  92. package/skills/wix-manage/references/stores/create-product-from-image.md +0 -1031
  93. package/skills/wix-manage/references/stores/create-product-with-options-catalog-v3.md +0 -623
  94. package/skills/wix-manage/references/stores/setup-online-store-catalog-v3.md +0 -106
@@ -0,0 +1,98 @@
1
+ ---
2
+ name: "Scan a Wix Site for Accessibility Issues"
3
+ description: Run a Wix accessibility scan for a full site, one page, or every page in any supported page collection, including products, blog posts, booking services, events, and restaurant pages. Poll the asynchronous scan to completion, report failed pages separately, retrieve prioritized findings, and use the returned fix guidance to help the user resolve and verify issues.
4
+ ---
5
+
6
+ # Scan a Wix Site for Accessibility Issues
7
+
8
+ Use the public **Accessibility Scans API** to scan the authenticated Wix site and
9
+ turn the results into an actionable accessibility report. The API selects the
10
+ site from the caller's authorization context; never ask for or send a site ID.
11
+
12
+ Starting a scan requires the **Manage Accessibility Scans** permission. Reading
13
+ collections or previous results does not prove that the caller can start new
14
+ work.
15
+
16
+ ## Choose the target
17
+
18
+ Match the user's words to one target:
19
+
20
+ | User intent | Target |
21
+ |---|---|
22
+ | "Scan my site" | Full-site scope |
23
+ | "Scan this page" or a specific URL/page | One page, identified by its URL or page ID |
24
+ | "Scan all products/blog posts/menu pages/etc." | One supported page collection |
25
+
26
+ For a generated vertical page, prefer its page URL unless a unique Wix page ID
27
+ is already available. The caller never needs to know the page type.
28
+
29
+ For a collection request, first call **List Accessibility Scan Page
30
+ Collections** and match the user's intent to a returned display name. Pass its
31
+ `collectionId` unchanged to the scan. Never hardcode a list of verticals or
32
+ invent a collection ID: installed apps determine what the site currently
33
+ supports.
34
+
35
+ If the target is ambiguous, ask one short question before starting. An explicit
36
+ request to scan, check, or audit is already confirmation to create the scan job.
37
+
38
+ ## Run and read the scan
39
+
40
+ 1. Generate one UUID for this intended scan.
41
+ 2. Call **Run Accessibility Scan** once and keep the returned scan ID. Reuse the
42
+ UUID only when retrying this exact request; use a new UUID for a new scan.
43
+ 3. Poll **Get Accessibility Scan** with that scan ID. Respect each response's
44
+ suggested polling interval until the status is terminal.
45
+ 4. On `COMPLETED` or `PARTIALLY_COMPLETED`, read:
46
+ - the scan summary for totals and executed-rule coverage;
47
+ - **List Accessibility Scan Page Summaries** for every discovered page,
48
+ including clear pages and pages that failed to scan;
49
+ - **List Accessibility Scan Findings** for actionable issues. Follow cursor
50
+ paging for the result set the user requested.
51
+ 5. On `FAILED`, report the public failure guidance. Do not request findings or
52
+ present the scan as clean.
53
+
54
+ Use a findings filter when the user asks about one page, rule, severity, or
55
+ accessibility category. Do not issue a separate findings request for every page.
56
+
57
+ ## Present actionable results
58
+
59
+ Lead with the scan status and aggregate totals. Then:
60
+
61
+ - Report failed pages separately. A failed page with zero findings is
62
+ **unknown**, not clean.
63
+ - Prioritize findings by severity, then page and rule.
64
+ - For each useful finding, include the affected page and element reference,
65
+ what failed, why it matters, WCAG criteria, remediation summary, and the
66
+ ordered fix and verification steps.
67
+ - Use the returned collection and item IDs to identify the owning business
68
+ entity when a generated page must be updated through another public Wix API.
69
+ - If `humanInputRequired` is true, explain the decision needed and ask the user
70
+ instead of guessing content, intent, or design.
71
+
72
+ The scan API reports issues but does not edit the site. Get confirmation before
73
+ applying fixes through another API or editor capability. After fixes, run the
74
+ same target again with a **new** idempotency key and compare the results.
75
+
76
+ ## Recovery rules
77
+
78
+ - **Permission denied when starting a scan:** stop after the first `403` or
79
+ `PERMISSION_DENIED`. Do not retry with another URL, request shape, target, or
80
+ site. Explain that the current Wix identity cannot start accessibility scans
81
+ and must be reconnected or authorized with **Manage Accessibility Scans**.
82
+ Never imply that collection discovery means the scan ran.
83
+ - **Scan already in progress:** poll the existing scan ID returned by the error;
84
+ do not start a duplicate.
85
+ - **Scan state unknown:** read the returned scan ID until its state is known;
86
+ do not start another scan.
87
+ - **Rate limited or transient retry:** wait, then retry the same intended run
88
+ with the same idempotency key.
89
+ - **Target unavailable:** ask for a valid page or refresh the collection list.
90
+ - **Scan size limit exceeded:** never imply the site was fully scanned. Narrow
91
+ the target, preferably into supported page collections, and report the limit.
92
+ - **Partially completed:** return the usable findings and clearly list every
93
+ failed page and its failure guidance.
94
+ - **Results expired:** start a new scan only when the user still wants fresh
95
+ results.
96
+
97
+ Load the current public API reference before constructing requests so field
98
+ names, filters, permissions, and error schemas come from the live contract.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "Analytics Dashboard Navigation"
3
- description: "Builds direct links to Wix Analytics dashboard pages on manage.wix.com — highlights, reports, custom reports, per-domain overviews (traffic, behavior, sales, marketing), and performance insights/benchmarks. Pairs analytics data with its read API so you can answer a question via API and hand back a 'see it in your dashboard' link. Use when the user asks where something is in the Wix dashboard, wants a direct link to a dashboard page, or you need a dashboard URL to include with the result of an API operation."
3
+ description: "Builds direct links to Wix Analytics dashboard pages on manage.wix.com — highlights, reports, per-domain overviews (traffic, behavior, sales, marketing), and performance insights/benchmarks. Pairs analytics data with its read API so you can answer a question via API and hand back a 'see it in your dashboard' link. Use when the user asks where something is in the Wix dashboard, wants a direct link to a dashboard page, or you need a dashboard URL to include with the result of an API operation."
4
4
  ---
5
5
 
6
6
  # Analytics Dashboard Navigation
@@ -19,7 +19,6 @@ https://manage.wix.com/dashboard/{metaSiteId}/analytics/{route}
19
19
  |---|---|---|
20
20
  | Highlights | `analytics/highlights` | Key metrics at a glance |
21
21
  | Reports | `analytics/reports` | The full report library |
22
- | Custom reports | `analytics/custom-reports` | User-built reports |
23
22
  | Traffic overview | `analytics/overviews/traffic` | Sessions, sources, top pages |
24
23
  | Behavior overview | `analytics/overviews/behavior` | On-site behavior |
25
24
  | Sales overview | `analytics/overviews/sales` | Revenue and orders |