{"data":{"slug":"github-composiohq-awesome-claude-skills-composio-skills-prismic-automation-47c10a35aa38","title":"Prismic CMS Content Management","summary":"Query documents by type, perform full-text search, retrieve custom types, and manage repository refs for content versioning in Prismic using the Composio MCP integration.","url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-prismic-automation-47c10a35aa38","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-composiohq-awesome-claude-skills-composio-skills-prismic-automation-47c10a35aa38","markdown_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-prismic-automation-47c10a35aa38.md","download_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-prismic-automation-47c10a35aa38\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Connect your Prismic account when prompted. The agent will provide an authentication link. Most content queries require a `ref` token, which can be obtained by first calling `PRISMIC_REPOSITORY_API_GET_REFS` or `PRISMIC_REPOSITORY_API_GET_INFO` to get the master ref.","instructions":"---\nname: Prismic Automation\ndescription: \"Automate headless CMS operations in Prismic -- query documents, search content, retrieve custom types, and manage repository refs through the Composio Prismic integration.\"\nrequires:\n  mcp:\n    - rube\n---\n\n# Prismic Automation\n\nManage 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.\n\n**Toolkit docs:** [composio.dev\/toolkits\/prismic](https:\/\/composio.dev\/toolkits\/prismic)\n\n---\n\n## Setup\n\n1. Add the Composio MCP server to your configuration:\n   ```\n   https:\/\/rube.app\/mcp\n   ```\n2. Connect your Prismic account when prompted. The agent will provide an authentication link.\n3. 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.\n\n---\n\n## Core Workflows\n\n### 1. Get Repository Info and Refs\n\nRetrieve comprehensive repository metadata including available refs (content versions), custom types, languages, tags, and bookmarks. This is typically your first API call.\n\n**Tools:** `PRISMIC_REPOSITORY_API_GET_INFO`, `PRISMIC_REPOSITORY_API_GET_REFS`\n\nNo parameters required -- these endpoints return the full repository configuration. The `refs` field is critical since refs are required for all content queries.\n\nExample prompt: *\"Get my Prismic repository info and the current master ref\"*\n\n---\n\n### 2. Query Documents with Predicates\n\nFetch documents using Prismic's predicate query syntax with full pagination and filtering support.\n\n**Tool:** `PRISMIC_CONTENT_API_QUERY_DOCUMENTS`\n\nKey parameters:\n- `ref` (required) -- content release reference ID (typically the master ref)\n- `q` -- predicate query, e.g., `[[at(document.type, \"page\")]]`\n- `page` (min 1) and `pageSize` (1-100) -- pagination\n- `lang` -- language code, e.g., `en-us` (default `*` for all)\n- `orderings` -- sort order, e.g., `[my.article.date desc]`\n- `fetch` -- comma-separated fields to fetch, reducing response size\n- `fetchLinks` -- resolve linked document fields inline\n\nExample prompt: *\"Query all published blog posts in Prismic, sorted by date descending, in English\"*\n\n---\n\n### 3. Fetch Documents by Type\n\nRetrieve all documents of a specific custom type with automatic master ref resolution.\n\n**Tool:** `PRISMIC_GET_DOCUMENTS_BY_TYPE`\n\nKey parameters:\n- `type` (required) -- custom type API ID, e.g., `blog_post`, `article`, `page`\n- `page` (default 1) and `pageSize` (1-100, default 20)\n- `lang` -- language code filter\n- `orderings` -- sort order, e.g., `[my.article.date desc]`\n- `after` -- cursor-based pagination for deep pagination beyond page 50\n\nExample prompt: *\"Get all blog_post documents in Prismic, 20 per page\"*\n\n---\n\n### 4. Full-Text Search\n\nSearch across all text fields in documents for specified terms. Case-insensitive, matches on root words.\n\n**Tool:** `PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH`\n\nKey parameters:\n- `q` (required) -- full-text predicate, e.g., `[[fulltext(document, \"machine learning\")]]`\n- `page`, `pageSize`, `lang`, `orderings` -- same pagination\/filtering as other queries\n\nExample prompt: *\"Search all Prismic documents for 'machine learning'\"*\n\n---\n\n### 5. Get a Single Document by ID\n\nRetrieve a specific document by its unique identifier.\n\n**Tool:** `PRISMIC_GET_DOCUMENT_BY_ID`\n\nKey parameters:\n- `document_id` (required) -- unique document identifier\n- `ref` (required) -- content ref from repository\n- `lang` -- optional language filter\n\nExample prompt: *\"Fetch Prismic document Xx2KLhEAAJljVWaA\"*\n\n---\n\n### 6. List Custom Types\n\nDiscover all custom types (content models) defined in the repository, including their structure definitions.\n\n**Tool:** `PRISMIC_TYPES_API_GET_TYPES`\n\nKey parameters:\n- `limit` -- max number of types to return per page\n- `page` -- page number (1-indexed)\n- `sort` -- sort order, e.g., `name`\n\nExample prompt: *\"List all custom types in my Prismic repository\"*\n\n---\n\n## Known Pitfalls\n\n- **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.\n- **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\"])]]`.\n- **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.\n- **pageSize cap is 100:** Requesting more than 100 documents per page will be rejected. Use pagination to iterate through larger result sets.\n- **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`).\n- **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`.\n\n---\n\n## Quick Reference\n\n| Tool Slug | Description |\n|---|---|\n| `PRISMIC_REPOSITORY_API_GET_INFO` | Get repository metadata, refs, types, languages |\n| `PRISMIC_REPOSITORY_API_GET_REFS` | List all refs (master + releases) |\n| `PRISMIC_TYPES_API_GET_TYPES` | List all custom types \/ content models |\n| `PRISMIC_CONTENT_API_QUERY_DOCUMENTS` | Query documents with predicates and pagination |\n| `PRISMIC_GET_DOCUMENTS_BY_TYPE` | Fetch documents filtered by custom type |\n| `PRISMIC_GET_DOCUMENT_BY_ID` | Retrieve a single document by ID |\n| `PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH` | Full-text search across all documents |\n| `PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_PREDICATES` | Filter documents with multiple predicate conditions |\n| `PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_INTEGRATION_FIELDS` | Fetch documents with integration fields data |\n| `PRISMIC_GET_DOCUMENTS_ORDERED` | Fetch documents sorted by specified fields |\n\n---\n\n*Powered by [Composio](https:\/\/composio.dev)*\n","use_cases":["Query documents by type and full-text search content","Retrieve custom types and repository refs for versioning","Fetch documents by ID and manage language filters"],"limitations":[],"compatibility":[],"setup_tip":"1. Add the Composio MCP server to your configuration:\n   ```\n   https:\/\/rube.app\/mcp\n   ```\n2. Connect your Prismic account when prompted. The agent will provide an authentication link.\n3. 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.\n\n---","sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/ComposioHQ\/awesome-claude-skills\/blob\/be2a406907dbc61b73e6827ded415c96139d13a2\/composio-skills\/prismic-automation\/SKILL.md","source_commit":"be2a406907dbc61b73e6827ded415c96139d13a2","license":null,"version":null,"listing_approved_at":"2026-11-21","created_at":"2026-11-20T09:48:24.000000Z","updated_at":"2026-11-21T05:00:46.000000Z","seo_title":"Prismic CMS Content Management","seo_description":"Automate content retrieval, querying, and management in Prismic using the Composio MCP integration.","seo_keywords":["Prismic CMS automation","Prismic content query","Prismic repository ref","Prismic document retrieval","Prismic custom types"]}}