add-cms
Skill1 starsChanged 24 days agoMITView on GitHub
Adds a headless CMS (Sanity, Payload, Strapi, Contentful) or MDX content: content model, typed queries, draft preview, webhook revalidation, images and SEO fields. Use for marketing pages, blogs, docs, landing pages or any content the founder should edit without code.
- Reads credentials
In this repository100 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- add-ai-featureSkill
- add-authSkill
- add-i18nSkill
- add-paymentsSkill
- add-realtimeSkill
- adoptSkill
- analytics-planSkill
- api-contractSkill
- architecture-decisionSkill
- architecture-reviewSkill
- brainstormSkill
- brand-identitySkill
- bug-reportSkill
- bug-triageSkill
- changelogSkill
- ci-setupSkill
- client-demoSkill
- competitor-auditSkill
- consistency-checkSkill
- content-calendarSkill
- content-strategySkill
- create-architectureSkill
- create-epicsSkill
- create-storiesSkill
- cro-reviewSkill
- data-modelSkill
- db-migrationSkill
- dependency-auditSkill
- deploy-setupSkill
- design-reviewSkill
- design-systemSkill
- design-tokensSkill
- dev-storySkill
- e2eSkill
- email-flowsSkill
- estimateSkill
- experimentSkill
- feature-specSkill
- funnel-reviewSkill
- gate-checkSkill
- helpSkill
- hotfixSkill
- incidentSkill
- install-depsSkill
- launch-checklistSkill
- load-testSkill
- market-researchSkill
- milestone-reviewSkill
- observability-setupSkill
- onboardSkill
- perf-auditSkill
- personasSkill
- postmortemSkill
- privacy-auditSkill
- project-stage-detectSkill
- propagate-design-changeSkill
- prototypeSkill
- refactorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
If stack.cms is null, ask with trade-offs:
- Very specific: line 52
Ask: stories (recommended) or direct implementation.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add CMS
Lets non-developers edit content safely while pages stay static and fast.
Inputs
project.yaml → stack.cms,stack.frontend,i18n.localesdocs/content/content-strategy.mdanddocs/content/sitemap.md(page types)
Phases
Phase 1: Choose
If stack.cms is null, ask with trade-offs:
MDX in the repo: free, versioned, developer-editedSanity: hosted studio, real-time preview, GROQPayload: self-hosted in your Next.js app and DBStrapi: self-hosted, REST/GraphQLContentful: hosted, enterprise-friendly, pricier ADR (templateadr), thenconfig-set.sh stack.cms=<value>after approval.
Phase 2: Content model
content-lead + cms-specialist derive types from the sitemap: page, post,
author, category, landing section blocks, global settings (nav, footer). Each type
gets required SEO fields (title, description, OG image), slug rules, alt text on
images, and localisation fields if i18n.locales has more than one entry. Show the
model; ask for approval.
Phase 3: Plan
cms-specialist with the frontend specialist:
- schema/config files in the repo
- typed client and generated types; queries fetching only needed fields
- static generation by default; on-demand revalidation via a signed webhook route that revalidates exactly the affected paths
- draft/preview mode behind auth, preview secret server-only
- image pipeline via the CMS CDN with explicit sizes
- redirects when slugs change; sitemap generated from content
.env.exampleplaceholders (project ID, dataset, read token, preview secret)- tests: query mappers, the revalidation webhook (signature + paths), a Playwright check of a CMS-driven page with fixture content
Ask: stories (recommended) or direct implementation; then /create-stories or /dev-story.
Never
Expose write or preview tokens to the client; hard-code editor-owned copy in components.
Next step
/seo-audit once pages render from the CMS.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

