contentful-guide

Giải thích các khái niệm cốt lõi của Contentful và hướng người dùng đến kỹ năng triển khai hoặc tài liệu phù hợp. Sử dụng khi người dùng hỏi các câu hỏi khái niệm, cần thuật ngữ…

npx skills add https://github.com/contentful/skills --skill contentful-guide

Contentful Guide

Use this skill as the routing and vocabulary layer for Contentful tasks.

Contentful is a headless, API-first CMS (composable content platform) where teams model content once and deliver it to many channels.

What this skill does

  1. Clarifies core terms (space, environment, environment alias, content model, content type, entry, asset, locale).
  2. Maps user intent to the right API (CDA, CPA, CMA, GraphQL, Images API).
  3. Routes implementation requests to the right skill and docs.
  4. Prevents incorrect setup by identifying when a request is not in this skill's scope.

Routing rules

  • If the user asks to add Contentful to a Next.js project, use the contentful-nextjs skill.
  • If the user asks about optimization/personalization/analytics setup or debugging, route to the contentful-personalization skill.
  • If the user asks to write content type migrations or schema changes, route to the contentful-migration skill.
  • If the user asks for concrete REST/GraphQL requests (curl examples, headers, query parameters, payload shapes for CMA/CDA/CPA/Images/GraphQL), route to the contentful-api skill.
  • If the user asks for conceptual guidance, architecture tradeoffs, or where to read docs, stay in this skill.
  • If the user asks about environment aliases and deployment workflows, stay in this skill unless they also ask for framework implementation.

API chooser

  • Use CDA for published delivery content in websites/apps.
  • Use CPA for unpublished preview content.
  • Use CMA for write operations (create/update/manage content and models).
  • Use GraphQL Content API when query shape control is preferred over REST payloads.
  • Use Images API for image transformations.

Contentful MCP note

  • The Contentful MCP server is often the easiest way to let an agent interact with Contentful.
  • Use it when the user wants conversational access to spaces, entries, and content model context without wiring SDK code first.
  • Canonical docs: https://www.contentful.com/developers/docs/tools/mcp-server/

Operating pattern

When answering with this skill:

  1. Define terms using shared vocabulary from references/lexicon.md.
  2. Pick the right docs path from references/docs-map.md.
  3. If implementation is requested, hand off using references/skill-routing.md.
  4. Keep answers concise and cite canonical docs paths.

Guardrails

  • Do not invent product capabilities, API behavior, or limits.
  • Do not provide framework code unless routing to the specialized implementation skill.
  • Prefer official docs over memory when details may be version-sensitive.

References

Thêm skills từ contentful

contentful-custom-app-enhancement
contentful
Cải thiện, gỡ lỗi và mở rộng một ứng dụng tùy chỉnh của Contentful App Framework trong kho lưu trữ riêng của khách hàng. Sử dụng khi người dùng cung cấp báo cáo lỗi, tính năng…
official
contentful-custom-app-from-scratch
contentful
Thiết kế, tạo khung, xây dựng và xác thực một ứng dụng tùy chỉnh mới của Contentful App Framework cho kho lưu trữ hoặc không gian làm việc riêng của khách hàng. Sử dụng khi người dùng muốn tạo một…
official
contentful-help
contentful
Chẩn đoán, cấu hình và tra cứu các chủ đề Contentful. Từ khóa kích hoạt: contentful help, contentful doctor, contentful setup
official
game-jam
contentful
Một kỹ năng tạo game có hướng dẫn, giúp bạn thiết kế, lên kế hoạch và xây dựng game Tetris trên trình duyệt. Minh họa tất cả các nguyên mẫu SDK: askUser,…
official
get-to-know-you
contentful
Một cuộc phỏng vấn vui nhộn để tìm hiểu người dùng và tạo ra một thẻ hồ sơ cá nhân. Sử dụng khi người dùng muốn giới thiệu bản thân hoặc khi bạn muốn phá vỡ…
official
contentful-api
contentful
Hướng dẫn toàn diện về Contentful REST API. Bao gồm Content Management API (CMA) để tạo/cập nhật nội dung, Content Delivery API (CDA) để lấy nội dung đã xuất bản…
official
contentful-migration
contentful
Viết và chạy các tập lệnh di chuyển mô hình nội dung Contentful bằng thư viện contentful-migration và Contentful CLI. Bao gồm việc tạo, chỉnh sửa và xóa…
official
contentful-nextjs
contentful
Thêm và cấu hình Contentful trong một dự án Next.js hiện có. Bao gồm cài đặt SDK JavaScript, cấu hình biến môi trường, tạo môi trường production và…
official