nuxt-modules

Build, test, and publish Nuxt modules with defineNuxtModule and Nuxt Kit.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/narduk-enterprises/myboat --skill nuxt-modules-narduk-enterprises
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nuxt-modules
Source: https://github.com/narduk-enterprises/myboat/tree/main/.github/skills/nuxt-modules
Command: npx skills add https://github.com/narduk-enterprises/myboat --skill nuxt-modules-narduk-enterprises

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nuxt module development can be complex, requiring consistent patterns, tooling, and best practices to build, test, and publish modular extensions.

Core Features & Use Cases

  • Provides defineNuxtModule boilerplate, meta configuration, and runtime integration hooks to create modular, reusable Nuxt extensions.
  • Demonstrates module dependency management, server routes, components, and composables within a Nuxt module ecosystem.
  • Shows how to set up end-to-end testing, local playgrounds, and CI/CD workflows for reliable module publishing.

Quick Start

Create a minimal Nuxt module scaffold and run a local playground to validate module integration.

Frequently Asked Questions about nuxt-modules

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

FAQPage Schema
How do I create a Nuxt module using defineNuxtModule?▼

To create a Nuxt module, use the defineNuxtModule boilerplate to configure metadata, register runtime hooks, and manage dependencies. This approach establishes a modular extension ecosystem with components, composables, and server routes.

What is the best way to test Nuxt modules before publishing?▼

The best way to test Nuxt modules is by setting up end-to-end testing and local playgrounds. This validates module integration and ensures reliable publishing through continuous integration and deployment workflows.

How do I add server routes and composables to a Nuxt module?▼

You add server routes and composables to a Nuxt module by leveraging the Nuxt Kit integration hooks. This demonstrates module dependency management and extends the module ecosystem with runtime extensions and server-side functionality.

Can I use Nuxt Kit for local project modules and published npm modules?▼

Yes, the Nuxt Kit applies to both local project modules and published npm modules. It provides the necessary patterns, tooling, and packaging standards to build modular extensions across different development contexts.

What are the lifecycle hooks available when building Nuxt modules?▼

Building Nuxt modules involves using runtime integration hooks provided by the Nuxt Kit. These hooks satisfy requirements for robust module documentation and allow you to tap into the module lifecycle to extend functionality.