All skills
onmax avatar

/nuxt-modules

@22e13a9

Use when creating Nuxt modules: (1) Published npm modules (@nuxtjs/, nuxt-), (2) Local project modules (modules/ directory), (3) Runtime extensions (components, composables, plugins), (4) Server extensions (API routes, middleware), (5) Releasing/publishing modules to npm, (6) Setting up CI/CD workflows for modules. Provides defineNuxtModule patterns, Kit utilities, hooks, E2E testing, and release automation.

  • 4 files
  • 21.5 KB
  • MIT
  • Updated 8 months ago
  • GitHub

Use this Skill: https://skilld.dev/gh/onmax/claude-config/nuxt-modules

This session only. Nothing lands on disk.

SKILL.md

โ‰ˆ106 tokens always: the name and description. โ‰ˆ563 when used: this file. โ‰ˆ4.8k more on demand in 3 files.

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

Loading Files

Consider loading these reference files based on your task:

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

Module Types

Type Location Use Case
Published npm package @nuxtjs/, nuxt- distribution
Local modules/ dir Project-specific extensions
Inline nuxt.config.ts Simple 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

Source: SKILL.md on GitHub

No third-party reports yet.

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

Last checked against GitHub 8 hours ago.

Activeupdated 8 months ago

README badge

README badge for onmax/claude-config/nuxt-modules