From hairyf-skills-4
Builds and ships Nuxt modules using @nuxt/module-builder. Scaffolds, configures, and maintains the full module build pipeline (unbuild, types generation, runtime transforms).
How this skill is triggered — by the user, by Claude, or both
Slash command
/hairyf-skills-4:arch-nuxt-module-builderThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
GENERATION.mdassets/ci.ymlreferences/best-practices-package-exports.mdreferences/best-practices-setup-patterns.mdreferences/core-ci.mdreferences/core-cli.mdreferences/core-dist-output.mdreferences/core-module-definition.mdreferences/core-overview.mdreferences/core-project-structure.mdreferences/features-build-config.mdreferences/features-runtime.mdreferences/features-types-generation.mdarch-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.
| Topic | Description | Reference |
|---|---|---|
| Overview | What module-builder is, requirements, quick start | core-overview |
| Project structure | src/module.ts, src/runtime/, package.json, build.config.ts | core-project-structure |
| Module definition | defineNuxtModule, ModuleOptions, hooks, runtime config types | core-module-definition |
| Dist output | module.mjs, module.json, types.d.mts, runtime/* | core-dist-output |
| CLI | nuxt-module-build build/prepare, args (cwd, outDir, stub) | core-cli |
| CI | GitHub Actions — lint, typecheck, build, test | core-ci |
| Topic | Description | Reference |
|---|---|---|
| Runtime | src/runtime/ layout, plugins/composables/components, mkdist | features-runtime |
| Types generation | types.d.mts, ModuleOptions inference, shims | features-types-generation |
| Build config | build.config.ts, extra entries, unbuild preset | features-build-config |
| Topic | Description | Reference |
|---|---|---|
| Package exports | exports, typesVersions, prepack, files | best-practices-package-exports |
| Setup patterns | createResolver, addPlugin without extension | best-practices-setup-patterns |
| Asset | Description |
|---|---|
| ci.yml | GitHub Actions CI workflow template — copy to .github/workflows/ci.yml |
npx claudepluginhub hairyf/skillsScans a codebase for architectural friction, presents candidates as a visual HTML report with before/after diagrams, and guides you through deepening refactors.