Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
onmax avatar

Nuxt Modules

  • 2k installs
  • 696 repo stars
  • Updated July 27, 2026
  • onmax/nuxt-skills

nuxt-modules is an agent skill that teaches developers to create, test, publish, and CI-automate Nuxt modules using defineNuxtModule, Kit utilities, and runtime/server extensions.

About

The nuxt-modules skill guides developers through creating Nuxt modules that extend framework functionality across published npm packages, local modules directories, and inline config hooks. It covers defineNuxtModule anatomy, Nuxt Kit utilities, runtime injection of components, composables, plugins, and server routes, plus playground and fixture-based E2E testing. Reference files split guidance into development patterns, testing and npm publishing best practices, and copy-paste CI/CD workflow templates. The skill emphasizes loading only the reference file relevant to the current task rather than reading everything at once. Module types include published @nuxtjs/ or nuxt- packages, local modules/ extensions, and inline nuxt.config.ts hooks. Quick start uses nuxi init -t module with dev, dev:build, and test scripts. Related skills nuxt and vue cover framework basics and runtime patterns. Use when creating Nuxt modules, publishing to npm, setting up module CI/CD, or extending Nuxt with components, composables, plugins, API routes, or middleware.

  • Covers published npm modules, local modules/ extensions, and inline nuxt.config.ts hooks.
  • defineNuxtModule patterns with Nuxt Kit utilities, hooks, and runtime/server injection.
  • Progressive reference loading: development, testing/publishing, and CI workflow files.
  • E2E testing with playground and test/fixtures plus npm release automation guidance.
  • Quick start via nuxi init -t module with dev, dev:build, and test scripts.

Nuxt Modules by the numbers

  • 1,962 all-time installs (skills.sh)
  • +40 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #246 of 2,245 Frontend Development skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

nuxt-modules capabilities & compatibility

Capabilities
definenuxtmodule scaffolding · nuxt kit utilities and hooks · runtime and server extension patterns · e2e testing with playground fixtures · ci/cd workflow templates for modules
Use cases
frontend · api development · ci cd
From the docs

What nuxt-modules says it does

Guide for creating Nuxt modules that extend framework functionality.
SKILL.md
npx skills add https://github.com/onmax/nuxt-skills --skill nuxt-modules

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2k
repo stars696
Security audit3 / 3 scanners passed
Last updatedJuly 27, 2026
Repositoryonmax/nuxt-skills

How do I scaffold, test, and publish a Nuxt module with proper defineNuxtModule structure, Kit hooks, and npm release workflows?

Create published npm Nuxt modules, local project modules, runtime extensions, and server extensions with defineNuxtModule patterns, Kit utilities, hooks, E2E tests, and release automation.

Who is it for?

Developers building published @nuxtjs/ packages or local Nuxt extensions with components, composables, plugins, or server routes.

Skip if: Skip for general Nuxt app development without module authoring (use nuxt) or Vue runtime patterns alone (use vue).

When should I use this skill?

Use when creating Nuxt modules, publishing npm modules, setting up module CI/CD, or extending Nuxt with runtime or server features.

What you get

A working module scaffold with playground E2E tests, selective reference guidance, and CI templates ready for npm publishing.

  • ci.yml workflow
  • pkg.yml preview workflow
  • release.yml publish workflow

By the numbers

  • Bundles 3 GitHub Actions workflow templates: ci.yml, pkg.yml, release.yml
  • Targets Node 22 with pnpm on ubuntu-latest runners

Files

SKILL.mdMarkdownGitHub ↗

Nuxt Module Development

Guide for creating Nuxt modules that extend framework functionality.

Related skills: nuxt (basics), vue (runtime patterns)

Quick Start

npx nuxi init -t module my-module
cd my-module && npm install
npm run dev        # Start playground
npm run dev:build  # Build in watch mode
npm run test       # Run tests

Available Guidance

  • [references/development.md](references/development.md) - Module anatomy, defineNuxtModule, Kit utilities, hooks
  • [references/testing-and-publishing.md](references/testing-and-publishing.md) - E2E testing, best practices, releasing, publishing
  • [references/ci-workflows.md](references/ci-workflows.md) - Copy-paste CI/CD workflow templates

Loading Files

Consider loading these reference files based on your task:

  • [ ] references/development.md - if building module features, using defineNuxtModule, or working with Kit utilities
  • [ ] references/testing-and-publishing.md - if writing E2E tests, publishing to npm, or following best practices
  • [ ] references/ci-workflows.md - if setting up CI/CD workflows for your module

DO NOT load all files at once. Load only what's relevant to your current task.

Module Types

TypeLocationUse Case
Publishednpm package@nuxtjs/, nuxt- distribution
Localmodules/ dirProject-specific extensions
Inlinenuxt.config.tsSimple one-off hooks

Project Structure

my-module/
├── src/
│   ├── module.ts           # Entry point
│   └── runtime/            # Injected into user's app
│       ├── components/
│       ├── composables/
│       ├── plugins/
│       └── server/
├── playground/             # Dev testing
└── test/fixtures/          # E2E tests

Resources

Related skills

How it compares

Pick nuxt-modules over generic CI skills when you need Nuxt-module-specific pkg-pr-new preview and npm Trusted Publishing release templates.

FAQ

Who is nuxt-modules for?

Developers and software engineers authoring Nuxt module packages or local extensions who need defineNuxtModule, Kit utilities, testing, and publishing guidance.

When should I use nuxt-modules?

When creating published npm modules, local modules/ extensions, runtime components or composables, server API routes, or CI/CD for Nuxt module releases.

Is nuxt-modules safe to install?

Review the Security Audits panel on this page before installing in production.

Frontend Developmentfrontendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.