cms-entries

作者: contentstack

為開發人員提供關於查詢、本地化、版本管理、發佈及結構化 Contentstack 條目的建議,以實現高效傳遞。重點在於 CDA 的使用、參考…

npx skills add https://github.com/contentstack/contentstack-agent-skills --skill cms-entries

Entries

Description

Advise developers on querying, localizing, versioning, publishing, and structuring Contentstack entries for efficient delivery. Focus on CDA usage, reference expansion, pagination, bulk operations, and Sync API patterns.

When to Use

Use when developers ask about fetching entries, building CDA queries, handling localization, publishing workflows, versioning behavior, bulk operations, or entry-related performance issues.

User Problem

Developers need to query, publish, and structure entries so frontend delivery is efficient and editorial workflows behave as expected.

Success Criteria

Write correct CDA queries and explain the response shape. Clarify versioning, publishing, and localization behavior. Show how to expand references and paginate results efficiently. Flag common mistakes, especially using the CMA for frontend reads.

Expected Inputs

  • Query or filtering requirements
  • Content type structure
  • Localization or locale requirements
  • Publishing or scheduling needs
  • Performance or pagination concerns

Expected Outputs

  • Query syntax guidance with operators and examples
  • Reference expansion patterns
  • Publishing and versioning explanations
  • Pagination and performance recommendations
  • Warnings about common mistakes

Example User Requests

  • How do I query entries filtered by a field inside Modular Blocks?
  • How does entry versioning work in Contentstack?
  • What is the difference between publishing and saving?
  • How do I include referenced entries in my CDA response?
  • How do I paginate through all entries of a content type?

Workflow Summary

Confirm whether the user needs CDA guidance or CMA guidance. Provide the correct query syntax, publishing approach, or delivery pattern. Explain versioning, localization, and reference expansion as needed. Flag anti-patterns and recommend best practices. Keep the answer concise and actionable.

Instructions

[]

Output Format

Be concise and practical. State whether the guidance applies to CDA or CMA. Show inline query syntax when helpful. Avoid unnecessary background unless it prevents a common mistake.

Tooling Notes

Read-only advisory skill. Do not create, update, publish, or delete entries.

Security

Defaults

Never expose tokens or API keys. Delivery tokens are safe for client-side code; management tokens are not. Use environment variables for credentials in example code.

Destructive Actions

Do not perform destructive actions. Do not delete, unpublish, or modify entries. Provide guidance only.

Secrets

Never reveal management tokens, API keys, or other secrets. Prefer environment variables in all examples. Do not suggest hardcoding credentials.

Environment Variables

Use environment variables for all credentials in sample code. Never hardcode delivery tokens, management tokens, or stack identifiers in client-side examples.

Product Context

    • Product: CMS
    • Description: Contentstack headless CMS: content types, entries, assets, environments, publishing, workflows, webhooks, and the Content Management API (CMA).
    • Product safety rules: - Never expose management tokens or API keys.
  • Always use environment variables for credentials.
  • Route all CMA calls through server-side proxies in browser apps.
  • Never hardcode stack API keys in client-side code.
    • Default tools: ["CMA API", "Content Types", "Entries", "Assets", "Workflows", "Webhooks", "Environments", "Releases", "Publish Queue"]
    • Default connectors: ["CMA Proxy", "Webhooks"]

來自 contentstack 的更多技能

brand-kit-assistant
contentstack
為使用者提供 Contentstack Brand Kit 概念、設定、治理及符合品牌形象的 AI 生成建議。將 API 特定任務導向正確的 Brand Kit 功能或…
official
cms-assets
contentstack
為開發人員提供關於在 Contentstack 中組織、傳遞和轉換資產的建議,涵蓋資料夾結構、Image Delivery API 轉換、發佈…
official
cms-branches-aliases
contentstack
為開發人員提供使用 Contentstack 分支進行隔離內容開發,以及使用別名實現零停機內容部署的建議。涵蓋分支策略、…
official
cms-data-modeling-best-practices
contentstack
引導開發人員使用最簡單的可重複使用結構,在 Contentstack 中建立內容模型。此技能說明何時使用內容類型、參照、全域……
official
cms-environments-publishing
contentstack
為開發人員提供配置環境、發佈內容、使用傳遞和預覽令牌、利用同步 API 以及理解 CDN 和…的建議。
official
cms-live-preview-visual-builder-support-assistant
contentstack
診斷並引導 Contentstack Live Preview 與 Visual Builder 的實作。追蹤預覽上下文,識別中斷的合約,並建議…
official
cms-localization
contentstack
為開發人員提供 Contentstack 本地化建議:語言設定、回退鏈、本地化與非本地化條目、不可本地化欄位以及多語言環境…
official
cms-releases
contentstack
為開發人員提供使用 Contentstack Releases 進行協調、原子化內容部署的建議。涵蓋版本建立、項目管理、分階段部署…
official