Community라이팅 & 에디팅github.com

Prismic 자동화

Composio Prismic 통합을 통해 헤드리스 CMS인 Prismic의 문서 쿼리, 콘텐츠 검색, 사용자 정의 유형 조회, 저장소 참조 관리를 자동화합니다.

지원 대상Claude Code~Codex CLICursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/prismic-automation
AI Overview & Summary

Prismic Automation은 Claude Code에서 직접 Prismic 헤드리스 CMS를 관리할 수 있게 해주는 AI 에이전트 스킬입니다. 개발자는 이 스킬을 통해 문서 쿼리, 전체 텍스트 검색, 사용자 정의 유형(Content Model) 조회, 저장소 참조(repository refs) 기반 콘텐츠 버전 관리 등을 수행할 수 있습니다. Composio MCP 서버를 통해 동작하며, Prismic 계정 인증 후 사용 가능합니다. 핵심 기능으로는 저장소 정보 및 참조 조회(PRISMIC_REPOSITORY_API_GET_INFO, PRISMIC_REPOSITORY_API_GET_REFS), 프레디킷(Predicate) 기반 문서 쿼리(PRISMIC_CONTENT_API_QUERY_DOCUMENTS), 문서 유형별 조회(PRISMIC_GET_DOCUMENTS_BY_TYPE), 전체 텍스트 검색(PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH), 단일 문서 ID 조회(PRISMIC_GET_DOCUMENT_BY_ID), 사용자 정의 유형 목록 조회(PRISMIC_TYPES_API_GET_TYPES) 등을 제공합니다. 주의할 점은 모든 콘텐츠 쿼리 실행 전에 반드시 유효한 `ref`(주로 master ref)를 획득해야 하며, 프레디킷 문법은 이중 대괄호 `[[...]]`를 사용해야 합니다. 또한 페이지 기반 페이지네이션은 50페이지 이후에는 실패할 수 있으므로 `after` 파라미터를 사용한 커서 기반 페이지네이션을 권장합니다. 이 스킬은 Claude Code 환경에서 실행 가능하며, Composio 플랫폼을 통해 Prismic과의 연결을 관리합니다.

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

문서

Prismic Automation

Manage your Prismic headless CMS directly from Claude Code. Query documents by type, full-text search content, inspect custom types, and work with repository refs for content versioning.

Toolkit docs: composio.dev/toolkits/prismic


Setup

  1. Add the Composio MCP server to your configuration:
    https://rube.app/mcp
    
  2. Connect your Prismic account when prompted. The agent will provide an authentication link.
  3. Most content queries require a ref token. Always start by calling PRISMIC_REPOSITORY_API_GET_REFS or PRISMIC_REPOSITORY_API_GET_INFO to obtain the master ref.

Core Workflows

1. Get Repository Info and Refs

Retrieve comprehensive repository metadata including available refs (content versions), custom types, languages, tags, and bookmarks. This is typically your first API call.

Tools: PRISMIC_REPOSITORY_API_GET_INFO, PRISMIC_REPOSITORY_API_GET_REFS

No parameters required -- these endpoints return the full repository configuration. The refs field is critical since refs are required for all content queries.

Example prompt: "Get my Prismic repository info and the current master ref"


2. Query Documents with Predicates

Fetch documents using Prismic's predicate query syntax with full pagination and filtering support.

Tool: PRISMIC_CONTENT_API_QUERY_DOCUMENTS

Key parameters:

  • ref (required) -- content release reference ID (typically the master ref)
  • q -- predicate query, e.g., [[at(document.type, "page")]]
  • page (min 1) and pageSize (1-100) -- pagination
  • lang -- language code, e.g., en-us (default * for all)
  • orderings -- sort order, e.g., [my.article.date desc]
  • fetch -- comma-separated fields to fetch, reducing response size
  • fetchLinks -- resolve linked document fields inline

Example prompt: "Query all published blog posts in Prismic, sorted by date descending, in English"


3. Fetch Documents by Type

Retrieve all documents of a specific custom type with automatic master ref resolution.

Tool: PRISMIC_GET_DOCUMENTS_BY_TYPE

Key parameters:

  • type (required) -- custom type API ID, e.g., blog_post, article, page
  • page (default 1) and pageSize (1-100, default 20)
  • lang -- language code filter
  • orderings -- sort order, e.g., [my.article.date desc]
  • after -- cursor-based pagination for deep pagination beyond page 50

Example prompt: "Get all blog_post documents in Prismic, 20 per page"


4. Full-Text Search

Search across all text fields in documents for specified terms. Case-insensitive, matches on root words.

Tool: PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH

Key parameters:

  • q (required) -- full-text predicate, e.g., [[fulltext(document, "machine learning")]]
  • page, pageSize, lang, orderings -- same pagination/filtering as other queries

Example prompt: "Search all Prismic documents for 'machine learning'"


5. Get a Single Document by ID

Retrieve a specific document by its unique identifier.

Tool: PRISMIC_GET_DOCUMENT_BY_ID

Key parameters:

  • document_id (required) -- unique document identifier
  • ref (required) -- content ref from repository
  • lang -- optional language filter

Example prompt: "Fetch Prismic document Xx2KLhEAAJljVWaA"


6. List Custom Types

Discover all custom types (content models) defined in the repository, including their structure definitions.

Tool: PRISMIC_TYPES_API_GET_TYPES

Key parameters:

  • limit -- max number of types to return per page
  • page -- page number (1-indexed)
  • sort -- sort order, e.g., name

Example prompt: "List all custom types in my Prismic repository"


Known Pitfalls

  • Ref is required for all content queries: You must obtain a valid ref (typically the master ref) from PRISMIC_REPOSITORY_API_GET_REFS or PRISMIC_REPOSITORY_API_GET_INFO before querying any documents. Queries without a ref will fail.
  • Predicate syntax requires double brackets: Prismic queries use double square brackets: [[at(document.type, "page")]]. For multiple predicates, combine them: [[at(document.type, "blog")][at(document.tags, ["featured"])]].
  • Deep pagination limit: Standard page-based pagination may fail beyond page 50. For deep pagination, use the after parameter with the last document ID from your previous result set.
  • pageSize cap is 100: Requesting more than 100 documents per page will be rejected. Use pagination to iterate through larger result sets.
  • Language filtering: The default language filter is * (all languages). If you need documents in a specific locale, always pass lang explicitly (e.g., en-us, fr-fr).
  • Integration fields require separate ref: When using PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_INTEGRATION_FIELDS, you need an integrationFieldsRef in addition to the standard content ref.

Quick Reference

Tool SlugDescription
PRISMIC_REPOSITORY_API_GET_INFOGet repository metadata, refs, types, languages
PRISMIC_REPOSITORY_API_GET_REFSList all refs (master + releases)
PRISMIC_TYPES_API_GET_TYPESList all custom types / content models
PRISMIC_CONTENT_API_QUERY_DOCUMENTSQuery documents with predicates and pagination
PRISMIC_GET_DOCUMENTS_BY_TYPEFetch documents filtered by custom type
PRISMIC_GET_DOCUMENT_BY_IDRetrieve a single document by ID
PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCHFull-text search across all documents
PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_PREDICATESFilter documents with multiple predicate conditions
PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_INTEGRATION_FIELDSFetch documents with integration fields data
PRISMIC_GET_DOCUMENTS_ORDEREDFetch documents sorted by specified fields

Powered by Composio

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComposioHQ/-21risk-automation

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/-2chat-automation

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

관련 스킬