preprio/prepr
Prepr CMS skills for AI agents: connect to the Prepr MCP server, design and build your content model live or as Git-synced schema files, review it, manage and migrate content, and build personalized front ends.
Use this skill whenever a developer wants to use Prepr CMS content in a website or app, in any stack (Next.js, Nuxt, Astro, SvelteKit, React, Vue, Angular, Laravel, PHP, plain Node or anything else that speaks HTTP). Covers writing Prepr GraphQL queries from the schema, setting up a fetcher or client (fetch, Axios, graphql-request, urql, Apollo, a PHP client), access tokens and environment variables, fragments, generated TypeScript types and type-safe components, rendering stacks, dynamic content and rich text as components, images, slug routing, 404s and redirects, locales, caching and revalidation with webhooks, preview, draft mode and visual editing with the Prepr toolkit. Also use it to debug Prepr GraphQL errors or empty results in front-end code.
Connect an AI agent to the Prepr MCP server. Use this skill whenever the user wants to connect, set up, authorize, or fix the Prepr MCP connection, Prepr tools are missing or unauthorized, another Prepr skill needs MCP and it is not configured, the user asks how to use Prepr from Claude Code, Cursor, Codex, VS Code, Copilot, OpenCode, Claude Desktop, or ChatGPT, or asks about a Prepr MCP token.
Build or change a Prepr CMS content model, either live in an environment through the MCP server or as JSON schema files in prepr/schema/ for Git sync. Use this skill whenever the user wants to create or modify a model, component, enum, or field, turn an agreed content model plan into a working schema, add a content type to an existing Prepr environment or schema files, or apply a fix from a schema review. For deciding what the model should be from a vague brief, the design-schema skill applies first.
Interactively design a Prepr CMS content model before anything is built. Use this skill whenever the user wants to figure out what their content model should be, says they want to design, plan, scope, or think through a schema, asks "how should I model X in Prepr", is starting a new Prepr project without a clear model in mind, is unsure whether something should be a model, component, or enum, or hands over a vague brief ("a marketing site", "a webshop", "our blog") that is not yet specific enough to build. For adding a field or one small model to an existing schema, the create-schema skill applies directly.
Use this skill whenever the user wants to add or edit content items in a Prepr CMS environment, publish, unpublish, schedule, or delete content, schedule content to go offline, change workflow stages, assign items or add comments, upload or import images, video, audio, documents, or other media into Prepr, find or reuse existing assets, write content in several locales, add personalized or A/B test variants to a page, seed a fresh environment with sample content, or perform content operations on up to 25 items. Also use it when the user asks Prepr questions that need reading or changing live content rather than project code.
Use this skill whenever a developer wants to migrate or move content into Prepr CMS from another system (WordPress, Contentful, Sanity, Storyblok, a legacy or custom CMS, a database, CSV or JSON export), or from an old Prepr environment into a new or changed schema, for example when rebuilding a website on Prepr. Also use it to plan a content migration, map old content types and fields to Prepr models, write or debug a migration script, import content in bulk with the Prepr REST (Mutation) API, resolve references and assets during a migration, re-run or resume a migration, or sync source changes into already migrated content. Copying content between Prepr environments with the same schema is covered too.
Use this skill whenever a developer wants to add Prepr tracking, personalization or A/B testing to a website or app front end, in any stack. Covers installing the Prepr tracking pixel or tracking code, binding pages to content items, recording events, impressions and conversions, tagging elements with data-prepr attributes, server-side tracking, consent, the visitor id and Prepr request headers, showing each visitor their personalized or A/B variant, static sites with A/B tests, recommendations, the preview switches for segments and variants, and checking that events and variants arrive in Prepr. Use manage-content to create the variants themselves.
Review a Prepr CMS schema, live or as schema files in prepr/schema/, and report what to improve. Use this skill whenever the user wants to review, audit, or improve a Prepr content model, asks "is this schema any good", wants a second opinion before content is added, or inherits an environment and wants to understand its model. Makes no changes; fixes go through create-schema.
Set up and run Git-backed schema sync between a repository and Prepr CMS environments, with schema files in prepr/schema/. Use this skill whenever the user wants to sync a Prepr schema via GitHub, GitLab, Bitbucket or Azure DevOps, get local schema file changes into a Prepr environment, export an environment's schema to the repository, promote schema between development, acceptance and production, add schema validation to CI, debug a schema import that fails or returns github.validation.failed, check whether the schema files and an environment have drifted, or asks why schema file edits have not appeared in Prepr. Also use it when the user considers direct environment-to-environment sync.