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 SlateBy SlateMIT licencev1.0.0

Add it to your agent

npx skills add slatehq-repo/marketing-skills --skill slate-cms-site

Works in Claude Code, Cursor, Codex and other agents that read skills. Or copy the skill into your agent's skills folder (for Claude Code, .claude/skills/slate-cms-site/).

DownloadView on GitHub

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

## 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.

Reference files

The skill loads these when it needs them. They install with it.

Run these skills on live data in Slate

Slate brings keyword data, Search Console, GA4 and how ChatGPT, Perplexity and Google AI answer about your brand into one workspace, so every skill runs on real numbers.