Skip to content
InfratoApp
InfratoApp / Resources / Agent skills / contentful-nextjs

contentful-nextjs

contentful-nextjs is an agent skill published by contentful, listed under writing code. It lives in the contentful/skills repository, which has 39 GitHub stars and is licensed under MIT; we last read it on 2026-09-16.

This repository adds and configures Contentful in an existing Next.js project by installing the JavaScript SDK, setting up environment variables, and creating production and preview-aware clients. It also includes fetching content in App Router or Pages Router and setting up Draft Mode preview flows.

Install

skills is a generic installer for any repository of Claude agent skills -- it reads contentful/skills’s own structure rather than assuming one, the same way this page reads the skill’s own SKILL.md rather than assuming a format.

npx skills add contentful/skills

Maintenance

Stars
39
State
listed
Licence
MIT
From the repository

Add and configure Contentful in an existing Next.js project. Covers installing the JavaScript SDK, configuring environment variables, creating production and preview-aware clients, fetching content in App Router or Pages Router, and wiring Draft Mode preview flows. Use when users ask to integrate Contentful with Next.js, fetch entries, set up preview or draft content, or configure the Contentful client. Also triggers on "Contentful SDK Next.js", "contentful.js", "fetch Contentful entries", "get content from Contentful", "Contentful preview", "preview mode", "Contentful environment variables", "Contentful client setup", "create Contentful client", "Pages Router Contentful", "getStaticProps Contentful", "Server Components Contentful", "revalidate Contentful", "ISR Contentful". Not for personalization or Experiences SDK setup (contentful-personalization). Not for non-Next.js frameworks (contentful-guide can route to platform docs).

contentful-nextjs compared with similar skills

contentful-nextjs compared with other skills for the same job, by publisher, what it does, repository stars and last update
SkillPublisherWhat it doesRepo starsLast update
contentful-nextjs (this page)contentfulAdd and configure Contentful in an existing Next.js project. Covers installing the JavaScript SDK, configurin…392026-10-23
contentful-custom-app-from-scratch(same repository)contentfulDesign, scaffold, build, and validate a new Contentful App Framework custom app for a customer's own reposito…392026-10-23
web-artifacts-builderanthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tec…183,8452026-10-09
test-driven-developmentaddyosmaniDrives development with tests using the red-green-refactor loop. Use when implementing any logic, fixing any…110,6112026-10-13
animate-expoemilkowalskiBuild animations in React Native and Expo, making the decisions in the order that determines whether they fee…49,7152026-10-11
cli-creatoropenaiBuild a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, a…28,3102026-09-08
google-ads-api-account-diagnosticsgoogleDiagnoses Google Ads account performance issues such as conversion loss (value or volume), low lead flow/volu…21,5802026-10-25

Skills from the same repository first, then others for this job by repository stars. Figures are from each repository when we last read it.

Common questions about contentful-nextjs

What does contentful-nextjs do?
This repository adds and configures Contentful in an existing Next.js project by installing the JavaScript SDK, setting up environment variables, and creating production and preview-aware clients. It also includes fetching content in App Router or Pages Router and setting up Draft Mode preview flows.
How do I install contentful-nextjs?
Run npx skills add contentful/skills. The skills installer reads the repository’s own structure, so it works for any repository of agent skills.
Who publishes contentful-nextjs?
contentful.
Is contentful-nextjs maintained, and what licence does it use?
Its repository has 39 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-10-23. The repository declares the MIT licence.

More agent skills for writing code

All writing code entries →

Learn this on Infrato