arch-nuxt-module-builder

v2026.09.24

Build and ship Nuxt modules with @nuxt/module-builder. Use when scaffolding, building, or maintaining a Nuxt module (unbuild preset, types, runtime).

GitHub
Install command
npx skhub add hairyf/arch-nuxt-module-builder
Markdown
SKILL.md

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
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/arch-nuxt-module-builder

Default branch

main

Latest commit

4f463c7

Tree SHA

73bcd03