secondsky/claude-skills / plugins/nuxt-content/skills/nuxt-content
nuxt-content
VerifiedNuxt Content v3 Git-based CMS for Markdown/MDC content sites. Use for blogs, docs, content-driven apps with type-safe queries, schema validation (Zod/Valibot), full-text search, navigation utilities. Supports Nuxt Studio production editing, Cloudflare D1/Pages deployment, Vercel deployment, SQL storage, MDC components, content collections.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 16.7 KB |
| assets/blog-collection.example.ts | script | 3.7 KB |
| assets/content.config.example.ts | script | 1.8 KB |
| assets/docs-collection.example.ts | script | 5.9 KB |
| assets/nuxt.config.example.ts | script | 1.9 KB |
| references/collection-examples.md | markdown | 6.6 KB |
| references/deployment-checklists.md | markdown | 4.8 KB |
| references/error-catalog.md | markdown | 9.9 KB |
| references/mdc-syntax-reference.md | markdown | 2.0 KB |
| references/query-operators.md | markdown | 2.9 KB |
| references/studio-setup-guide.md | markdown | 4.1 KB |
| scripts/deploy-cloudflare.shexecutable | script | 2.7 KB |
| scripts/deploy-vercel.shexecutable | script | 1.9 KB |
| scripts/setup-nuxt-content.shexecutable | script | 5.2 KB |
| scripts/setup-studio.shexecutable | script | 3.8 KB |
| templates/blog-collection-setup.ts | script | 7.1 KB |
references/mdc-syntax-reference.md
View on GitHub# MDC Syntax Quick Reference
## Basic Component Syntax
```mdc
::component-name
Default slot content
::
```
**Example**:
```mdc
::alert
This is an alert!
::
```
---
## Named Slots
```mdc
::hero
Main content
#description
Description content
#actions
Action buttons
::
```
---
## Component Props
**Inline Props**:
```mdc
::alert{type="warning" icon="i-lucide-alert"}
Warning message
::
```
**YAML Props**:
```mdc
::card
---
title: Card Title
description: Card description
icon: IconNuxt
link: /docs
---
::
```
---
## Inline Components
```mdc
:badge[New]{color="green"}
:icon{name="i-lucide-star"}
```
---
## Attributes
```md
# Heading {#custom-id}
Paragraph {.text-lg .font-bold}
[Link](/url){target="_blank"}
Combined {#id .class style="color: blue;"}
```
---
## Data Binding
```md
---
title: My Post
author: John Doe
count: 42
---
# {{ $doc.title }}
By {{ $doc.author }}
Count: {{ $doc.count }}
```
---
## Common Components
### Alert
```mdc
::alert{type="info"}
Info message
::
::alert{type="warning"}
Warning message
::
::alert{type="error"}
Error message
::
```
### Callout
```mdc
::callout
Important information
::
```
### Code Group
```mdc
::code-group
```ts [nuxt.config.ts]
export default defineNuxtConfig({})
```
```bash [Terminal]
npm run dev
```
::
```
### Tabs
```mdc
::tabs
#tab1
Content for tab 1
#tab2
Content for tab 2
::
```
---
## Prose Components Override
Create in `components/content/`:
- `ProseA.vue` - Links
- `ProseCode.vue` - Inline code
- `ProsePre.vue` - Code blocks
- `ProseH1.vue` through `ProseH6.vue` - Headings
- `ProseP.vue` - Paragraphs
- `ProseImg.vue` - Images
- `ProseUl.vue`, `ProseOl.vue`, `ProseLi.vue` - Lists
**Example** (`components/content/ProseA.vue`):
```vue
<template>
<a :href="href" class="custom-link">
<slot />
</a>
</template>
<script setup>
defineProps({ href: String })
</script>
```
---
## Slot Unwrapping
```vue
<!-- components/content/Callout.vue -->
<template>
<div class="callout">
<slot mdc-unwrap="p" />
</div>
</template>
```
Removes wrapping `<p>` tags from slot content.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |