본문으로 건너뛰기
Skillpedia
에이전트77k · #2346

Prismic Automation

하는 일

이 도구는 Prismic 웹사이트를 직접 관리하도록 돕습니다. 특정 콘텐츠를 검색하고, 텍스트를 찾고, 콘텐츠 유형을 확인하고, 웹사이트 버전을 다룰 수 있습니다.

사용하는 경우

  • ✓Prismic에서 특정 콘텐츠를 찾고 싶을 때.
  • ✓모든 블로그 글을 찾아야 할 때.
  • ✓Prismic에서 정의한 모든 콘텐츠 유형을 보고 싶을 때.

스킬 링크

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/prismic-automation/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/prismic-automation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Prismic에서 게시된 모든 블로그 글을 날짜순으로 정렬해 영어로 검색해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구를 사용하려면 Prismic 계정을 연결해야 합니다. 그다음 콘텐츠 검색, 텍스트 검색, 콘텐츠 유형 목록 조회를 요청할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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.

…

자주 묻는 질문

Prismic 계정을 연결해야 하나요?

네, 도구가 콘텐츠에 접근할 수 있도록 Prismic 계정을 연결해야 합니다. 인증 안내를 따라 주세요.

특정 콘텐츠는 어떻게 검색하나요?

콘텐츠 유형별로 검색하거나, 전체 텍스트 검색을 하거나, 특정 ID로 검색하도록 요청할 수 있습니다. 예를 들어 ‘page 유형의 모든 문서 검색’이라고 요청할 수 있습니다.

‘ref’는 무엇인가요?

‘ref’는 콘텐츠의 버전 또는 저장된 시점과 같습니다. 콘텐츠를 가져오려면 보통 ref가 필요하며, 저장소 정보를 요청해 얻을 수 있습니다.

상세 정보

작성자의 원본 설명

Automate headless CMS operations in Prismic -- query documents, search content, retrieve custom types, and manage repository refs through the Composio Prismic integration.

repo: ComposioHQ/awesome-claude-skills

인기도

GitHub 스타
77k
순위
#2346
라이선스
—
업데이트
2026. 9. 18.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬