feat(sp-wix): Wix × Stripe Projects business-integration skill#374
Open
ozsay wants to merge 3 commits into
Open
feat(sp-wix): Wix × Stripe Projects business-integration skill#374ozsay wants to merge 3 commits into
ozsay wants to merge 3 commits into
Conversation
Standalone skill that connects Wix business services (Stores, Blog, CMS, Forms) to a Stripe Projects app after `stripe projects add wix/*` has provisioned a metasite + synced credentials to .env. The skill owns only the Wix backend work; the host keeps the frontend, build, and hosting. Flow: Discovery (infer capabilities/brand/intent) -> Setup (install apps) -> Seed (create content) -> Handoff (SDK integration guide) -> Register origin (post-deploy OAuth-app allowed-domain update, the step init normally does for hosted sites). - Standalone: only upstream is wix-manage (recipes loaded via Skill) - Pure curl against wixapis.com; token minted from .env client-credentials (no @wix/cli, no wix login, no wix.config.json) - Handoff links to live Wix SDK docs rather than inlining snippets - Descriptive, not restrictive: imperative on its own actions, imposes nothing on the host flow Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A new standalone skill,
sp-wix, that connects Wix business services (Stores, Blog, CMS, Forms) to an app managed by Stripe Projects — invoked afterstripe projects add wix/*has provisioned a Wix metasite and synced its credentials to.env.The host agent keeps the frontend, build, and hosting; this skill owns only the Wix backend work and returns an integration guide.
Flow
clientIdfrom.env, seeded IDs, and links to the live Wix SDK docs (rather than inline snippets that drift).initdoes for hosted sites; here we don't own hosting, so it's done post-deploy).Design notes
wix-manage(API recipes loaded viaSkill); no reference to thewix-headlessskill. API request shapes live inwix-manage(found by capability phrase), frontend shapes in the SDK docs.@wix/cli— purecurlagainstwixapis.com, token minted from.envclient-credentials (POST /oauth2/token).Validation (POC)
Exercised end-to-end across runs against a real Stripe project: discovery → setup → seed → handoff → frontend build → deploy → register-origin. The SDK was wired correctly (server-side SSR
listPosts), the skill read the realwix-managerecipes (not guessed shapes), read live SDK docs (no sibling-project copying), and registered the deployed origin.Known gap: the Stripe-provisioned OAuth app currently lacks
SCOPE.HEADLESS.MEGA(and OAuth-app-manage), so the admin Setup/Seed/origin calls 403 — a provider-side scope fix, tracked separately. Manually installing the Blog app confirmed the frontend renders posts once the backend exists.🤖 Generated with Claude Code