Skip to content

Aetheria-Labs1/storefront-skills / skills/publish

publish

Verified

Publish a Lexsis storefront draft version that carries DESIGN_APPROVED from /design-page, /quiz, or /optimize. Use only when the user explicitly asks to release a specific page version.

FileKindSize
SKILL.mdskill md3.5 KB
agents/openai.yamlconfig404 B
references/ab-testing.mdmarkdown6.3 KB
references/ad-to-page.mdmarkdown1.3 KB
references/animation-system.mdmarkdown11.1 KB
references/anti-patterns/copy-anti-patterns.mdmarkdown12.2 KB
references/anti-patterns/cro-anti-patterns.mdmarkdown17.8 KB
references/anti-patterns/dark-patterns.mdmarkdown23.9 KB
references/anti-patterns/design-anti-patterns.mdmarkdown9.3 KB
references/anti-patterns/mobile-anti-patterns.mdmarkdown9.7 KB
references/asset-prep.mdmarkdown6.9 KB
references/assets/asset-sourcing-sequence.mdmarkdown12.2 KB
references/assets/generation-policy.mdmarkdown25.9 KB
references/assets/image-jobs-by-page-type.mdmarkdown31.8 KB
references/assets/imagery-by-vertical.mdmarkdown24.8 KB
references/assets/slot-spec.mdmarkdown20.2 KB
references/assets/video-rules.mdmarkdown17.6 KB
references/authoring/css-and-styling.mdmarkdown4.0 KB
references/authoring/source-authoring.mdmarkdown9.0 KB
references/blob-shapes.mdmarkdown1018 B
references/cart-composition.mdmarkdown7.2 KB
references/cart-profile-management.mdmarkdown17.1 KB
references/consumer-behavior-cro.mdmarkdown12.7 KB
references/copy/copy-frameworks.mdmarkdown20.5 KB
references/copy/headline-and-cta-rules.mdmarkdown12.9 KB
references/copy/message-match.mdmarkdown9.2 KB
references/copy/voice-of-customer-mining.mdmarkdown10.9 KB
references/design-assets.mdmarkdown366 B
references/design-enrichment.mdmarkdown334 B
references/design-rules.mdmarkdown15.5 KB
references/generate-collection.mdmarkdown555 B
references/generation-protocol.mdmarkdown3.2 KB
references/islands/collection-grid/index.mdmarkdown5.4 KB
references/islands/collection-swipe/index.mdmarkdown4.1 KB
references/lexsis-mcp-contract.mdmarkdown14.2 KB
references/merchant-templates.mdmarkdown2.6 KB
references/module-authoring.mdmarkdown9.0 KB
references/offers/campaign-calendar.mdmarkdown21.4 KB
references/offers/funnel-stages.mdmarkdown17.6 KB
references/offers/offer-ledger.mdmarkdown5.1 KB
references/offers/offer-strategy.mdmarkdown9.6 KB
references/offers/offer-types.mdmarkdown36.6 KB
references/offers/price-presentation.mdmarkdown18.0 KB
references/offers/urgency-scarcity.mdmarkdown17.5 KB
references/page-editing.mdmarkdown9.7 KB
references/page-files.mdmarkdown2.7 KB
references/page-types/_checklist-format.mdmarkdown11.1 KB
references/page-types/_index.mdmarkdown21.9 KB
references/page-types/collection-landing.mdmarkdown21.9 KB
references/product-grid.mdmarkdown2.0 KB
references/proof/before-after-and-claims.mdmarkdown19.2 KB
references/proof/numbers-and-counts.mdmarkdown16.0 KB
references/proof/press-and-media-mentions.mdmarkdown12.5 KB
references/proof/proof-ledger.mdmarkdown8.3 KB
references/proof/reviews-sourcing.mdmarkdown24.8 KB
references/proof/trust-badges-certifications.mdmarkdown21.8 KB
references/proof/ugc-rights-and-display.mdmarkdown16.0 KB
references/publishing.mdmarkdown2.4 KB
references/qa-recipe.mdmarkdown4.3 KB
references/quiz-authoring.mdmarkdown14.5 KB
references/resource-templates.mdmarkdown7.7 KB
references/scroll-patterns.mdmarkdown1.2 KB
references/source-artifact-workflow.mdmarkdown3.7 KB
references/styling-hooks.mdmarkdown7.8 KB
references/traffic-source-google.mdmarkdown1.6 KB
references/traffic-source-meta.mdmarkdown1.5 KB
references/traffic-source-tiktok.mdmarkdown1.5 KB
references/vertical-beauty.mdmarkdown1.8 KB
references/vertical-fashion.mdmarkdown1.7 KB
references/vertical-food.mdmarkdown1.6 KB
references/vertical-home.mdmarkdown1.7 KB
references/vertical-luxury.mdmarkdown1.6 KB
references/vertical-supplements.mdmarkdown1.7 KB
references/workflow-intent.mdmarkdown2.0 KB
references/workflows/_how-to-read.mdmarkdown2.7 KB
references/workflows/copy-workflow.mdmarkdown1.5 KB
references/workflows/island-selection-workflow.mdmarkdown4.8 KB
references/workflows/section-asset-workflow.mdmarkdown5.8 KB

references/generation-protocol.md

View on GitHub
# Compile and draft protocol

House rules in `references/design-rules.md` govern the
presentation. The source contract is `references/authoring/source-authoring.md`;
`references/source-artifact-workflow.md` owns artifact and manifest state.
Choose section order from the page-type contract, not from this protocol.

## Fast draft (new page)

1. Reuse the saved setup: workspace, store and `theme_id`; do not re-ask.
2. Resolve products with `lexsis_catalog.list` (query) then
   `lexsis_catalog.get` (`product_ids`), and assets from the bound library.
3. Compose complete source, compile it with `lexsis_pages.compile`, and fix
   every `validation_issues` entry (`section_id` names the offending section).
4. Create exactly one unpublished draft with `lexsis_page_create.create`
   (`compile_id`, `publish: false`) and return its preview URL and version
   as `DRAFT_CREATED`.

Changes to a page that already exists never create a new page: follow
`references/page-editing.md`.

## Compile exact inputs

1. Reuse the bound workspace, store and theme; read current page context for
   edits through `lexsis_pages.edit_context` and editable source through
   `lexsis_pages.source` or `lexsis_pages.section_source`.
2. Prepare complete source and any page-wide theme CSS as values, not
   mandatory files. Resolve only the interactive
   decisions through `references/workflows/island-selection-workflow.md`.
3. Call `lexsis_pages.compile` with the exact `source`, `head`, `theme_css`
   and optional `scripts` inputs. `lexsis_pages.compile_artifact` retrieves
   an existing result by `compile_id` for inspection; it does not compile.
4. Read all `validation_issues` (check + section id), `validation_errors`,
   publish validation and missing utility candidates. Repair the source rather than mutating compiled JSON.
5. Save the successful response and input hashes as compile evidence.

## Create or edit one draft

Create a new draft in the write mode from `lexsis-mcp-contract.md` (Write
Path): `npx @lexsis/cli new` in CLI mode, `lexsis_build.commit` with `create`
inline. `lexsis_page_create.create` with `compile_id` and `publish: false` is
the fallback only when `lexsis_build` is unavailable. Every later change goes
through `lexsis_build` (CLI `pull`/`push`, or inline `get` then `patch` or
`commit` with only the changed files and `base_version`), as
`references/page-editing.md` describes. The V1
`lexsis_drafts` section actions are a fallback for servers without
`lexsis_build`; `page_update_head` still owns `theme_css`.
On a version conflict, read the latest context and reconcile; do not overwrite
blindly. Return the hosted draft URL and exact version as `DRAFT_CREATED`.

## Review and release boundary

A clean compile is structural evidence, not a visual pass. Hosted design
review and commerce checks follow `references/qa-recipe.md`. `DRAFT_CREATED`
may leave review pending; `DESIGN_APPROVED` cannot be claimed without hosted
review evidence. Publication follows `references/publishing.md` and requires
explicit authorization. Report the exact state and do not equate draft
creation, approval, publication, and live HTTP verification.

The exact mutually exclusive creation inputs and hosted verification
are owned by `references/source-artifact-workflow.md`.
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall