Index of every page on this site: llms.txt
All skills
onmax avatar

/nuxt-studio

@2e74504 official
by Maxonmax/nuxt-skills722 stars
38
Run it yourself

Configure and operate the self-hosted Nuxt Studio editor for Nuxt Content. Use when working with nuxt-studio installation, editor customization, OAuth or custom authentication, media, drafts, Git publishing, or production deployment.

Use this Skill: https://skilld.dev/gh/onmax/nuxt-skills/nuxt-studio

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesconfiguration.md

≈856 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Configuration

Module options

export default defineNuxtConfig({
  modules: ['@nuxt/content', 'nuxt-studio'],
  studio: {
    route: '/_studio',
    repository: {
      provider: 'github',
      owner: 'your-org',
      repo: 'your-repo',
      branch: 'main',
      rootDir: 'docs',
      private: true,
    },
    editor: {
      components: {
        include: ['Content*', 'Landing*'],
        exclude: ['content/prose/**'],
        groups: [
          { label: 'Content', include: ['content*'] },
          { label: 'Landing', include: ['landing*'] },
        ],
        ungrouped: 'include',
      },
      iconLibraries: ['lucide'],
      commands: {
        exclude: ['video'],
      },
    },
    git: {
      commit: { messagePrefix: 'content:' },
    },
  },
})

Use dev: false when testing the production authentication flow locally. Repository metadata is auto-detected on Vercel, Netlify, GitHub Actions, and GitLab CI; CI-detected values take precedence over manual values.

OAuth providers

Studio's current runtime configuration uses the NUXT_STUDIO_AUTH_ prefix.

# GitHub
NUXT_STUDIO_AUTH_GITHUB_CLIENT_ID=<client-id>
NUXT_STUDIO_AUTH_GITHUB_CLIENT_SECRET=<client-secret>

# GitLab
NUXT_STUDIO_AUTH_GITLAB_APPLICATION_ID=<application-id>
NUXT_STUDIO_AUTH_GITLAB_APPLICATION_SECRET=<application-secret>

# Google authentication plus a Git token for publishing
NUXT_STUDIO_AUTH_GOOGLE_CLIENT_ID=<client-id>
NUXT_STUDIO_AUTH_GOOGLE_CLIENT_SECRET=<client-secret>
NUXT_STUDIO_AUTH_GOOGLE_MODERATORS=editor@example.com
NUXT_STUDIO_GIT_GITHUB_TOKEN=<fine-grained-token>

GitHub and GitLab OAuth can publish with the provider token. Google authenticates the editor but needs a separate GitHub or GitLab token with repository content write access. Use provider moderator lists when access must be narrower than the OAuth application's audience; Google requires a moderator list.

Callbacks use /__nuxt_studio/auth/<provider>. Match the OAuth application's callback to the deployed origin, and use the provider's redirect environment variable only when a proxy or custom origin requires it.

For GitHub Enterprise or self-hosted GitLab, set repository.instanceUrl or the matching provider instance environment variable.

Schema-driven inputs

Studio reads the Nuxt Content collection schema. Use Content's current property(...).editor(...) metadata for specialized controls.

import { defineCollection, defineContentConfig, property } from '@nuxt/content'
import { z } from 'zod/v4'

export default defineContentConfig({
  collections: {
    pages: defineCollection({
      type: 'page',
      source: '**',
      schema: z.object({
        cover: property(z.string()).editor({ input: 'media' }),
        icon: property(z.string()).editor({
          input: 'icon',
          iconLibraries: ['lucide'],
        }),
      }),
    }),
  },
})

Checks

  • The Nuxt config contains nuxt-studio, while collection schemas remain in content.config.ts.
  • OAuth credentials use the environment names shipped by the installed Studio version.
  • The callback origin, Studio route, Git repository, and deployment branch agree.
  • Component filters match component names or paths actually generated by Nuxt.

Official references: setup, Git providers, auth providers.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo5 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides configuration and operational guidelines for the Nuxt Studio editor. It facilitates content editing, media management, and Git-based publishing workflows using standard Nuxt ecosystem tools. The skill follows security best practices by using placeholders for credentials and recommending environment variables for secret management. No malicious behaviors were detected.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

  • Runlayer8mo

    3/4 files flagged

  • ZeroLeaks6mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 2e74504. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 4 months ago
  • Nuxt
  • nuxt-studio
  • cms
  • content-management
  • git-publishing
  • authentication
  • media-management
  • visual-editor
  • nuxt-content

README badge

README badge for onmax/nuxt-skills/nuxt-studio

Installs and configures nuxt-studio, a self-hosted CMS module for Nuxt Content sites with visual editing, media management, and Git-based publishing. Handles authentication providers (GitHub, GitLab, Google OAuth, SSO), content drafting with conflict detection, and AI-assisted content generation via Vercel AI Gateway.

Generated from the current SKILL.md.

What Git providers does Nuxt Studio support?
GitHub and GitLab. Both can be configured as the Git provider for handling publishing commits from the visual editor.
What authentication methods can I use to control access to Studio?
GitHub, GitLab, Google OAuth, SSO, and custom auth providers. Configuration is handled via environment variables and the studio config object.
Where are unpublished changes stored?
In the draft layer, which uses IndexedDB-backed local storage on the client before publishing commits to Git.
What media storage options does Nuxt Studio support?
Public directory, NuxtHub blob storage, S3, and R2. Media manager can upload and browse files across these backends.
Does Nuxt Studio include content queries or collection management?
No. For content collections and queries, use the nuxt-content skill instead. Nuxt Studio handles the editing interface and publishing workflow.

Generated from the current SKILL.md. These answers refresh after source changes.