@wix/agent-skills 1.31.0 → 1.31.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.
- package/package.json +1 -1
- package/skills/wix-app/SKILL.md +7 -8
- package/skills/wix-app/references/DASHBOARD_PAGE.md +1 -1
- package/skills/wix-app/references/WIX_PATTERNS_DOCS.md +11 -50
- package/skills/wix-app/references/dashboard-page/DATA_SOURCES.md +14 -10
- package/skills/wix-app/references/dashboard-page/DRAFT_TEMPLATE.md +5 -8
- package/skills/wix-app/references/dashboard-page/TABLE_STATE.md +5 -4
- package/skills/wix-headless-kit/SKILL.md +15 -7
- package/skills/wix-headless-kit/guides/api-run.md +81 -26
- package/skills/wix-headless-kit/guides/existing-site.md +3 -2
- package/skills/wix-headless-kit/guides/reference-mode.md +9 -1
- package/skills/wix-headless-kit/install/AGENTS.md +7 -5
- package/skills/wix-headless-kit/install/attach.mjs +3 -3
- package/skills/wix-headless-kit/install/context.mjs +13 -3
- package/skills/wix-headless-kit/install/deploy.mjs +3 -3
- package/skills/wix-headless-kit/install/pins.json +1 -1
- package/skills/wix-headless-kit/install/setup.mjs +2 -2
- package/skills/wix-headless-kit/install/templates.mjs +2 -1
- package/skills/wix-headless-templates/blog/seed/SEED.md +1 -1
- package/skills/wix-headless-templates/blog/seed/seed-blog.mjs +2 -2
- package/skills/wix-headless-templates/bookings/seed/SEED.md +1 -1
- package/skills/wix-headless-templates/bookings/seed/seed-bookings.mjs +2 -1
- package/skills/wix-headless-templates/donations/seed/SEED.md +1 -1
- package/skills/wix-headless-templates/donations/seed/seed-donations.mjs +3 -2
- package/skills/wix-headless-templates/events/seed/SEED.md +1 -1
- package/skills/wix-headless-templates/events/seed/seed-events.mjs +3 -2
- package/skills/wix-headless-templates/portfolio/seed/SEED.md +4 -2
- package/skills/wix-headless-templates/portfolio/seed/seed-portfolio.mjs +6 -6
- package/skills/wix-headless-templates/rentals/seed/SEED.md +1 -1
- package/skills/wix-headless-templates/rentals/seed/seed-rentals.mjs +2 -1
- package/skills/wix-headless-templates/restaurants/seed/SEED.md +1 -1
- package/skills/wix-headless-templates/restaurants/seed/seed-restaurants.mjs +4 -3
- package/skills/wix-headless-templates/shared/seed/images.mjs +41 -5
- package/skills/wix-headless-templates/storefront/seed/SEED.md +17 -5
- package/skills/wix-headless-templates/storefront/seed/seed-store.mjs +21 -14
- package/skills/wix-manage/SKILL.md +25 -15
- package/skills/wix-manage/references/automations/activation-status.md +52 -0
- package/skills/wix-manage/references/automations/api-catalog.md +81 -0
- package/skills/wix-manage/references/automations/build-and-manage-automations.md +34 -0
- package/skills/wix-manage/references/bookings/create-and-update-booking-services.md +277 -363
- package/skills/wix-manage/references/custom-apps/use-app-skills-and-app-tools.md +3 -1
- package/skills/wix-manage/references/sites/send-feedback-to-wix.md +92 -0
- package/skills/wix-manage/references/sites/upload-static-site.md +258 -279
- package/skills/wix-manage/references/bookings/create-appointment-service.md +0 -243
- package/skills/wix-manage/references/bookings/create-booking-service-from-prompt.md +0 -31
- package/skills/wix-manage/references/bookings/create-class-service.md +0 -222
- package/skills/wix-manage/references/bookings/create-course-service.md +0 -251
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: "Use App Skills and App Tools"
|
|
3
|
-
description: "Discovers and runs what the apps installed on a Wix site add for AI agents: app skills, which are an app's instructions for a task (for example pricing a product for customers in another country, or checking a property listing before it is published), and app tools, which are actions and lookups an app exposes. Use when the user asks for something an installed app provides rather than a built-in Wix feature, asks what their apps can do, or names an app, skill or tool. Covers reading a chosen skill's instructions and running the app tools it allows, or running a single app tool directly."
|
|
3
|
+
description: "Discovers and runs what the apps installed on a Wix site add for AI agents: app skills, which are an app's instructions for a task (for example pricing a product for customers in another country, or checking a property listing before it is published), and app tools, which are actions and lookups an app exposes. Use every time a site has custom apps installed, before acting on the user's request: knowing which apps are installed doesn't tell what they can do, so only this skill's discovery calls show whether one of them handles the request. Also use when the user asks for something an installed app provides rather than a built-in Wix feature, asks what their apps can do, or names an app, skill or tool. Covers reading a chosen skill's instructions and running the app tools it allows, or running a single app tool directly."
|
|
4
4
|
---
|
|
5
5
|
# Use App Skills and App Tools
|
|
6
6
|
|
|
@@ -28,6 +28,8 @@ The `www.wixapis.com/_api/...` URLs below are these APIs' public endpoints; the
|
|
|
28
28
|
|
|
29
29
|
Make both calls. They are independent, so run them in parallel.
|
|
30
30
|
|
|
31
|
+
Whenever the site has custom apps installed, make both calls before deciding how to handle the user's request, even if the request doesn't seem to involve an app: you can tell whether an app handles it only from what these calls return. Make them once per site in a conversation.
|
|
32
|
+
|
|
31
33
|
**List App Skills**: `GET https://www.wixapis.com/_api/app-skills/v1/app-skills`
|
|
32
34
|
|
|
33
35
|
```bash
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "Send Feedback to Wix"
|
|
3
|
+
description: Relay the user's feedback about building with Wix — the APIs, docs, recipes, Wix MCP and tooling — to Wix, attributed to the authenticated user. Covers when to offer it, how to compose a message Wix can act on, and the call that sends it. Use when the user asks to report something to Wix, is frustrated with a Wix API or flow, or a recipe's flow fell short. Not a support channel, and not for the user's own site content.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Send Feedback to Wix
|
|
7
|
+
|
|
8
|
+
Feedback reaches the Wix teams that own the APIs, docs, recipes and tooling.
|
|
9
|
+
It is about the experience of building with Wix, not the user's site content,
|
|
10
|
+
and it is not support.
|
|
11
|
+
|
|
12
|
+
## When to offer it
|
|
13
|
+
|
|
14
|
+
Sending is the user's call; offering is yours. Offer once per issue, in plain
|
|
15
|
+
prose, and send only after the user says yes.
|
|
16
|
+
|
|
17
|
+
- **The user asks** to tell Wix something. Confirm the wording, then send.
|
|
18
|
+
- **The user is frustrated** with Wix, or reports a Wix bug. Acknowledge it,
|
|
19
|
+
then offer.
|
|
20
|
+
- **The run hit friction**: a call that failed or needed retries, an error that
|
|
21
|
+
didn't explain itself, a doc or recipe that was wrong, missing or ambiguous, a
|
|
22
|
+
workaround you had to invent, a flow that fell back to a worse route.
|
|
23
|
+
- **At the end of a run** that hit any of these, even ones you recovered from.
|
|
24
|
+
|
|
25
|
+
When you offer, invite the user to add their own words. Never send without a
|
|
26
|
+
yes, never twice for the same issue, and never for a single transient error.
|
|
27
|
+
|
|
28
|
+
## Compose the message
|
|
29
|
+
|
|
30
|
+
Wix receives free text. A bare sentence can't be triaged, so send a summary of
|
|
31
|
+
the whole run in four parts.
|
|
32
|
+
|
|
33
|
+
**Provenance**, as labeled lines; drop the ones that don't apply:
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
Agent / model: <the agent and model you are>
|
|
37
|
+
Wix tooling: <Wix MCP, Wix CLI, REST from a shell, ...>
|
|
38
|
+
Recipes: <the recipes this run followed>
|
|
39
|
+
Wix products and APIs: <Stores, headless drop, the upload tool, ...>
|
|
40
|
+
Site: <metaSiteId> · dashboard: <url> · live: <url>
|
|
41
|
+
Other ids: <request ids, upload ids, execution ids>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**Narrative**:
|
|
45
|
+
|
|
46
|
+
- In the user's words: what they added, verbatim. Skip when empty.
|
|
47
|
+
- What the user set out to do, and how the run went: what worked and what
|
|
48
|
+
fought back.
|
|
49
|
+
- A condensed play-by-play: the key calls, what came back, and the decisions
|
|
50
|
+
you made. Distilled, not a transcript.
|
|
51
|
+
|
|
52
|
+
**Friction points**, the heart of it. For each: the step or endpoint, the HTTP
|
|
53
|
+
status and error text, the request id, what you expected, and what you did
|
|
54
|
+
instead. Add your best guess at where the fault lives, from API behavior, API
|
|
55
|
+
schema, API docs, docs articles or examples, a recipe, the Wix MCP, Wix
|
|
56
|
+
tooling, or unsure, and say whether you confirmed it. "Unsure" beats a wrong
|
|
57
|
+
guess.
|
|
58
|
+
|
|
59
|
+
**Bottom line**: one or two sentences naming the most important problem and
|
|
60
|
+
its impact.
|
|
61
|
+
|
|
62
|
+
Show the user the final wording before sending. Leave out tokens, API keys and
|
|
63
|
+
credentials, and any personal data the feedback doesn't need.
|
|
64
|
+
|
|
65
|
+
## Send it
|
|
66
|
+
|
|
67
|
+
The call identifies the user, so it takes a user identity: a token from
|
|
68
|
+
`npx @wix/cli@latest token`, or account scope in a script. A site-scoped token
|
|
69
|
+
is refused as anonymous.
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
curl -sS -X POST "https://www.wixapis.com/mcp-serverless/v1/headless-feedback" \
|
|
73
|
+
-H "Authorization: Bearer $ACCESS_TOKEN" -H 'Content-Type: application/json' \
|
|
74
|
+
-d '{"message":"<the composed message>"}'
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
In an `ExecuteWixAPI` script, with the message as one text file in the `files`
|
|
78
|
+
param:
|
|
79
|
+
|
|
80
|
+
```javascript
|
|
81
|
+
async function run() {
|
|
82
|
+
return await wix.request({ scope: 'account', method: 'POST',
|
|
83
|
+
url: 'https://www.wixapis.com/mcp-serverless/v1/headless-feedback',
|
|
84
|
+
body: { message: files[0].content } });
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
| Response | Meaning |
|
|
89
|
+
| --- | --- |
|
|
90
|
+
| `200` with `{}` | Sent. Tell the user. |
|
|
91
|
+
| `500` "Unable to determine target user id, anonymous messages are not allowed" | The token was site-scoped. Get a user token and send once more. |
|
|
92
|
+
| `401` or `403` | The CLI login expired. Run `npx @wix/cli@latest login`, get a new token, and send once more. If it fails again, show the user the response. |
|