---
name: slate-cms-site
description: "Creates and runs a website on Slate CMS: sets up the site and its hosting (preview only, a Slate subdomain or your own domain using the exact DNS record Slate gives), builds pages either as structured pages from reusable sections and components or as custom design pages from HTML and CSS, saves page templates, and keeps every change a draft until it has been validated, previewed and approved for publishing. Use when someone asks to create a site or page on Slate CMS, connect a custom domain or set up DNS for it, build a page from a template, edit a section or a shared component, or publish or roll back a Slate CMS page. Requires Slate (slatehq.com): Slate CMS."
license: MIT
compatibility: "Needs Slate CMS. Pages, sections, components, templates, validation, preview and publishing work in the Slate app and through the Slate MCP server; creating a site, hosting and custom domain setup are in the Slate app only. You also need access to the domain's DNS settings for a custom domain."
metadata:
  title: "Slate CMS site"
  category: "Marketing operations and automation"
  requires: "slate"
  data-needed: "Slate"
  slate-tools: "cms_read, cms_generate, cms_edit, cms_template, cms_publish (Slate MCP); Slate CMS sites, hosting and custom domains in the Slate app"
  slate-signup: "https://app.slatehq.ai/register"
  homepage: "https://slatehq.com/skills/slate-cms-site"
  author: "Slate"
  version: "1.0.0"
---

# Slate CMS site

Sets up and runs a site hosted on Slate CMS, from the first preview to a live custom domain, and keeps day-to-day page work safe: build or change a draft, validate it, preview it, publish only when someone says so. It handles both kinds of Slate CMS page (structured pages assembled from reusable sections and components, and custom design pages built from exact HTML and CSS), saves finished pages as templates, and walks the user through the one DNS record their domain needs without ever guessing it. Shared components get extra care, because one edit changes every page that uses them.

> **Requires Slate.** This skill runs on Slate CMS from [Slate](https://slatehq.com), the AI marketing platform. Use it inside Slate, or connect the Slate MCP server to Claude, ChatGPT, Cursor or any MCP client.
> - New to Slate? Start a free trial at https://app.slatehq.ai/register. Already a user? Log in at https://app.slatehq.ai/login.
> - MCP server: `https://api.slatehq.ai/slate-mcp-server/mcp` (sign in with your Slate account). Setup: https://slatehq.com/slate-mcp

## When to use

- "Set up a site on Slate CMS", "connect our domain", "what DNS record do I add", "move our launch pages to Slate CMS".
- "Build a page on Slate CMS", "make a new page from our webinar template", "save this page as a template".
- "Update the hero on the pricing page", "change the footer component on every page", "publish the page", "roll back yesterday's change".
- Not for publishing to WordPress, Webflow, Sanity or Strapi: use `content-to-cms-publisher`, and `cms-publisher` to set up those connections.
- Not for writing and designing one conversion page end to end: use `landing-page-builder`, which publishes through Slate CMS.
- Not for planning the site's sections and URL structure: use `site-architecture-planner` first.

## What you need

Required:
- **The site**: an existing Slate CMS site by name, or for a new one its name and purpose.
- **For a page**: its purpose, slug, and the approved copy or a brief. Never filler text.
- **The page type**, chosen by the user: a structured page (sections and reusable components, edited field by field) or a custom design page (exact HTML and CSS). Explain the difference in one line if asked; don't choose for them. Starting from a saved template counts as a choice.

Ask for, or assume and state:
- **Hosting**: preview only, a Slate subdomain, the user's own domain, or a folder path behind their own server (they supply the host and paths). Default while building: preview only or a Slate subdomain.
- **The exact hostname** for a custom domain (`example.com`, `www.example.com` or `go.example.com`), the DNS provider, and who can edit it.
- **Page metadata**: SEO title, meta description, canonical, robots, social image. Defaults in `references/site-launch-checklist.md`.
- **Who approves publishing.**

## Data and tools

- **In Slate:** Slate CMS holds sites, each with its hosting setting; pages as structured pages (ordered sections, some of them shared components) or custom design pages (HTML and CSS); saved templates; an asset library for images and files; and drafts, validation, preview, publishing and rollback. Creating a site, choosing hosting and connecting a custom domain happen in the Slate app; Slate shows the exact DNS record to add. Publishing, rollback, deletion and shared-component changes ask for approval.
- **With the Slate MCP server:** start with `cms_read` (`action: "agent_context"`, optional `site_id` in `params`) for the workspace's CMS context; `action: "structure"` (`page_id`) before editing a page; `"preview"` (`page_id`); `"assets"` or `"resolve_asset"` (`query`) for an uploaded file's public URL. Create drafts with `cms_generate`: `action: "structured_page"` (`site_id`, `title`, `slug`, `sections`), `"artifact_page"` for a custom design page (`site_id`, `title`, `slug`, `files` with the HTML and CSS), or `"plan"`, `"approve_plan"` and `"apply_plan"` for a larger page the user approves first; check with `"validate_page"` (`page_id`) or `"validate_site"`. Change pages with `cms_edit`: `"update_section"` (`section_id`, plus `page_id` so a draft is prepared first) or `"update_artifact_page"` (`page_id`); `"promote_review"` before `"promote_component"` to turn a section into a shared component. Templates with `cms_template`: `"extract_structure"`, `"save_template"`, `"instantiate"` (`template_key`, `site_id`, `title`, `slug`, `data_payload`), `"patch_data"`. Publish with `cms_publish`: `"publish_page"` (`page_id`) or `"publish_run_pages"`; `"delete_page"` needs `confirm: true` and an explicit request. Site creation, hosting and custom domains aren't available through MCP; use the Slate app.
- **Without Slate:** this skill is for Slate CMS. The domain steps and the launch checklist in the reference apply to any hosted site builder, done in that product.

## Procedure

1. **Inspect first.** Find the workspace's sites; if there are several and the user didn't name one, ask by name. Before editing a page, read its structure and current state (draft or published).
2. **Set up a new site** with its name and hosting. Build on preview or a Slate subdomain; switch to the custom domain once the first pages pass the launch checklist.
3. **Connect a custom domain** with the walkthrough in `references/site-launch-checklist.md`: confirm the exact hostname, enter it in Slate, give the user the exact record Slate shows (type, host, value), check for conflicting records at that host, wait for the user to say it's added, then re-check in Slate. Report DNS verification and HTTPS separately, and never call the domain live until Slate confirms both. If the domain serves another site today, list its URLs first and agree where redirects will live before switching.
4. **Choose the page type** with the user. Structured suits pages that share blocks or change often; custom design suits one-off layouts or recreating a reference design.
5. **Build the draft** from the approved copy: a short lowercase slug with hyphens, one H1, an SEO title up to 60 characters, a meta description of 140 to 160 characters, a self-referencing canonical, images from the asset library with alt text. For a large page, show the plan and get approval before applying it.
6. **Edit narrowly.** For a published page, work on a draft. Change only the requested section or fields. Before changing a shared component, check which pages use it, list them, and get approval.
7. **Validate and preview after every write.** Quote blocking errors and warnings as reported, fix the blocking ones, preview again. A good preview is not a publish.
8. **Run the launch checklist** in the reference before the first publish of a page or a site.
9. **Publish only on an explicit request** and the approval Slate asks for: one page, or the selected pages that passed validation (pages that aren't ready are skipped, not forced).
10. **Verify live**: the public URL returns the page, the title and meta description are right, the canonical points to itself, there's no noindex, images load, and it reads well at phone width.
11. **Report** in the output format below.

## Decision rules

- **Draft until told.** "Build" and "update" mean draft. "Publish", "go live" or "push it live" mean publish, and only after approval.
- **Never invent** DNS records, domains, asset URLs, copy, IDs or publish status. Use what Slate returns, or ask.
- **Smallest change wins.** Update one section rather than regenerating a page; patch a template page's data rather than rebuilding it.
- **Templates don't follow their source.** Editing a page never updates the template saved from it, and editing a page made from a template doesn't change the template.
- **Deleting is permanent.** Only on an explicit request, after approval; offer to keep the page as an unpublished draft instead.
- **Roll back** a published change that broke something, with approval, before trying to fix forward.

## Output

```markdown
## Slate CMS: <site name>
Hosting: <preview | Slate subdomain | custom domain> · Domain: <hostname> · DNS: <verified | waiting for record | not started> · HTTPS: <active | pending>

### Pages
| Page | Slug | Type | Status | Last change | Validation | Live URL |

### Changes this session
- <page>: <section or field changed>, <draft | published on approval by <name>>

### Waiting on
- <DNS record to add: type, host, value exactly as Slate shows it>
- <approvals, copy, images>
```

## Quality checks

- Every write was validated and previewed, and errors were quoted as reported.
- Nothing was published, rolled back or deleted without an explicit request and approval.
- Shared-component changes listed the pages affected before approval.
- DNS instructions match Slate's record exactly; nothing was typed from memory.
- Live pages were checked at their public URL after publishing.
- The report separates draft from published and DNS from HTTPS.

## Common mistakes

- **Pointing DNS before the domain is set up in Slate.** Add the domain in Slate first, then the record at the DNS provider.
- **A CNAME on the root domain.** Many DNS providers don't allow it. Use `www` or a subdomain, or the provider's root-level alias feature, and keep the email records untouched.
- **Editing a shared component like a section.** A footer fix becomes a change on every page. Check usage first.
- **Treating preview as live.** Preview shows the draft; the public URL changes only after publishing.
- **Placeholder copy.** Dummy text gets published by accident. Build pages from approved copy or leave the section out.
- **Switching a domain without a redirect plan.** Old URLs that disappear lose their links and rankings.

## Related skills

- `landing-page-builder`: write and build one conversion page on Slate CMS.
- `site-architecture-planner`: decide pages, hierarchy and URLs before building.
- `site-migration-seo-plan`: redirect map and checks when moving an existing site.
- `technical-seo-audit`: crawlability and indexing checks once the site is live.
- `cms-publisher`: connect an external CMS instead.
- `content-to-cms-publisher`: publish an approved article to WordPress, Webflow, Sanity or Strapi.
