Prismic is a headless CMS that provides a command-line interface for managing content models, settings, and documentation. It is designed for developers looking to streamline their content management workflows.
$ npx skills add https://github.com/prismicio/skills --skill prismicThe Prismic skill enables AI agents like Claude Code and Cursor to integrate with Prismic, a headless CMS platform. This skill provides agent-native access to Prismic's capabilities, allowing developers to automate content management tasks within their AI-powered development workflows. Install the skill globally using the npx command to add Prismic functionality to your agent environment. The skill is compatible with Claude Code, Codex, Cursor, and other AI agent frameworks, making it a flexible option for teams using diverse development tools.
Run commands using npx prismic for effective content management.
Manage content repositories
Inspect available CLI commands
Access documentation effortlessly
Modify content models via CLI
$ npx skills add https://github.com/prismicio/skills --skill prismicgit clone https://github.com/prismicio/skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need to manage content models in Prismic for [COMPANY]'s [INDUSTRY] website. Use the Prismic CLI to [SPECIFIC TASK: e.g., 'create a new content type', 'push local changes to the repository', 'generate documentation for the content model']. Here’s my current setup: [BRIEF DESCRIPTION OF CURRENT STATE]. What commands should I run, and what are the expected outcomes?
## Managing Content Models in Prismic for Acme Corp’s E-commerce Site Here’s how to update your content model for the `Product` type in Prismic: ### Steps Taken: 1. **Reviewed Current Model**: Confirmed the existing `Product` type has fields for `name`, `description`, `price`, and `images`. 2. **Added New Field**: Used the CLI to add a `stock_status` field (Select type with options: `In Stock`, `Low Stock`, `Out of Stock`). 3. **Pushed Changes**: Ran `prismic push` to sync the changes with your Prismic repository. 4. **Updated Documentation**: Generated updated documentation with `prismic docgen` and saved it to `docs/content-model.md`. ### Expected Outcome: - Your `Product` type now includes the `stock_status` field. - The change is live in your Prismic repository and ready for content editors to use. - Documentation reflects the updated model for future reference. ### Next Steps: - Test the new field in your application to ensure it renders correctly. - Notify your content team about the update so they can populate the new field. Let me know if you’d like to automate this process or add more fields!
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan