mcpField
A
arch-nuxt-module-builder

arch-nuxt-module-builder

github.com/hairyfDevelopment26101 installsUpdated 2w ago
Repository

About arch-nuxt-module-builder

A reference skill for building and maintaining Nuxt modules with @nuxt/module-builder. It covers the official build stack, from module structure and runtime transformation to generated types and CI.

Key features

  1. 01Automated module build configuration
  2. 02Runtime asset transformation
  3. 03Type and schema shim generation
  4. 04CLI and CI guidance
  5. 05Package export practices

Use cases

  1. 01Starting a Nuxt module with module-builder
  2. 02Maintaining runtime plugins and components
  3. 03Preparing module builds for CI
  4. 04Configuring package exports

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hairyf/skills --skill arch-nuxt-module-builder

After installing, type/arch-nuxt-module-builderin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

GENERATION.md
assets/
ci.yml
references/
best-practices-package-exports.md
best-practices-setup-patterns.md
core-ci.md
core-cli.md
core-dist-output.md
core-module-definition.md
core-overview.md
core-project-structure.md
features-build-config.md
features-runtime.md
features-types-generation.md

Details

From the project README

arch-nuxt-module-builder skills cover @nuxt/module-builder: the complete solution to build and ship Nuxt modules. It uses unbuild, automates module build config, generates types and shims for @nuxt/schema, and transforms src/runtime/ (plugins, composables, components) to dist/runtime/. Use these skills when creating or maintaining a Nuxt module with the official module-builder stack.

The skill is based on @nuxt/module-builder v1.0.2, generated at 2026-01-30.

Core References

TopicDescriptionReference
OverviewWhat module-builder is, requirements, quick startcore-overview
Project structuresrc/module.ts, src/runtime/, package.json, build.config.tscore-project-structure
Module definitiondefineNuxtModule, ModuleOptions, hooks, runtime config typescore-module-definition
Dist outputmodule.mjs, module.json, types.d.mts, runtime/*core-dist-output
CLInuxt-module-build build/prepare, args (cwd, outDir, stub)core-cli
CIGitHub Actions — lint, typecheck, build, testcore-ci

Features

TopicDescriptionReference
Runtimesrc/runtime/ layout, plugins/composables/components, mkdistfeatures-runtime
Types generationtypes.d.mts, ModuleOptions inference, shimsfeatures-types-generation
Build configbuild.config.ts, extra entries, unbuild presetfeatures-build-config

Best Practices

TopicDescriptionReference
Package exportsexports, typesVersions, prepack, filesbest-practices-package-exports
Setup patternscreateResolver, addPlugin without extensionbest-practices-setup-patterns

Assets

AssetDescription
ci.ymlGitHub Actions CI workflow template — copy to .github/workflows/ci.yml

Comments

Markdown supported