secondsky/claude-skills / plugins/nuxt-studio/skills/nuxt-studio
nuxt-studio
VerifiedThis skill should be used when the user asks to "set up Nuxt Studio", "configure Studio OAuth", "deploy Studio to Cloudflare", "add visual editor to Nuxt", "configure studio.domain.com subdomain", "Studio authentication", "Nuxt CMS", or mentions visual content editing, Nuxt Studio module, TipTap editor, Monaco editor, or content management for Nuxt websites.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.1 KB |
| references/cloudflare-deployment.md | markdown | 12.6 KB |
| references/editor-configuration.md | markdown | 15.0 KB |
| references/oauth-providers.md | markdown | 9.5 KB |
| references/subdomain-setup.md | markdown | 11.4 KB |
| references/troubleshooting.md | markdown | 17.7 KB |
| scripts/check-prerequisites.shexecutable | script | 8.0 KB |
| scripts/test-oauth.shexecutable | script | 6.8 KB |
| scripts/validate-config.shexecutable | script | 7.5 KB |
| templates/nuxt.config.ts | script | 4.4 KB |
| templates/studio-auth-github.ts | script | 6.0 KB |
| templates/studio-auth-gitlab.ts | script | 8.3 KB |
| templates/studio-auth-google.ts | script | 9.3 KB |
| templates/wrangler.toml | config | 4.4 KB |
templates/nuxt.config.ts
View on GitHub// Nuxt Studio Configuration Template
// Copy and customize for your Nuxt Content + Studio project
export default defineNuxtConfig({
// Essential modules - order matters
modules: [
'@nuxt/content', // Required: Must be loaded before Studio
'@nuxt/studio' // Nuxt Studio module
],
// Nuxt Content configuration
content: {
// Enable experimental client DB for MDC components in Studio
experimental: {
clientDB: true
},
// Highlight code blocks
highlight: {
theme: 'github-dark',
preload: ['typescript', 'javascript', 'vue', 'css', 'bash']
},
// Markdown configuration
markdown: {
toc: {
depth: 3,
searchDepth: 3
}
}
},
// Studio configuration
studio: {
// Enable Studio
enabled: true,
// Editor configuration
editor: {
// Default editor: 'tiptap' | 'monaco' | 'form'
default: 'tiptap',
// Allow users to switch between editors
allowSwitching: true,
// Available editors for users
available: ['tiptap', 'monaco'],
// Monaco editor configuration
monaco: {
theme: 'vs-dark',
fontSize: 14,
wordWrap: 'on',
lineNumbers: 'on',
minimap: {
enabled: true
}
},
// TipTap editor configuration
tiptap: {
toolbar: {
enabled: true,
items: [
'bold',
'italic',
'strike',
'code',
'|',
'heading',
'|',
'bulletList',
'orderedList',
'|',
'link',
'image',
'|',
'codeBlock',
'blockquote'
]
},
// MDC component support
mdc: {
enabled: true,
components: ['Alert', 'CodeBlock', 'Card']
}
}
},
// Git configuration
git: {
enabled: true,
// Git author for commits made through Studio
author: {
name: 'Studio CMS',
email: 'studio@yourdomain.com'
},
// Branch for Studio edits (optional - defaults to current branch)
// branch: 'content-edits'
},
// Media library configuration
media: {
enabled: true,
// Storage backend: 'local' | 'cloudflare-r2' | 's3'
// Use 'cloudflare-r2' for Cloudflare deployments (required for Pages)
storage: 'cloudflare-r2',
// Cloudflare R2 configuration (required when using cloudflare-r2 storage)
r2: {
accountId: process.env.CLOUDFLARE_ACCOUNT_ID!,
bucketName: process.env.R2_BUCKET_NAME!,
publicUrl: process.env.R2_PUBLIC_URL!
},
// Supported file formats
formats: ['jpeg', 'png', 'gif', 'webp', 'avif', 'svg'],
// Max file size (10MB)
maxFileSize: 10 * 1024 * 1024,
// Thumbnail generation
thumbnails: {
enabled: true,
sizes: [
{ width: 200, height: 200, name: 'thumb' },
{ width: 800, height: 600, name: 'medium' }
]
}
}
},
// Nitro configuration for deployment
nitro: {
// Cloudflare Pages preset (for Cloudflare deployment)
preset: 'cloudflare-pages',
// Or use 'cloudflare' for Workers
// preset: 'cloudflare',
// Prerender routes for better performance
prerender: {
routes: ['/']
}
},
// Runtime configuration
runtimeConfig: {
// Private keys (server-side only)
oauth: {
github: {
clientId: process.env.NUXT_OAUTH_GITHUB_CLIENT_ID,
clientSecret: process.env.NUXT_OAUTH_GITHUB_CLIENT_SECRET
},
gitlab: {
clientId: process.env.NUXT_OAUTH_GITLAB_CLIENT_ID,
clientSecret: process.env.NUXT_OAUTH_GITLAB_CLIENT_SECRET,
serverUrl: process.env.NUXT_OAUTH_GITLAB_SERVER_URL
},
google: {
clientId: process.env.NUXT_OAUTH_GOOGLE_CLIENT_ID,
clientSecret: process.env.NUXT_OAUTH_GOOGLE_CLIENT_SECRET
}
},
// Public keys (exposed to client)
public: {
studioUrl: process.env.NUXT_PUBLIC_STUDIO_URL || 'http://localhost:3000'
}
},
// Development server configuration
devServer: {
port: 3000,
host: 'localhost'
},
// TypeScript configuration
typescript: {
strict: true,
shim: false
},
// Vite configuration
vite: {
optimizeDeps: {
include: ['@nuxt/content', '@nuxt/studio']
}
}
})
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 |