Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

contentful

Skill by TerminalSkills

Contentful is a skill for building websites and apps that read and write Contentful content. It covers typed Delivery API queries, rich text rendering, image URLs, draft previews and scripted publishing for TypeScript developers.

  • Score 49
  • 219 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install contentful

Built from the published package, never by AI.

git clone --depth 1 https://github.com/TerminalSkills/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/contentful ~/.claude/skills/contentful

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install contentful in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill teaches an AI assistant how to work with Contentful, an API-first headless CMS. Content is stored in typed content models and served through three APIs: the Content Delivery API for published content, the Content Preview API for drafts, and the Content Management API for writes. The skill shows how to build a typed client from entry skeletons, resolve linked entries and assets, and render rich text in React. It also covers image transformation URLs, localization, and pagination.

The skill also covers writing entries and publishing them from a script with the contentful-management package. It advises using webhooks on publish and unpublish events to trigger rebuilds. It is intended for developers who build websites or apps on top of a Contentful space and need to fetch, type, preview or publish its content.

Written from the project's SKILL.md and checked against it.

What it can do

  • Typed Delivery API clientBuilds a typed contentful.js client from entry skeletons and runs typed entry queries.
  • Linked entry resolutionResolves linked entries and assets with the include parameter and withoutUnresolvableLinks.
  • Rich text renderingRenders Contentful rich text, embedded assets and entries into React components.
  • Image transformationsBuilds asset URLs with resize, format, quality, fit and focus parameters.
  • Draft previewsSwitches the client to the Preview API with a preview token to show unpublished drafts.
  • LocalizationFetches a single locale or all locales for fields in a query.
  • Cursor paginationPages through long lists with getEntriesWithCursor instead of skip offsets.
  • Scripted writes and publishingCreates and publishes entries with the contentful-management client.
  • Webhook rebuildsRecommends triggering rebuilds or cache revalidation from publish and unpublish webhooks.

What you need

  • Node.js 20 or later
  • A Contentful space with a space ID
  • Delivery and preview API tokens
  • A management token for scripts that write content
  • contentful 11.x and contentful-management 12.x packages

Try asking

  • Show my five latest blog posts with the author name using Contentful
  • Render a Contentful rich text field as React with embedded images
  • Generate TypeScript types for my Contentful content models

Good to know

  • The Delivery API is rate limited, so the skill advises caching or static builds.
  • The Management API is slower, rate limited and not cached, so it should not be used for page rendering.
  • The management token must stay out of browser code.
  • Publishing fails if a required field is empty or a linked entry is unpublished.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/contentful/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to contentful

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

contentful: common questions

What is the difference between the Delivery, Preview and Management APIs in Contentful?

The Delivery API serves published content through the CDN, the Preview API serves drafts with a separate token, and the Management API handles writes. The skill says to use the Management API for scripts, not for page rendering.

Does this skill work with Contentful's content model types in TypeScript?

Yes. It describes typed entry skeletons for each content type and mentions a community generator, cf-content-types-generator, that targets contentful.js 10 and later.

How do I avoid broken links to unpublished entries in Contentful responses?

The skill recommends the withoutUnresolvableLinks modifier on public pages. Without it, unpublished linked entries appear as bare link objects that can break rendering.

How do I install contentful?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is contentful free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is contentful safe to use?

It scores 49 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 contentful?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

contentful Install

Add to stack

Loading.