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.

referenceslive-editing.md

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

Live editing

Editor surfaces

Studio provides three views over the same source files:

  • The visual editor converts Markdown and MDC to an editable TipTap document.
  • The code editor exposes Markdown, MDC, YAML, and JSON directly.
  • Schema forms edit frontmatter and data files from the Nuxt Content collection schema.

Content components remain Vue components in components/content/. Studio derives editable props from their component metadata and from property(...).editor(...) schema metadata; the source schema remains the contract.

Draft and preview model

Studio layers browser-local drafts over the deployed Nuxt Content database:

  1. The deployed Content dump initializes SQLite WASM in the browser.
  2. Drafts in IndexedDB overlay created, modified, and deleted files.
  3. Publishing commits those drafts to the configured Git branch.
  4. The deployment rebuild makes the Git state the new production baseline.

Drafts belong to one browser profile, so another editor or device will not see them until publication. Conflict checks compare drafts against the latest Git state before commit.

In development, edits write to the local filesystem and Nuxt's watcher refreshes the preview. Publishing remains a production flow.

Media

By default, the media library owns files in the project's public/ directory. Uploads, renames, and deletions participate in the same draft and Git publish cycle as content files.

Use media editor metadata for fields that should select a public asset:

cover: property(z.string()).editor({ input: 'media' })

For larger media libraries, enable NuxtHub blob storage so files go to Vercel Blob, S3-compatible storage, or Cloudflare R2 instead of Git. List @nuxthub/core before nuxt-studio.

export default defineNuxtConfig({
  modules: ['@nuxthub/core', 'nuxt-studio'],
  hub: { blob: true },
  studio: {
    media: {
      external: true,
      maxFileSize: 10 * 1024 * 1024,
      allowedTypes: ['image/*', 'video/*'],
      prefix: 'studio',
    },
  },
})

External uploads are durable immediately and are not part of the Git draft. Configure the storage driver's credentials and NUXT_PUBLIC_STUDIO_MEDIA_PUBLIC_URL when the provider needs an explicit public origin.

AI assistance

Set NUXT_STUDIO_AI_API_KEY to enable completions and text transforms through Vercel AI Gateway. studio.ai.context can describe the project's title, subject, style, and tone; studio.ai.experimental.collectionContext adds per-collection guidance under .studio/. Treat generated text as an editor draft and publish it through the same Git boundary.

Checks

  • Visual edits serialize back to valid Markdown/MDC and preserve component slots.
  • Form fields round-trip through the collection validator.
  • A refresh in the same browser restores drafts; a second profile sees only published content.
  • Media URLs resolve in preview and after the deployment rebuild.
  • External media limits and MIME rules reject invalid uploads on the server.

Official references: content editors, media, AI, advanced synchronization.

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.