# Publish

> QA a storefront page, create a draft preview, and publish live only after explicit user approval.

- **Type:** Skill
- **Install:** `agentstack add skill-aetheria-labs1-storefront-skills-publish`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Aetheria-Labs1](https://agentstack.voostack.com/s/aetheria-labs1)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Aetheria-Labs1](https://github.com/Aetheria-Labs1)
- **Source:** https://github.com/Aetheria-Labs1/storefront-skills/tree/main/codex/skills/publish

## Install

```sh
agentstack add skill-aetheria-labs1-storefront-skills-publish
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Publish Storefront Page

QA a storefront page, validate structure and rendering, create a draft preview, and publish live only after explicit user approval.

## Context

- **qa-recipe**: 1. **Validate structure** — call `validate_vibe_page` on the generated JSON

## Workflow

# Storefront Publishing & Lifecycle

Manage page publishing, previews, and lifecycle.

## Publish Flow

1. `validate_vibe_page` — always validate before publishing
2. `publish_vibe_page` — create a draft preview first
   - `draft: true` → preview URL only (not live on store)
3. Confirm the user explicitly wants a live publish before any `draft: false` or `publish_page` call.

## Operations

### Draft Preview (New Page)
```
validate_vibe_page(page_data)
publish_vibe_page(page_data, { draft: true })
```
Returns: page_id and preview_url

### Preview (Draft)
```
publish_vibe_page(page_data, { draft: true })
```
Returns: preview_url (not visible to store visitors)

### Publish Live (Explicit Approval Required)
```
publish_page(page_id)
```
Only call this after the user explicitly says to publish live. Makes a draft page live.

### Unpublish
```
unpublish_page(page_id)
```
Takes page offline but preserves it in DB.

### Duplicate
```
duplicate_page(page_id, { title: "New Title" })
```
Creates a copy — useful for A/B test variants.

### Create Experiment Variant
```
create_page_variation(page_id, { changes: {...} })
```
Creates variant for A/B testing.

## Prerequisites

- Store must be connected (`get_connected_stores`)
- Brand kit should exist for proper theming

## Post-Publish

After publishing, the page is served via:
- Shopify store (native page)
- pages.lexsis.app (standalone via edge worker)
- Custom domain (if tracking domain configured)

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Aetheria-Labs1](https://github.com/Aetheria-Labs1)
- **Source:** [Aetheria-Labs1/storefront-skills](https://github.com/Aetheria-Labs1/storefront-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-aetheria-labs1-storefront-skills-publish
- Seller: https://agentstack.voostack.com/s/aetheria-labs1
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
