nuxt-modules

Build, test, and publish Nuxt modules using defineNuxtModule and Kit utilities.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/daveio/syn-horse --skill nuxt-modules-daveio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nuxt-modules
Source: https://github.com/daveio/syn-horse/tree/main/.agents/skills/nuxt-modules
Command: npx skills add https://github.com/daveio/syn-horse --skill nuxt-modules-daveio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Nuxt module developers often struggle with consistent patterns, utilities, and best practices needed to build reusable, publishable modules efficiently.

Core Features & Use Cases

  • Module design patterns: defineNuxtModule, Nuxt Kit utilities, and lifecycle hooks for robust module development.
  • Local and published modules: guidance for modules in modules/ or published npm packages, with testing and playgrounds.
  • E2E testing and release automation: instructions for end-to-end tests and releasing modules to npm.

Quick Start

Create your first Nuxt module using defineNuxtModule and review the references to learn the workflow.

Frequently Asked Questions about nuxt-modules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build and publish a Nuxt module to npm?

To publish a Nuxt module, use the defineNuxtModule pattern and Nuxt Kit utilities to structure your code, run E2E tests in a playground, and configure CI/CD workflows for automated releases to npm.

What is the best way to structure local modules within my Nuxt project?

Structure local Nuxt modules by applying the defineNuxtModule pattern and utilizing Nuxt Kit lifecycle hooks to ensure consistent runtime extensions and server routes within your existing Nuxt project.

How does defineNuxtModule work with Nuxt Kit hooks?

defineNuxtModule establishes the module interface, while Nuxt Kit hooks integrate runtime extensions and server routes into the Nuxt lifecycle, enabling robust module design and consistent behavior across local and published packages.

Can I use end-to-end testing for Nuxt modules before releasing them?

Yes, you can implement end-to-end testing for Nuxt modules by setting up a local playground environment and following established testing guidelines to validate runtime extensions and server routes before publishing.

Do I need Nuxt Kit utilities to add server routes in my module?

Yes, Nuxt Kit utilities are required to properly extend server routes and runtime behavior, as they provide the necessary lifecycle hooks and integration points for building robust and publishable Nuxt modules.

What Nuxt module release automation workflows are supported?

Release automation for Nuxt modules is supported through CI/CD workflows that handle the end-to-end process, ensuring your defineNuxtModule package is correctly tested and published to npm registries.