
prismic
Use whenever Prismic is mentioned or relevant in any way — including questions, lookups, configuration, repository settings, content modeling, content types, slices, localization, previews, API tokens, webhooks, syncing local models, or reading Prismic documentation. Load on any reference to Prismic, even for simple questions.
Use whenever Prismic is mentioned or relevant in any way — including questions, lookups, configuration, repository settings, content modeling, content types, slices, localization, previews, API tokens, webhooks, syncing local models, or reading Prismic documentation. Load on any reference to Prismic, even for simple questions.
Prismic is a headless CMS. The prismic CLI manages content models, repository settings, and documentation.
- Always run commands via
npx prismic. Do not guess command syntax. - Start with
npx prismic --helpto learn available commands. Inspect details withnpx prismic <command> --help. - Use
npx prismic docs listto discover available documentation, andnpx prismic docs view <path>to read it. - 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.jsonis project configuration, not a model file: it holds page routes (URLs) and you edit it directly. - If the CLI does not support a required operation, state that explicitly to the user and ask how they'd like to proceed.





