
Nuxt Content
- 196 repo stars
- Updated July 25, 2026
- secondsky/claude-skills
Build Markdown/MDC content sites with Nuxt Content v3: type-safe queries, schema validation, full-text search, navigation.
About
A frontend skill for Nuxt Content v3, a Git-backed CMS for Markdown/MDC content sites. A developer uses it to build blogs, docs, and content-driven apps with type-safe queries, schema validation, and full-text search, with Nuxt Studio editing and Cloudflare or Vercel deployment.
- Git-backed Markdown CMS
- Type-safe queries
- Full-text search
- MDC components + collections
Nuxt Content by the numbers
- Data as of Jul 28, 2026 (Skillselion catalog sync)
/plugin marketplace add secondsky/claude-skills/plugin install nuxt-content@claude-skillsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 196 |
|---|---|
| Last updated | July 25, 2026 |
| Repository | secondsky/claude-skills ↗ |
What it does
Build Markdown/MDC content sites with Nuxt Content v3: type-safe queries, schema validation, full-text search, navigation.
README.md
Nuxt Content v3
Status: Production Ready ✅ Last Updated: 2025-01-10 Production Tested: Deployed on Cloudflare Pages and Vercel
Auto-Trigger Keywords
Claude Code automatically discovers this skill when you mention:
Primary Keywords
- nuxt content
- @nuxt/content
- content collections
- nuxt cms
- git-based cms
- markdown cms
- nuxt content v3
- queryCollection
- nuxt studio
Secondary Keywords
- mdc syntax
- markdown components
- prose components
- content queries
- content navigation
- queryCollectionNavigation
- queryCollectionSearchSections
- ContentRenderer
- content schema validation
- zod validation nuxt
- valibot nuxt
- content frontmatter
- nuxt markdown
- git content management
Deployment Keywords
- cloudflare d1 nuxt
- nuxt content cloudflare
- nuxt content vercel
- d1 database nuxt
- cloudflare pages nuxt content
- vercel nuxt content
Error-Based Keywords
- "Collection 'xyz' not found"
- "DB is not defined"
- "database is locked"
- "Validation error: Expected date"
- "redirect_uri_mismatch"
- "Cannot find module 'better-sqlite3'"
- "MDC components not rendering"
- "navigation not updating"
- "content not loading"
- "nuxt content path not found"
What This Skill Does
Provides comprehensive knowledge for building content-driven sites with Nuxt Content v3, a Git-based CMS that manages content through Markdown, YAML, JSON, and CSV files with type-safe queries, schema validation, and SQL-based storage.
Core Capabilities
✅ Content Collections - Structured data organization with type-safe queries and automatic TypeScript types ✅ MDC Syntax - Enhanced Markdown with Vue components for rich content experiences ✅ Nuxt Studio - Self-hosted production content editing with GitHub sync ✅ Cloudflare D1 Deployment - Complete setup guide for Cloudflare Pages/Workers with D1 ✅ Vercel Deployment - Zero-config deployment with multiple database options ✅ Full-Text Search - Integration with MiniSearch, Fuse.js, and Nuxt UI Pro ✅ Navigation Utilities - Auto-generated navigation from content structure ✅ Schema Validation - Zod and Valibot integration for content validation
Known Issues This Skill Prevents
| Issue | Why It Happens | Source | How Skill Fixes It |
|---|---|---|---|
| Collection Not Found | Collection not defined or server not restarted | GitHub Issues | Always define collections in content.config.ts |
| Schema Validation Failure | Incorrect date format in frontmatter | Nuxt Content Discussions | Use ISO 8601 format (2024-01-15) |
| D1 Binding Error | Binding name not exactly 'DB' | Cloudflare D1 Docs | Use exact binding name 'DB' (case-sensitive) |
| MDC Components Not Rendering | Component not in correct directory | MDC Documentation | Place in components/content/ with exact name |
| Database Locked | Multiple processes accessing database | GitHub Issues | Delete .nuxt directory and restart |
| Studio OAuth Fails | Callback URL mismatch | GitHub OAuth Docs | Match callback URL exactly with domain |
| Navigation Not Updating | Cache not cleared | GitHub Issues | Delete .nuxt directory when adding content |
| Numeric Prefix Sorting | Single-digit numbers sort alphabetically | File System Behavior | Use zero-padded prefixes (01-, 02-) |
When to Use This Skill
✅ Use When:
- Building blogs, documentation sites, or content-heavy applications
- Implementing Git-based content workflows with Markdown
- Setting up type-safe content queries with TypeScript
- Deploying Nuxt Content to Cloudflare D1 or Vercel
- Configuring Nuxt Studio for production content editing
- Creating searchable content with full-text search
- Auto-generating navigation from content structure
- Validating content schemas with Zod or Valibot
- Implementing MDC components in Markdown
- Troubleshooting content collection errors
❌ Don't Use When:
- Using Nuxt Content v2 (this skill covers v3 only)
- Looking for CMS with GUI admin panel (use Nuxt Studio instead)
- Need real-time collaborative editing (Git-based, not real-time)
- Building non-Nuxt applications
Quick Usage Example
# 1. Install Nuxt Content
bun add @nuxt/content better-sqlite3
# 2. Register module
# Add to nuxt.config.ts: modules: ['@nuxt/content']
# 3. Create collection configuration
# Create content.config.ts with collections
# 4. Add content files
# Create content/blog/first-post.md
# 5. Query and render
# Use queryCollection() and <ContentRenderer>
Result: A fully functional Git-based CMS with type-safe queries, auto-generated navigation, and production-ready content editing.
Full instructions: See SKILL.md
Package Versions (Verified 2025-01-10)
| Package | Version | Status |
|---|---|---|
| @nuxt/content | ^3.0.0 | ✅ Latest stable |
| nuxt-studio | ^0.1.0-alpha | ✅ Alpha release |
| better-sqlite3 | ^11.0.0 | ✅ Latest stable |
| zod | ^4.1.12 | ✅ Latest stable (v4 recommended) |
| valibot | ^0.42.0 | ✅ Latest stable |
Dependencies
Prerequisites: None
Integrates With:
- nuxt - Nuxt framework (required)
- cloudflare-worker-base - For Cloudflare deployments (optional)
- tailwind-v4-shadcn - For UI styling (optional)
- typescript-mcp - For TypeScript tooling (optional)
File Structure
nuxt-content/
├── SKILL.md # Complete documentation (2,200+ lines)
├── README.md # This file
├── scripts/ # Helper scripts
│ ├── setup-nuxt-content.sh
│ ├── setup-studio.sh
│ ├── deploy-cloudflare.sh
│ └── deploy-vercel.sh
├── references/ # Quick reference guides
│ ├── collection-examples.md
│ ├── mdc-syntax-reference.md
│ ├── query-operators.md
│ ├── studio-setup-guide.md
│ └── deployment-checklists.md
└── assets/ # Example templates
├── content.config.example.ts
├── nuxt.config.example.ts
├── blog-collection.example.ts
└── docs-collection.example.ts
Official Documentation
- Nuxt Content: https://content.nuxt.com/
- Nuxt Content GitHub: https://github.com/nuxt/content
- Nuxt Studio: https://github.com/nuxt-content/studio
- MDC: https://github.com/nuxt-modules/mdc
- Nuxt: https://nuxt.com/
- Cloudflare D1: https://developers.cloudflare.com/d1/
- Vercel: https://vercel.com/docs
Related Skills
- cloudflare-worker-base - Cloudflare Workers foundation
- cloudflare-d1 - Cloudflare D1 database operations
- tailwind-v4-shadcn - UI component styling
- typescript-mcp - TypeScript development tools
Contributing
Found an issue or have a suggestion?
- Open an issue: https://github.com/secondsky/claude-skills/issues
- See SKILL.md for detailed documentation
License
MIT License - See main repo LICENSE file
Production Tested: ✅ Verified on Cloudflare Pages with D1 and Vercel Token Savings: ~65% Error Prevention: 100% (18 documented issues) Ready to use! See SKILL.md for complete setup.