New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Visual CMS plugin that adds guided Nuxt Studio setup, OAuth, and Cloudflare subdomain deployment.

version
3.12.0
GitHub stars
250
View on GitHub

What it does

  • Adds 4 commands (/setup-studio, /configure-studio-auth, /deploy-studio-cloudflare, /studio-env-setup) and the studio-setup-assistant agent
  • Covers OAuth for GitHub, GitLab, and Google, plus Monaco, TipTap, and Form editor configuration
  • Walks through wrangler.toml setup, studio.domain.com subdomain routing, and Cloudflare environment variables
  • Designed for Nuxt Content sites that need a visual editor and Cloudflare Pages or Workers hosting

Visual CMS for Nuxt Content with Cloudflare deployment. Use when setting up Nuxt Studio, configuring OAuth authentication, deploying to Cloudflare Pages/Workers with subdomain routing, or troubleshooting Studio integration.

Add marketplace

/plugin marketplace add secondsky/claude-skills

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install nuxt-studio@claude-skills

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Nuxt Studio Setup and Deployment

Overview

Nuxt Studio is a free, open-source visual content editor for Nuxt Content websites that enables content editing directly in production. It provides multiple editor types (Monaco code editor, TipTap visual WYSIWYG editor, Form-based editor), OAuth authentication (GitHub/GitLab/Google), and Git-based content management with commit integration.

Primary use case: Add visual CMS capabilities to existing Nuxt Content websites, typically deployed to a subdomain like studio.domain.com or cms.domain.com.

When to Use This Skill

Use this skill when users need to:

  • Set up Nuxt Studio for the first time on a Nuxt Content website
  • Configure OAuth authentication for Studio access
  • Deploy Studio to Cloudflare Pages or Workers with custom subdomain
  • Troubleshoot Studio authentication, build, or deployment issues
  • Configure editor types or customize Studio behavior
  • Integrate Studio with existing Nuxt v3/v4 applications

Prerequisites Check

Before proceeding with Studio setup, verify these requirements:

  1. Nuxt Version: ≥3.x (Studio requires Nuxt 3)
  2. @nuxt/content Module: ≥2.x (required dependency)
  3. Node.js: ≥20.x recommended
  4. Cloudflare Account: Required for Cloudflare deployment (optional for other platforms)

Check Nuxt Content installation:

# Verify @nuxt/content is installed
grep "@nuxt/content" package.json

# Check nuxt.config.ts for content module
grep "modules.*content" nuxt.config.ts

If Nuxt Content is not installed, install it first:

npx nuxi module add content

Installation

1. Install Nuxt Studio Module

Install the latest beta version (v1.0.0-beta.3 as of December 2025):

npx nuxi module add nuxt-studio@beta

This adds @nuxt/studio to devDependencies and configures the module in nuxt.config.ts.

2. Verify Module Configuration

Check that nuxt.config.ts includes the Studio module:

// nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@nuxt/content',
    '@nuxt/studio'  // Added automatically
  ]
})

3. Start Development Mode

Run the development server to test Studio locally:

npm run dev
# or
bun dev

Access Studio at http://localhost:3000/_studio (development mode).

OAuth Authentication Setup

Studio requires OAuth authentication for production deployments. Choose one provider:

Supported Providers

  • GitHub OAuth: Best for public repositories and GitHub-hosted projects
  • GitLab OAuth: Ideal for self-hosted GitLab instances
  • Google OAuth: Universal option for any setup

Quick OAuth Configuration

For detailed OAuth setup instructions for each provider, load references/oauth-providers.md.

Environment variables pattern (all providers):

# GitHub
NUXT_OAUTH_GITHUB_CLIENT_ID=your_client_id
NUXT_OAUTH_GITHUB_CLIENT_SECRET=your_client_secret

# GitLab
NUXT_OAUTH_GITLAB_CLIENT_ID=your_client_id
NUXT_OAUTH_GITLAB_CLIENT_SECRET=your_client_secret

# Google
NUXT_OAUTH_GOOGLE_CLIENT_ID=your_client_id
NUXT_OAUTH_GOOGLE_CLIENT_SECRET=your_client_secret

Callback URL pattern:

https://studio.yourdomain.com/api/auth/callback/[provider]

Replace [provider] with: github, gitlab, or google.

For complete OAuth app creation steps, consult references/oauth-providers.md.

Cloudflare Deployment

Studio works excellently on Cloudflare Pages and Workers. Use the Cloudflare deployment for:

  • Serverless edge deployment
  • Custom subdomain routing (e.g., studio.domain.com)
  • Environment variable management via dashboard
  • Automatic builds from Git

Cloudflare Setup Overview

  1. Configure Nitro preset for Cloudflare in nuxt.config.ts
  2. Create or update wrangler.toml for Workers deployment (optional)
  3. Set environment variables on Cloudflare dashboard
  4. Configure custom domain and subdomain routing
  5. Deploy via Cloudflare Pages or Workers

For complete Cloudflare deployment instructions, load references/cloudflare-deployment.md.

Quick Cloudflare Configuration

Set the Cloudflare Pages preset:

// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@nuxt/content', '@nuxt/studio'],

  nitro: {
    preset: 'cloudflare-pages'
  }
})

For Workers deployment with custom subdomain routing, see references/cloudflare-deployment.md.

Editor Types

Studio provides three editor types that can be configured per content type:

  1. Monaco Editor: Code editor for markdown, YAML, JSON
  2. TipTap Editor: Visual WYSIWYG editor with MDC component support (default)
  3. Form Editor: Schema-driven form for YAML/JSON files

Configure Default Editor

// nuxt.config.ts
export default defineNuxtConfig({
  studio: {
    editor: {
      default: 'tiptap'  // or 'monaco' or 'form'
    }
  }
})

For detailed editor configuration options, load references/editor-configuration.md.

Subdomain Configuration

Deploy Studio to a subdomain for production use:

Common patterns:

  • studio.yourdomain.com
  • cms.yourdomain.com
  • edit.yourdomain.com
  • admin.yourdomain.com

DNS Setup

  1. Add a CNAME record in your DNS provider
  2. Point subdomain to Cloudflare Pages deployment
  3. Configure custom domain in Cloudflare Pages settings

For complete subdomain setup with Cloudflare, load references/subdomain-setup.md.

Top 5 Common Errors

1. OAuth Redirect URI Mismatch

Error: Authentication loop or "redirect_uri_mismatch" error

Cause: OAuth app callback URL doesn't match actual deployment URL

Solution:

Ensure OAuth app callback URL is:
https://studio.yourdomain.com/api/auth/callback/[provider]

Not:
https://yourdomain.com/api/auth/callback/[provider]

2. Module Not Found: @nuxt/studio

Error: Cannot find module '@nuxt/studio'

Cause: Studio module not installed or installed incorrectly

Solution:

npx nuxi module add nuxt-studio@beta
# or
npm install -D @nuxt/studio

3. Cloudflare Pages Build Failure

Error: Build fails with "Incompatible module" or runtime errors

Cause: Nitro preset not configured for Cloudflare

Solution:

// nuxt.config.ts
export default defineNuxtConfig({
  nitro: {
    preset: 'cloudflare-pages'
  }
})

4. Authentication Loop After Login

Error: Redirects to login repeatedly after successful OAuth

Cause: Session cookies not persisting due to domain mismatch

Solution:

  • Verify NUXT_PUBLIC_STUDIO_URL environment variable matches deployment URL
  • Check cookie settings in browser (must allow third-party cookies for OAuth)
  • Ensure deployment URL uses HTTPS (not HTTP)

5. Subdomain Routing Not Working

Error: Studio loads on main domain instead of subdomain

Cause: DNS/wrangler configuration incorrect

Solution:

  • Verify CNAME record points to Cloudflare Pages
  • Check custom domain configuration in Cloudflare dashboard
  • For Workers: verify wrangler.toml routes configuration

For complete error catalog and solutions, load references/troubleshooting.md.

Working with Templates

The skill includes working configuration templates:

  • templates/nuxt.config.ts: Complete Studio module configuration
  • templates/wrangler.toml: Cloudflare Workers deployment config
  • templates/studio-auth-github.ts: GitHub OAuth implementation
  • templates/studio-auth-gitlab.ts: GitLab OAuth implementation
  • templates/studio-auth-google.ts: Google OAuth implementation

Use these as starting points for your Studio setup.

Development Workflow

Local Development

  1. Install Studio module: npx nuxi module add nuxt-studio@beta
  2. Start dev server: npm run dev
  3. Access Studio: http://localhost:3000/_studio
  4. Edit content visually
  5. Commit changes from Studio UI

Production Deployment

  1. Configure OAuth provider (GitHub/GitLab/Google)
  2. Set environment variables on deployment platform
  3. Configure Nitro preset for target platform
  4. Deploy to Cloudflare Pages/Workers or other platform
  5. Set up custom subdomain
  6. Test authentication and content editing

Validation Checklist

Before deploying Studio to production:

  • Nuxt Content installed and configured (≥v2.x)
  • Nuxt version ≥3.x
  • @nuxt/studio module installed
  • OAuth provider configured with valid credentials
  • Environment variables set correctly
  • Nitro preset configured for deployment platform
  • Custom subdomain DNS configured
  • Callback URLs match deployment URL
  • Studio accessible at subdomain URL
  • Authentication working correctly
  • Content editing and commit functionality tested

When to Load References

Load reference files when working on specific aspects:

  • OAuth setup: Load references/oauth-providers.md for detailed GitHub/GitLab/Google OAuth app creation
  • Cloudflare deployment: Load references/cloudflare-deployment.md for complete Cloudflare Pages/Workers setup with wrangler, custom domains, and environment variables
  • Editor configuration: Load references/editor-configuration.md for Monaco/TipTap/Form editor customization
  • Subdomain setup: Load references/subdomain-setup.md for DNS and routing configuration
  • Troubleshooting: Load references/troubleshooting.md for comprehensive error solutions and debugging

Utility Scripts

Use the included scripts for common operations:

  • scripts/check-prerequisites.sh: Verify Nuxt Content and version requirements
  • scripts/validate-config.sh: Check nuxt.config.ts Studio configuration
  • scripts/test-oauth.sh: Test OAuth environment variables setup

Run scripts with:

bash $CLAUDE_PLUGIN_ROOT/skills/nuxt-studio/scripts/script-name.sh

Integration with Other Skills

This skill works well with:

  • nuxt-content: Prerequisites for Studio (content module required)
  • nuxt-v4: Core Nuxt framework knowledge for configuration
  • cloudflare-worker-base: Cloudflare deployment fundamentals
  • better-auth: Alternative authentication patterns if custom auth needed

Additional Resources

Version Information

  • Nuxt Studio: v1.0.0-beta.3 (latest as of December 2025)
  • Nuxt: ≥3.x required
  • @nuxt/content: ≥2.x required
  • Node.js: ≥20.x recommended

For the latest version information, check: https://github.com/nuxt-content/studio/releases


Next steps: After Studio is configured, test the deployment thoroughly, ensure OAuth authentication works correctly, and verify that content editing and Git commits function as expected.

Readme

Nuxt Studio Plugin

Visual CMS for Nuxt Content with Cloudflare deployment support

Overview

This plugin provides comprehensive guidance for setting up Nuxt Studio - a free, open-source visual content editor for Nuxt Content websites. It covers first-time installation, OAuth authentication (GitHub/GitLab/Google), editor configuration (Monaco/TipTap/Form), and deployment to Cloudflare Pages/Workers with subdomain routing (e.g., studio.domain.com).

Features

  • First-Time Setup: Interactive setup wizard for Nuxt Studio integration
  • OAuth Configuration: GitHub, GitLab, and Google authentication setup
  • Cloudflare Deployment: Complete guide for Cloudflare Pages/Workers deployment
  • Subdomain Routing: Configure studio.domain.com or cms.domain.com
  • Editor Types: Monaco code editor, TipTap visual editor, Form-based editor
  • Troubleshooting: Common errors and solutions with Cloudflare integration
  • Validation: Automatic checks for Nuxt Content compatibility and configuration

Installation

# Install from claude-skills marketplace
/plugin install nuxt-studio@claude-skills

Prerequisites

  • Nuxt: ≥3.x
  • @nuxt/content: ≥2.x (required dependency)
  • Node.js: ≥20.x
  • Cloudflare Account: Required for Cloudflare deployment (optional)

Quick Start

1. Interactive Setup

# Run the interactive setup wizard
/nuxt-studio:setup-studio

This command will:

  • Check if Nuxt Content is installed
  • Help you choose an OAuth provider
  • Configure the Studio module
  • Set up deployment preferences

2. Configure OAuth Authentication

# Configure OAuth provider credentials
/nuxt-studio:configure-studio-auth

Supports:

  • GitHub OAuth: Best for public repositories
  • GitLab OAuth: Great for self-hosted GitLab instances
  • Google OAuth: Universal authentication option

3. Deploy to Cloudflare

# Prepare and deploy to Cloudflare Pages/Workers
/nuxt-studio:deploy-studio-cloudflare

This command helps you:

  • Configure wrangler.toml for custom domains
  • Set up subdomain routing (studio.domain.com)
  • Configure environment variables on Cloudflare
  • Deploy your Studio instance

4. Environment Variables Setup

# Guide for setting up OAuth secrets on Cloudflare
/nuxt-studio:studio-env-setup

Components

Skills

  • nuxt-studio: Core knowledge about Nuxt Studio setup, configuration, OAuth, editors, Cloudflare deployment, and troubleshooting

Commands

  • setup-studio: Interactive first-time setup wizard
  • configure-studio-auth: OAuth provider configuration helper
  • deploy-studio-cloudflare: Cloudflare-specific deployment guide
  • studio-env-setup: Environment variables setup helper

Agents

  • studio-setup-assistant: Autonomous validation agent that checks:
    • Nuxt Content installation and compatibility
    • Nuxt version requirements
    • Cloudflare configuration (if deploying)
    • OAuth environment variables
    • Studio module configuration

Configuration

You can customize the plugin behavior with .claude/nuxt-studio.local.md:

---
oauth_provider: github              # github | gitlab | google
subdomain: studio                   # Subdomain prefix (e.g., studio.domain.com)
deployment_platform: cloudflare-pages  # cloudflare-pages | cloudflare-workers | vercel | netlify
cloudflare_account_id: ""           # Optional: Your Cloudflare account ID
cloudflare_project_name: ""         # Optional: Your Cloudflare project name
---

# Nuxt Studio Configuration

Your custom notes and preferences...

Auto-Triggering

The plugin automatically activates when you ask questions like:

  • "Set up Nuxt Studio for my Nuxt Content site"
  • "Configure Studio OAuth with GitHub"
  • "Deploy Studio to Cloudflare subdomain"
  • "Add visual editor to my Nuxt website"
  • "Studio authentication not working"
  • "Configure studio.domain.com"

Common Use Cases

First-Time Studio Setup

User: "I want to add visual editing to my Nuxt Content blog"

Claude: [Loads nuxt-studio skill and runs setup-studio command]
- Checks Nuxt Content installation
- Guides through Studio module setup
- Configures OAuth authentication
- Prepares for deployment

Cloudflare Subdomain Deployment

User: "Deploy Studio to studio.myblog.com on Cloudflare"

Claude: [Uses deploy-studio-cloudflare command]
- Configures wrangler.toml for custom domain
- Sets up DNS records
- Configures environment variables
- Provides deployment commands

Troubleshooting OAuth Issues

User: "OAuth authentication loop after login"

Claude: [Loads nuxt-studio skill troubleshooting section]
- Checks redirect URI configuration
- Validates environment variables
- Verifies OAuth app settings
- Suggests fixes

Integration with Other Skills

This plugin works well with:

  • nuxt-content: Prerequisites for Studio setup
  • nuxt-v4: Core Nuxt framework knowledge
  • cloudflare-worker-base: Cloudflare deployment fundamentals
  • better-auth: Alternative authentication patterns

Version Support

  • Nuxt Studio: Latest stable version (check skill for current version)
  • Nuxt: ≥3.x
  • @nuxt/content: ≥2.x

Troubleshooting

Studio Module Not Found

# Install Nuxt Studio module
npm install -D @nuxt/studio

OAuth Redirect Mismatch

Check that your OAuth app redirect URI matches:

https://studio.yourdomain.com/api/auth/callback/[provider]

Cloudflare Build Failures

Ensure nitro preset is set:

// nuxt.config.ts
export default defineNuxtConfig({
  nitro: {
    preset: 'cloudflare-pages'
  }
})

Resources

Contributing

Found an issue or have a suggestion? Open an issue at: https://github.com/secondsky/claude-skills/issues

License

MIT License - See LICENSE file for details


Maintained by: Claude Skills Maintainers Repository: https://github.com/secondsky/claude-skills

Details

Marketplace
secondsky/claude-skills
Source
plugins/nuxt-studio
Category
Frontend
Keywords
nuxt-studio, nuxt, studio, frontend, components, cms, authentication
Listed since
Apr 7, 2026

More from secondsky/claude-skills

All 122

Similar to nuxt-studio

More Frontend & UI Code