contentful-guide

作者: contentful

解釋 Contentful 的核心概念,並引導用戶至正確的實作技能或文件。當用戶提出概念性問題、需要術語時使用…

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

來自 contentful 的更多技能

contentful-custom-app-enhancement
contentful
改善、除錯並擴充客戶自有儲存庫中現有的 Contentful App Framework 自訂應用程式。適用於使用者提供錯誤報告、功能…
official
contentful-custom-app-from-scratch
contentful
設計、搭建、構建並驗證一個新的 Contentful App Framework 自訂應用程式,用於客戶自己的儲存庫或工作區。當使用者想要建立一個…時使用。
official
contentful-help
contentful
診斷、配置及查詢 Contentful 相關主題。觸發關鍵字:contentful help、contentful doctor、contentful setup
official
game-jam
contentful
一個引導式的遊戲創作技能,帶你逐步設計、規劃並建構一款基於瀏覽器的俄羅斯方塊遊戲。展示所有SDK基本功能:askUser、…
official
get-to-know-you
contentful
一場有趣的訪談,藉此認識使用者並產出一張個人檔案交換卡。當使用者想自我介紹,或你想打破……時使用。
official
contentful-api
contentful
全面的 Contentful REST API 指南。涵蓋用於建立/更新內容的內容管理 API (CMA),以及用於擷取已發布內容的內容傳遞 API (CDA)…
official
contentful-migration
contentful
使用 contentful-migration 函式庫和 Contentful CLI 編寫並執行 Contentful 內容模型遷移腳本。涵蓋建立、編輯和刪除…
official
contentful-nextjs
contentful
在現有的 Next.js 專案中新增並設定 Contentful。涵蓋安裝 JavaScript SDK、設定環境變數、建立生產環境及…
official