cms-entries

Tư vấn cho nhà phát triển về cách truy vấn, bản địa hóa, quản lý phiên bản, xuất bản và cấu trúc các mục Contentstack để phân phối hiệu quả. Tập trung vào việc sử dụng CDA, tham chiếu…

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"]

Thêm skills từ contentstack

brand-kit-assistant
contentstack
Tư vấn cho người dùng về các khái niệm, thiết lập, quản trị của Contentstack Brand Kit, và tạo nội dung AI đúng thương hiệu. Chuyển các tác vụ cụ thể liên quan đến API đến đúng khả năng của Brand Kit hoặc…
official
cms-assets
contentstack
Tư vấn cho nhà phát triển về cách tổ chức, phân phối và chuyển đổi tài sản trong Contentstack. Bao gồm cấu trúc thư mục, chuyển đổi qua Image Delivery API, xuất bản…
official
cms-branches-aliases
contentstack
Tư vấn cho nhà phát triển về cách sử dụng nhánh Contentstack để phát triển nội dung độc lập và bí danh để triển khai nội dung không gián đoạn. Bao gồm chiến lược nhánh,…
official
cms-data-modeling-best-practices
contentstack
Hướng dẫn nhà phát triển mô hình hóa nội dung trong Contentstack bằng cấu trúc đơn giản, có thể tái sử dụng. Kỹ năng này giải thích khi nào nên sử dụng loại nội dung, tham chiếu, toàn cục…
official
cms-environments-publishing
contentstack
Tư vấn cho nhà phát triển về cấu hình môi trường, xuất bản nội dung, sử dụng token phân phối và xem trước, tận dụng Sync API, và hiểu về CDN cùng…
official
cms-live-preview-visual-builder-support-assistant
contentstack
Chẩn đoán và hướng dẫn triển khai Contentstack Live Preview và Visual Builder. Theo dõi ngữ cảnh xem trước, xác định hợp đồng bị hỏng, và đề xuất…
official
cms-localization
contentstack
Tư vấn cho nhà phát triển về bản địa hóa Contentstack: thiết lập ngôn ngữ, chuỗi dự phòng, mục nhập đã bản địa hóa và chưa bản địa hóa, trường không thể bản địa hóa, và đa ngôn ngữ…
official
cms-releases
contentstack
Tư vấn cho nhà phát triển về cách sử dụng Contentstack Releases để triển khai nội dung phối hợp, nguyên tử. Bao gồm tạo bản phát hành, quản lý mục, triển khai theo giai đoạn,…
official