headless-cms-expert
Skill by roedyrustam
Guides developers through choosing and integrating headless CMS platforms such as Sanity, Payload CMS, Strapi, Contentful and Storyblok. It includes code patterns for schemas, GROQ queries, webhook revalidation and preview mode.
Install headless-cms-expert
Built from the published package, never by AI.
git clone --depth 1 https://github.com/roedyrustam/vibes-plug /tmp/vibes-plug && mkdir -p ~/.claude/skills && cp -r /tmp/vibes-plug/.cursor/skills/headless-cms-expert ~/.claude/skills/headless-cms-expertRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/roedyrustam/vibes-plug /tmp/vibes-plug && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/vibes-plug/.cursor/skills/headless-cms-expert ~/.gemini/antigravity-cli/skills/headless-cms-expertAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install headless-cms-expert in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is an expert guide for selecting, integrating and optimizing headless CMS platforms in modern web applications. It covers Sanity v3, Payload CMS 3.x, Strapi 5, Contentful and Storyblok. A comparison table looks at hosting, schema definition, query language, rich text, TypeScript support and visual editing.
It provides TypeScript examples for a Sanity schema, a GROQ query in a Next.js App Router server component, a Payload config with Postgres and Lexical, a webhook route that revalidates Next.js cache tags, and a Sanity draft mode route. It is aimed at developers building content-driven sites such as blogs, docs and marketing sites, or migrating from WordPress or a monolithic CMS.
Written from the project's SKILL.md and checked against it.
What it can do
- CMS selection guideCompares Sanity v3, Payload 3.x, Strapi 5, Contentful and Storyblok across several criteria.
- Sanity schemaDefines a Sanity v3 document schema in code with fields and validation.
- GROQ fetchingFetches and orders Sanity content with GROQ in a Next.js App Router server component.
- Payload setupShows a Payload CMS 3.x config with a Postgres adapter and the Lexical editor.
- Webhook revalidationRevalidates Next.js cache tags from a route protected by a webhook secret.
- Preview modeEnables Next.js draft mode so unpublished Sanity content can be previewed.
- Production checklistLists checks for ISR, preview, images, backups, CORS and CDN caching.
What you need
- Next.js project using the App Router for the code examples
- Sanity project ID for the Sanity examples
- Database connection string for the Payload CMS example
- Revalidation and preview secrets set as environment variables
Try asking
- Compare Sanity and Strapi for a small blog run by a developer team
- Write a Sanity schema for a blog post with title, slug and body
- Set up webhook revalidation in Next.js when content is published
Good to know
- Code samples assume Next.js App Router and specific library versions.
- Several domain skills it references are not included in this file.
- It provides patterns and examples, not a complete project.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .cursor/skills/headless-cms-expert/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to headless-cms-expert
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
headless-cms-expert: common questions
Which headless CMS platforms does this skill cover?
It covers Sanity v3, Payload CMS 3.x, Strapi 5, Contentful and Storyblok. The selection table compares them side by side.
How does webhook revalidation work in this skill?
A Next.js route checks an x-webhook-secret header against a secret and then calls revalidateTag with the content type. Requests without the correct secret get a 401 response.
Does it show how to preview draft content?
Yes. It includes a Sanity preview pattern that checks a secret, enables Next.js draft mode and redirects to the post slug.
How do I install headless-cms-expert?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is headless-cms-expert free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is headless-cms-expert safe to use?
It scores 52 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to headless-cms-expert?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
