Index of every page on this site: llms.txt
All skills
wix avatar

/wix-app

@e2bc48e official
by Wix.comwix/skills40 stars
42
Run it yourself

Build and review Wix CLI app extensions — dashboard pages, modals, plugins, menu plugins, custom element widgets, Editor React components, site plugins, embedded scripts, context providers, function libraries, lightbox (popup) behavior, page onLoad contexts, backend APIs, backend events, service plugins, data collections, and App Market readiness. Use when building ANY feature or extension for a Wix CLI app or preparing a Wix app for App Market review. Triggers on: add, build, create, implement, help me, dashboard, widget, plugin, backend, API, event, collection, embedded script, service plugin, Editor React component, context provider, function library, onLoad, on page load, checkout, shipping, tax, discount, SPI, CMS, schema, tracking, popup, lightbox, admin panel, menu item, modal, validate, test, verify, register extension, App Market, app review, submission readiness.

Use this Skill: https://skilld.dev/gh/wix/skills/wix-app

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescontext-providervertical-contextsbookingsservice-3.md

≈1.6k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Bookings context: @wix/bookings/context/service (part 3 of 5)

This context's reference is split across 5 files: service.md, service-2.md, service-3.md, service-4.md, service-5.md.

Read Importing a Context in Code first. Import only the hook, from @wix/bookings/context/service.

Image
Property Type Description
uri string | undefined The image URI.
url string
name string | undefined
height number | undefined
width number | undefined
animated boolean | undefined
crop Crop | undefined
quality number | undefined
alt string | undefined
Link
Property Type Description
href string | undefined The link URL. For partial links (see pageRole), this is the router prefix (e.g. https://www.my-site.com/prefix) rather than a fully resolved URL.
target LinkTarget | undefined Where this link should open. - '_self' — opens in the same page. - '_blank' — opens in a new tab.
rel string | undefined
pageRole string | undefined Page role identifier. Present only on partial links, where only the router prefix is known and the full URL format is owned by the Router/App. Applications can use such links in functions to resolve the complete URL at runtime (e.g. for binding links). Resolved links will not have this field.
ServicePriceData
Property Type Description
rateType RateTypeWithLiterals | null
price string | null
priceAfterDiscount string | null
discountName string | null
calculatedAtCheckout boolean
subscriptionFrequency FrequencyTypeWithLiterals | null
isFree boolean
ServiceOptionsAndVariants$1
Property Type Description
_id string | null | undefined ID of the serviceOptionsAndVariants object.
serviceId string | null | undefined ID of the service related to these options and variants.
options ServiceOptions | undefined Service options. Note that currently only a single option is supported per service.
variants ServiceVariants | undefined Information about the service's variants.
minPrice Money$1 | undefined Price of the cheapest service variant.
maxPrice Money$1 | undefined Price of the most expensive service variant.
revision string | null | undefined Revision number, which increments by 1 each time the serviceOptionsAndVariants object is updated. To prevent conflicting changes, the current revision must be passed when updating and deleting the serviceOptionsAndVariants object. Ignored when creating a serviceOptionsAndVariants object.
extendedFields ExtendedFields$2 | undefined Extensions enabling users to save custom data related to service options and variants.
PricingOption
Property Type Description
optionId string | null
type ServiceOptionType | null
name string | null STAFF_MEMBER options have none; null means the caller supplies a generic heading.
choices PricingOptionChoice[]
OfferedDay
Property Type Description
day string
CourseAvailability
Property Type Description
totalCapacity number | null
remainingCapacity number | null
ServiceItemStaffMember
Property Type Description
image Image | null
staffMemberId string
name string | null
locationCoverage StaffLocationCoverage | undefined Absent when the coverage wasn't returned — callers treat that as "works everywhere".
VisualMedia
Property Type Description
src string The URL of the media file
slug string | undefined The slug for the media
description string | undefined Description of the media for accessibility purposes
title string | undefined The title of the media
height number | undefined The height of the media in pixels
width number | undefined The width of the media in pixels
action { link: string | Link; } | undefined An action when the item is clicked
type "image" | "video"
parameters ImageParameters | VideoParameters | undefined
ServiceLocationItem
Property Type Description
type "business" | "custom" | "customer" business: one of the business locations. custom: an address. customer: the customer's place.
text string | null The business location's name or the address. Null for the customer's place: label it in your own words.
ServiceBookability
Property Type Description
state AvailabilityState
isAvailableForBooking boolean
bookingOpensAt Date | null
ServicePreference
Property Type Description
serviceId string
slug string | undefined
serviceType ServiceTypeWithLiterals | undefined
slotStart string | null | undefined
slotEnd string | null | undefined
eventId string | null | undefined
scheduleId string | undefined
sessionId string | null | undefined
locationId string | undefined
locationType "CUSTOM" | "BUSINESS" | "CUSTOMER" | undefined
resources ResourceSelection[] | undefined
selectedVariants SelectedVariant[] | undefined
addOns AddOn[] | undefined
durationChoiceId string | undefined
durationInMinutes number | undefined A chosen duration in minutes, sent as customerChoices.durationInMinutes. With add-ons the API requires it to equal the service duration plus theirs, so writers usually omit it.
requestedGender "ANY_FEMALE" | "ANY_MALE" | undefined

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warningstoday4 checks · Risk SAFE
  • Gen Agent Trust Hubtoday

    This skill provides a comprehensive environment and set of tools for building Wix CLI app extensions. It includes detailed instructions, API references, and local utility scripts for development tasks like SDK lookup and accessibility auditing. All operations and dependencies are standard for the Wix developer platform.

  • Sockettoday

    1 alert: gptAnomaly

  • Snyktoday

    Risk: MEDIUM · 1 issue

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e2bc48e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 6 days ago
compatibility
requires `@wix/cli` >= 1.1.192.

README badge

README badge for wix/skills/wix-app

Builds dashboard pages, modals, plugins, custom widgets, Editor React components, backend APIs, events, service plugins, and data collections for Wix CLI apps. Provides decision logic, API patterns, and validation workflows; scaffolding is owned by the Wix CLI via `wix generate --params`.

Generated from the current SKILL.md.

What extension types does this skill cover?
All Wix CLI app extension types: dashboard pages, modals, plugins, menu plugins, custom element widgets, Editor React components, site plugins, embedded scripts, backend APIs, backend events, service plugins, and data collections.
Does this skill scaffold the extension files for me?
The Wix CLI owns scaffolding via `wix generate --params` for all extension types except Backend API. This skill provides decision logic, API guidance, and business-logic patterns to fill in the generated stubs. Backend API files must be created manually.
What Wix CLI version is required?
The skill requires @wix/cli >= 1.1.192.
Do I need to create a Data Collection extension for app-specific data?
Yes, if you're saving or persisting app-specific data, managing domain entities in a dashboard, or running a service plugin that reads app-configured data. The skill infers this automatically—you don't need to explicitly request it.
Does this skill cover Wix Stores API usage?
Yes. When using any Wix Stores API (products, inventory, orders), the skill requires dual V1/V3 catalog support and references the Stores Versioning guide for module selection and field mapping.

Generated from the current SKILL.md. These answers refresh after source changes.