nuxt-modules 是做什么的?
用于创建 Nuxt 模块: (1) 发布到 npm 的模块(@nuxtjs/、nuxt-), (2) 本地项目模块(modules/ 目录), (3) 运行时扩展(组件、组合式函数、插件), (4) 服务端扩展(API 路由、中间件), (5) 将模块发布到 npm, (6) 为模块设置 CI/CD 工作流。提供 defineNuxtModule 模式、Kit 工具、钩子、端到端测试以及自动化发布功能。
用于创建 Nuxt 模块,涵盖发布到 npm 的模块、本地项目模块、运行时扩展、服务端扩展、发布流程以及 CI/CD 工作流的配置。
该技能(onmax/nuxt-modules)专为需要创建和管理 Nuxt 模块的开发者设计。它涵盖了六大核心场景:发布到 npm 的模块(如 @nuxtjs/ 或 nuxt- 前缀)、本地项目中的 modules/ 目录模块、运行时扩展(组件、组合式函数、插件)、服务端扩展(API 路由、中间件)、模块发布到 npm 的流程,以及为模块设置 CI/CD 工作流。通过提供 `defineNuxtModule` 模式、Nuxt Kit 工具、钩子(hooks)、端到端(E2E)测试以及自动化发布机制,该技能显著简化了模块开发流程。支持在 Claude Code、Cursor、Codex 等 AI 代理平台中使用,帮助开发者高效构建、测试和发布高质量的 Nuxt 模块。
npx skills add https://github.com/onmax/nuxt-skills/tree/main/skills/nuxt-modulesInstalled? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
用于创建 Nuxt 模块: (1) 发布到 npm 的模块(@nuxtjs/、nuxt-), (2) 本地项目模块(modules/ 目录), (3) 运行时扩展(组件、组合式函数、插件), (4) 服务端扩展(API 路由、中间件), (5) 将模块发布到 npm, (6) 为模块设置 CI/CD 工作流。提供 defineNuxtModule 模式、Kit 工具、钩子、端到端测试以及自动化发布功能。
This repo contains 15 individual skills — each has its own dedicated page.
Use when writing blog posts or documentation markdown files - provides writing style guide (active voice, present tense), content structure patterns, and MDC component usage. Overrides brevity rules for proper grammar. Use nuxt-content for MDC syntax, nuxt-ui for component props.
Use when adding animations with Motion Vue (motion-v) - provides motion component API, gesture animations, scroll-linked effects, layout transitions, and composables for Vue 3/Nuxt
Use when working on Nuxt 4+ projects - provides server routes, file-based routing, middleware patterns, Nuxt-specific composables, and configuration with latest docs. Covers h3 v1 helpers (validation, WebSocket, SSE) and nitropack v2 patterns. Updated for Nuxt 4.3+.
Use when implementing auth in Nuxt apps with @onmax/nuxt-better-auth - provides useUserSession composable, server auth helpers, route protection, and Better Auth plugins integration.
Use when working with Nuxt Content v3, markdown content, or CMS features in Nuxt - provides collections (local/remote/API sources), queryCollection API, MDC rendering, database configuration, NuxtStudio integration, hooks, i18n patterns, and LLMs integration
Use when building NuxtHub v0.10.6 applications - provides database (Drizzle ORM with sqlite/postgresql/mysql), KV storage, blob storage, and cache APIs. Covers configuration, schema definition, migrations, multi-cloud deployment (Cloudflare, Vercel), and the new hub:db, hub:kv, hub:blob virtual module imports.
Nuxt SEO meta-module with robots, sitemap, og-image, schema-org. Use when configuring SEO, generating sitemaps, creating OG images, or adding structured data.
Use when building styled UI with @nuxt/ui v4 components - create forms with validation, implement data tables with sorting, build modal dialogs and overlays, configure Tailwind Variants theming. Use vue skill for raw component patterns, reka-ui for headless primitives.
Use when managing Node.js dependencies with pnpm - install packages, configure monorepo workspaces, set up pnpm catalogs, resolve dependency conflicts with overrides, patch third-party packages, and configure CI pipelines for pnpm projects
Use when building with Reka UI (headless Vue components) - provides component API, accessibility patterns, composition (asChild), controlled/uncontrolled state, virtualization, and styling integration. Formerly Radix Vue.
Use when authoring TypeScript libraries or npm packages - covers project setup, package.json exports, build tooling (tsdown/unbuild), API design patterns, type inference tricks, testing, and publishing to npm. Use when bundling, configuring dual CJS/ESM output, or setting up release workflows.
Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.
Use when writing unit/integration tests for Vite projects - configure vitest.config.ts, write test suites with describe/it, create mock implementations with vi.fn and vi.mock, set up code coverage thresholds, and run tests in parallel
Use when editing .vue files, creating Vue 3 components, writing composables, or testing Vue code - provides Composition API patterns, props/emits best practices, VueUse integration, and reactive destructuring guidance
Use when working with VueUse composables - track mouse position with useMouse, manage localStorage with useStorage, detect network status with useNetwork, debounce values with refDebounced, and access browser APIs reactively. Check VueUse before writing custom composables - most patterns already implemented.
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.