mcpField
P
prismic

prismic

github.com/prismicioDevelopment21.5k installsUpdated 2w ago
Repository

About prismic

A skill for agents working with Prismic projects. It uses the `prismic` CLI for content models, repository settings, and documentation, while the Prismic MCP server handles content creation, updates, and publishing.

Key features

  1. 01Discover CLI commands and docs
  2. 02Manage content models and settings
  3. 03Manage content through the MCP server
  4. 04Attach task IDs to requests
  5. 05Restrict migration API and deletion operations

Use cases

  1. 01Change Prismic content models
  2. 02Find Prismic CLI documentation
  3. 03Create or publish content
  4. 04Move an existing site to Prismic

MCP support

Uses the Prismic MCP server to create, update, and publish content. If it is not connected, the skill directs users to the MCP setup documentation.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/prismicio/skills --skill prismic

After installing, type/prismicin Claude Code to confirm it loaded.

Details

From the project README

Prismic is a headless CMS. The prismic CLI manages content models, repository settings, and documentation. The Prismic MCP server manages content.

  1. Always run commands via npx prismic. Do not guess command syntax.
  2. Start with npx prismic --help to learn available commands. Inspect details with npx prismic <command> --help.
  3. Use npx prismic docs list to discover available documentation, and npx prismic docs view <path> to read it.
  4. Prefer CLI workflows over direct API/manual changes. Never directly edit model JSON files (custom types, slices, etc.) — always use the CLI to make model changes. prismic.config.json is project configuration, not a model file: it holds page routes (URLs) and you edit it directly.
  5. Create, update, and publish content with the Prismic MCP server, sample content included. Don't use the Migration API or a write token unless the user asks. To move an existing site, follow the migration guide (npx prismic docs view migration). If the MCP server isn't connected, ask the user to connect it (npx prismic docs view mcp).
  6. If the CLI does not support a required operation, state that explicitly to the user and ask how they'd like to proceed.
  7. Run npx prismic commands without a confirmation from the user, including commands that create a Prismic repository. Do not ask whether to create a new repository or use an existing one. Ask first before a command that removes something. Use a --force option only when the user asks for it.
  8. Run npx prismic task-id once when the user asks for something new. Pass --task-id <id> and --user-intent "<the user's request in one US English sentence>" on every command for that request, including read-only and exploratory commands such as list, view, status, and whoami. Keep using that same id and intent until the user asks for something else.

Comments

Markdown supported