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品牌工具包的概念、设置、治理及符合品牌规范的AI生成建议。将API相关任务引导至正确的品牌工具包功能或…
official
cms-assets
contentstack
为开发者提供关于在Contentstack中组织、交付和转换资源的建议。涵盖文件夹结构、图片交付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