vue-generate-skill

vue-generate-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 149 tokens per session (3,787 once invoked), scanned A, a copy of react-init-skill, Apache-2.0.

A project-starting guide for building Vue 3 single-page applications with TypeScript, Vite, and Pinia. It covers planning, setup, themes, layouts, and checks after development.

In plain words
What is it for?
Use it to plan and create a Vue application, set up its development tools, define its visual system, build layouts, and verify the finished project.
Why use it?
It gives a new Vue project a consistent structure and shared rules from the beginning. It also defines how the frontend should handle requests, authentication, errors, and response data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to plan and create a Vue application, set up its development tools, define its visual system, build layouts, and verify the finished project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/vue-generate-skill
Install

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.

Any agent
npx skills add jiushiwon/wg-skills --skill vue-generate-skill
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for vue-generate-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-generate-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/vue-generate-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-generate-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-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.

agentmods 80×15 button for vue-generate-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-generate-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-generate-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,787 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00149 $0.03787
Opus 5 $0.00075 $0.01894
Sonnet 5 $0.00030 $0.00757
Haiku 4.5 $0.00015 $0.00379

Measured 8d ago against content hash 5b250c9d05ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

vue-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 8d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (references/code-examples/stores/app.ts, references/code-examples/stores/user.ts, references/code-examples/types/api.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

88% identical to react-init-skill — 214 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

vibeCoding/frontend/vue/vue-generate-skill/SKILL.md · 394 lines

How it starts

The opening of the file, as written. The whole thing — 394 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Vue Generate Skill

⚠️ 重要:本 Skill 严格依赖 frontend-request-skill

本 Skill 不重新发明请求层。所有 HTTP / 错误处理 / 鉴权相关代码必须复用 frontend-request-skill 的标准实现:

vue-generate-skill 输出 对应 frontend-request-skill 标准
src/api/request.ts references/frontend-spec.md(fetch 标准实现)
src/services/auth.service.ts references/auth-patterns.md(Token 刷新队列)
src/utils/{error,toast,auth}.ts references/error-handling.md + auth-patterns.md
src/config/{api,error}.config.ts references/frontend-spec.md(BASE_URL + ERROR_CODE_MAP)
src/composables/useAuth.ts references/auth-patterns.md
响应信封 { code, message, data } backend-convention-skill/references/response-format.md 一致

接入本 Skill 前,请先阅读 frontend-request-skill 的 SKILL.md 与核心 reference。


Overview

This skill transforms a vague Vue project idea into a production-ready Vue 3 + TypeScript SPA with consistent architecture, design tokens, static assets, and coding standards. It follows a four-phase workflow similar to uniapp-app-generate-skill, but focused on pure Vue3 + Vite (no cross-platform abstractions).

  1. Pre-development: brainstorm, scope, and produce a detailed specification.
  2. Project initialization: scaffold the project, directory structure, CLAUDE.md, AGENTS.md, tsconfig.json, vite.config.ts.
  3. Development: install frontend-request-skill's request layer, set up theme system, design the layout, and build core pages.
  4. Post-development: lint, type-check (vue-tsc --noEmit), verify the build.

When to Use

Invoke this skill when the user asks for:

  • "帮我做一个 Vue3 项目"
  • "初始化一个 Vue3 + TypeScript 模板"
  • "做一个 Vue 后台管理系统"
  • "用 Vue3 搭一个 xxx 网站"
  • "帮我生成一个标准的 Vue3 项目结构"
  • Any request that involves creating a new Vue 3 SPA from scratch (H5 / 后台 / 文档站)

Not for: uniapp / 小程序 / Taro / 移动端 hybrid — use uniapp-app-generate-skill instead.

Workflow Summary

Phase 1: Pre-development
  → Ask 3-5 clarifying questions
  → Write spec.md (scope, pages, data model, API outline)

Phase 2: Project Initialization
  → create-vue scaffold
  → Replace placeholders
  → Create standard directory structure (including src/api/, src/services/, src/config/)
  → Generate CLAUDE.md (≤ 50 lines, references frontend-request-skill)
  → Generate AGENTS.md (≤ 400 lines, on-demand references)
  → Apply tsconfig.json strict template
  → Apply vite.config.ts template (path alias + auto-import + Element Plus)
  → Copy code-examples/ (types / stores / components / views)

Phase 3: Development
  → Install frontend-request-skill's request layer (copy from references/)
  → Configure src/config/api.config.ts (BASE_URL / PREFIX / SUCCESS_CODES)
  → Configure src/config/error.config.ts (ERROR_CODE_MAP)
  → Set up src/styles/tokens.css theme variables
  → Implement core pages using code-examples/ as template
  → Write composables (useAuth, useTable, ...)

Phase 4: Post-development
  → npm run lint           # ESLint must pass
  → npm run type-check     # vue-tsc --noEmit must pass
  → npm run build          # Must build successfully
  → Summarize deliverables

Read the full file on GitHub · 394 lines

Changes

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.

  1. 8d ago First seen · 394 lines · 149 tokens per session scan A 5b250c9d05ac

Subscribe to this mod's changes

vue-generate-skill is a skill published in the GitHub repository jiushiwon/wg-skills (99 stars, last pushed yesterday), licensed Apache-2.0. It adds 149 tokens to every session and 3,787 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to react-init-skill, differing in 214 lines, and is treated as a copy.

Related

Other skills, from other repositories

nuxtjs-vue-typescript

Best practices for building Nuxt 3 and Vue 3 applications with TypeScript, the Composition API, and Tailwind CSS. Use when structuring Nuxt/Vue projects, writing composables, typing components and props, wiring up server routes and plugins, or optimizing Nuxt builds and Web Vitals.

Mindrally/skills · 70 tokens

inertia-rails-typescript

TypeScript type safety for Inertia Rails (React, Vue, Svelte): shared props, flash, and errors via InertiaConfig module augmentation in globals.d.ts. Use when setting up TypeScript types, configuring shared props typing, fixing TS2344 or TS2339 errors in Inertia components, or adding new shared data.

inertia-rails/skills · 74 tokens

nuxt-modules

Use when creating Nuxt modules: (1) Published npm modules (@nuxtjs/, nuxt-), (2) Local project modules (modules/ directory), (3) Runtime extensions (components, composables, plugins), (4) Server extensions (API routes, middleware), (5) Releasing/publishing modules to npm, (6) Setting up CI/CD workflows for modules.…

YuDefine/nuxt-supabase-starter · 105 tokens

typescript-strict

Use when writing or reviewing TypeScript in Vue, Nuxt, Node, or shared TS utilities, fixing type errors, or deciding how to type API responses and composables.

pstuart/pstuart · 39 tokens

fec-vue3-project-standard

A Vue 3 and TypeScript project standard covering component boundaries, composables, routing, Pinia state, API layers, errors, styles, and project structure. Vue is a frontend framework, and composables are reusable functions for sharing component logic.

bovinphang/frontend-craft · 114 tokens

cc-frontend-dev

Frontend development guidance covering Vue 3, user-interface style, and TypeScript.

doccker/cc-use-exp · 29 tokens