← ClaudeAtlas

contentrainlisted

Contentrain CMS architecture, content formats, and MCP tool usage. Use when working with .contentrain/ directory, content models, or Contentrain MCP tools.
Contentrain/ai · ★ 5 · AI & Automation · score 77
Install: claude install-skill Contentrain/ai
# Contentrain Skill Contentrain is a Git-based, AI-first content management system. Content lives in `.contentrain/` as JSON and Markdown files, managed through MCP tools. This skill covers architecture, content formats, and tool usage. ## Ecosystem Overview Contentrain consists of 9 packages that work together: | Package | Role | How agent uses it | |---|---|---| | @contentrain/mcp | 27 MCP tools (scan, apply, validate, merge, reconcile, doctor...) | MCP tool calls | | contentrain (CLI) | init, serve, generate, doctor, diff, status, import | Shell commands | | @contentrain/types | Shared TypeScript contracts | Type safety | | @contentrain/query | Generated SDK client (Prisma-pattern) | `import from '#contentrain'` | | @contentrain/rules | Behavioral guardrails (~145 lines, always-loaded) | Auto-loaded by IDE | | @contentrain/skills | Procedural workflows (this file) | On-demand by agent | | @contentrain/wp-import | WordPress WXR/REST → `RawIR` → a `.contentrain` store | `contentrain import wordpress` | | @contentrain/emitter-astro | `ProjectIR` → a complete Astro project | Called by the migration engine | | @contentrain/verify | Offline SEO, indexing, link and asset gates for a built site | `npx @contentrain/verify dist` | ### CLI Serve — Review & Approval Bridge For workflows requiring human review (normalize, content review): ```bash contentrain serve # http://localhost:3333 ``` | Page | When to use | |---|---| | /normalize | Extraction/reuse preview and approval