content-collections

Production-tested setup for Content Collections - a TypeScript-first build tool that transformslocal content files (Markdown/MDX) into type-safe data collections with automatic validation.Use when: building blogs, documentation sites, or content-heavy applications with Vite + React,setting up MDX content with React components, implementing type-safe content schemas with Zod,migrating from Contentlayer, or encountering TypeScript import errors with content collections.Covers: Vite plugin setup, tsconfig path aliases, collection schemas with Zod validation,MDX compilation with compileMDX, transform functions for computed properties, rehype/remark plugins,React component integration with MDXContent, Cloudflare Workers deployment, and production build optimization.Keywords: content-collections, @content-collections/core, @content-collections/vite,@content-collections/mdx, MDX, markdown, Zod schema validation, type-safe content,frontmatter, compileMDX, defineCollection, defineConfig, Vite plugin, tsco

$ Instalar

git clone https://github.com/majiayu000/claude-skill-registry /tmp/claude-skill-registry && cp -r /tmp/claude-skill-registry/skills/documents/content-collections ~/.claude/skills/claude-skill-registry

// tip: Run this command in your terminal to install the skill