Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jiushiwon/wg-skills --skill nuxt-generate-skillgit clone --depth 1 https://github.com/jiushiwon/wg-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jiushiwon/wg-skills/nuxt-generate-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/nuxt-generate-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/nuxt-generate-skill/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/nuxt-generate-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/nuxt-generate-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00159 | $0.03767 |
| Opus 5.5 | $0.00064 | $0.01507 |
| Sonnet 5.5 | $0.00032 | $0.00753 |
| Haiku 4.5 | $0.00016 | $0.00377 |
Grade A, and why
nuxt-generate-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 473 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nuxt 3 全栈项目骨架生成
当用户要创建 Nuxt 3 + TypeScript + Pinia 全栈项目时触发本技能。
When to Use
- 用户明确提到 Nuxt / Nuxt3 / Nuxt.js
- 需要 SSR / SSG / ISR 渲染模式
- 需要 SEO 优化(企业官网、内容站、电商)
- 需要 BFF API 层(server/api/ 做后端代理)
- 需要前后端同仓库的全栈项目
When NOT to Use
- 纯 SPA(无 SSR 需求)→ 使用
vue-generate-skill - 小程序 / App / 跨端 → 使用
uniapp-app-generate-skill - React / Next.js 生态 → 使用
next-generate-skill - 静态文档站 → 使用 VitePress / Nuxt Content
核心能力清单
| 能力 | 说明 |
|---|---|
| SSR 双轨请求 | 客户端 fetch + 服务端 $fetch,自动切换 |
| BFF API 层 | server/api/ + H3 event handler,代理 + 鉴权 |
| SEO 开箱即用 | useHead / useSeoMeta / sitemap / robots / JSON-LD |
| 认证双层 | 客户端中间件路由守卫 + 服务端中间件 API 守卫 |
| SSR 安全存储 | useCookie + useState 替代 localStorage + ref |
| 文件系统路由 | pages/ 目录即路由,layouts/ 布局系统 |
| 环境变量 | runtimeConfig(public + private)替代 process.env |
| vue-base-skill 组件复用 | 复用 Vue 体系 20+ 组件(3 次复用原则) |
依赖声明
| 依赖技能 | 状态 | 说明 |
|---|---|---|
| frontend-request-skill | 强依赖 | 客户端请求层规范,本技能复用其 request.ts |
| vue-base-skill | 可选 | 基础组件复用(3 次复用原则) |
四阶段工作流
Phase 1: Pre-development(需求澄清)
目标:在写代码前明确项目范围和技术选型。
步骤 1.1 — 需求澄清
向用户提问以下问题(一次性收集):
- 项目类型:管理后台 / 企业官网 / 电商平台 / 内容网站 / 其他?
- UI 框架偏好:Element Plus / Nuxt UI / 其他?
- 是否需要 SSR:SEO 敏感页面需要 SSR,纯后台可用 SPA 模式
- 后端情况:已有后端 API?需要 BFF 代理?后端地址和接口规范?
- 认证方式:JWT Token / Session / OAuth?
- 部署环境:Vercel / 自建服务器 / Docker / 静态托管(SSG)?
步骤 1.2 — 技术方案确认
根据需求输出技术方案摘要:
项目类型:{项目类型}
渲染模式:{SSR / SSG / SPA}
UI 框架:{Element Plus / Nuxt UI}
请求层:frontend-request-skill 规范 + Nuxt $fetch
状态管理:Pinia Setup Store(SSR 安全存储)
认证方式:JWT + httpOnly Cookie
部署目标:{部署平台}
等待用户确认后进入下一阶段。
Phase 2: Project Initialization(项目初始化)
步骤 2.1 — 创建 Nuxt 项目
npx nuxi@latest init {项目名} --packageManager pnpm
cd {项目名}
步骤 2.2 — 安装核心依赖
# 核心
pnpm add pinia @pinia/nuxt
# UI 框架(二选一)
pnpm add element-plus @element-plus/nuxt # Element Plus
# 或
pnpm add @nuxt/ui # Nuxt UI
# SEO 模块
pnpm add -D @nuxtjs/sitemap @nuxtjs/robots
# 开发工具
pnpm add -D @nuxt/eslint-config eslint prettier
What ships with it
21 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- README.md 2.7 KB
- references/agents-md-template.md 3.7 KB
- references/api-integration.md 6.5 KB
- references/claude-md-template.md 1.3 KB
- references/code-examples/components/AppLayout.vue 3.0 KB
- references/code-examples/pages/login.vue 3.2 KB
- references/code-examples/pages/users/index.vue 4.4 KB
- references/code-examples/README.md 1.2 KB
- references/code-examples/server/api/auth/login.post.ts 1.4 KB runs code
- references/code-examples/server/api/users/index.get.ts 1007 B runs code
- references/code-examples/stores/app.ts 881 B runs code
- references/code-examples/stores/user.ts 1.5 KB runs code
- references/code-examples/types/api.ts 451 B runs code
- references/code-examples/types/user.ts 818 B runs code
- references/component-standards.md 3.3 KB
- references/middleware-auth.md 3.8 KB
- references/nuxt-config-template.md 3.6 KB
- references/nuxt-conventions.md 5.0 KB
- references/project-structure.md 5.9 KB
- references/seo-strategy.md 3.8 KB
- references/server-api-routes.md 4.5 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago First seen · 473 lines · 159 tokens per session scan A 289089ca28f8
nuxt-generate-skill is a skill published in the GitHub repository jiushiwon/wg-skills (119 stars, last pushed 4d ago), licensed Apache-2.0. It adds 159 tokens to every session and 3,767 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.
Other skills, from other repositories
jeecg-codegen
A JeecgBoot code generator that turns a natural-language request into a CRUD module: code for creating, reading, updating, and deleting records. It produces Java backend code, Vue 3 frontend code, menus, permissions, and database migration SQL.
blueprint-from-collection-features
Build the spec's must-haves on Firebase: the screens and client logic, working inside the Firestore rules, proven against the emulators.
web-meta-framework-nuxt
Nuxt patterns - file-based routing, data fetching (useFetch/useAsyncData), useState, server routes, middleware, auto-imports, layouts, SEO.
web-meta-framework-sveltekit
SvelteKit full-stack framework - file-based routing, load functions, form actions, server hooks, SSR/SSG, API routes, streaming, progressive enhancement.
inertia-rails-setup
One-time project initializer for Inertia Rails skills. Detects stack and frontend framework (React/Vue/Svelte) from Gemfile and package.json, offers to install recommended deps (alba-inertia, js-routes, pagy, shadcn), and generates a CLAUDE.md section that configures which skill patterns apply. Use when first…
framework-expert
Unified framework expertise bundle. Lazy-loads relevant framework patterns (React, Vue, Angular, Next.js, Node.js, Python, Laravel, Go, Flutter, React Native, TypeScript) based on detected tech stack.