add-cms

Wire CMS and data layers for scaffolded websites with archetype-specific setup.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/calebaero/website-factory --skill add-cms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-cms
Source: https://github.com/calebaero/website-factory/tree/main/skills/add-cms
Command: npx skills add https://github.com/calebaero/website-factory --skill add-cms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wires the CMS and data layer for a scaffolded site, coordinating starter archetypes so teams can add content and data models without manual wiring.

Core Features & Use Cases

  • Archetype-aware CMS wiring: skips CMS for brochure, seeds Sanity for editable_brochure, and configures Supabase for app_lite with optional Sanity integration when requested.
  • Environment scaffolding and seed generation: writes .env.example / notes, generates seed documents and setup guides to unblock handoff.
  • Marker/state management: updates workflowStatus and history, and surfaces credentials readiness checks for the client.

Quick Start

Run this skill after scaffolding a site to wire the CMS path and generate seed data and setup notes.

Frequently Asked Questions about add-cms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I wire a CMS and data layer into a scaffolded website?

Wiring a CMS and data layer into a scaffolded site requires archetype-aware configuration. This skill coordinates the setup by generating seed data, configuring Supabase migrations with RLS checks for apps, and scaffolding Sanity studios for editable brochures.

Do I need to manually configure Supabase migrations and RLS checks for my app?

Manual configuration of Supabase migrations and RLS checks is unnecessary for app_lite archetypes. The skill automatically configures database migrations, establishes row-level security checks, and handles optional Sanity integration to secure your data layer.

What's the best way to set up Sanity seed data for an editable brochure site?

Setting up Sanity seed data for editable_brochure archetypes is handled automatically by generating initial seed documents and scaffolding the studio. This approach unblocks content handoff by providing immediate structure for your content models without manual wiring.

Does this CMS wiring process skip static brochure sites?

Static brochure sites are skipped entirely during the CMS wiring process. The archetype-aware logic identifies static brochures and bypasses data layer configuration, focusing setup resources exclusively on editable_brochure and app_lite archetypes that require content management.

How are environment variables and credentials managed during CMS setup?

Environment variables and credentials are managed through enforced secret handling during CMS setup. The skill writes .env.example files, generates setup notes, and updates workflow markers to reflect the current credentials state for clear client handoff.

Can I integrate Sanity with a Supabase app_lite archetype?

Integrating Sanity with a Supabase app_lite archetype is supported as an optional configuration. The skill configures Supabase migrations and RLS checks first, then layers Sanity integration when requested, allowing hybrid content and database management.