fec-vue3-project-standard

fec-vue3-project-standard is a skill for Claude Code from bovinphang/frontend-craft. It costs 114 tokens per session (1,075 once invoked), scanned A, original, MIT.

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.

In plain words
What is it for?
Use it to organize Vue pages and components, define composables and stores, structure API calls, handle route and request errors, and set TypeScript-based component rules.
Why use it?
It keeps responsibilities clear as a Vue application grows and makes errors recoverable for users. It also helps teams follow the repository's existing conventions instead of mixing incompatible patterns.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the frontend-craft plugin — 56 skills, 11 commands, 14 agents, 5 hooks, 6 MCP servers shipped together

Good fit Use it to organize Vue pages and components, define composables and stores, structure API calls, handle route and request errors, and set TypeScript-based component rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bovinphang/frontend-craft/fec-vue3-project-standard
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 bovinphang/frontend-craft --skill fec-vue3-project-standard
Clone the repo
git clone --depth 1 https://github.com/bovinphang/frontend-craft

Made for: Claude Code.

Or install frontend-craft, the plugin that ships this one along with the rest of its 56 skills, 11 commands, 14 agents, 5 hooks, 6 MCP servers.

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 fec-vue3-project-standard

README.md
[![agentmods](https://agentmods.dev/badge/skills/bovinphang/frontend-craft/fec-vue3-project-standard/github.svg)](https://agentmods.dev/skills/bovinphang/frontend-craft/fec-vue3-project-standard)
Your own site
<a href="https://agentmods.dev/skills/bovinphang/frontend-craft/fec-vue3-project-standard"><img src="https://agentmods.dev/badge/skills/bovinphang/frontend-craft/fec-vue3-project-standard/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 fec-vue3-project-standard

Your own site · 80×15
<a href="https://agentmods.dev/skills/bovinphang/frontend-craft/fec-vue3-project-standard"><img src="https://agentmods.dev/badge/skills/bovinphang/frontend-craft/fec-vue3-project-standard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,075 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 original No closer match found 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.00114 $0.01075
Opus 5 $0.00057 $0.00537
Sonnet 5 $0.00023 $0.00215
Haiku 4.5 $0.00011 $0.00108

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

Security

Grade A, and why

fec-vue3-project-standard 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.

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.

localized/zh-CN/skills/fec-vue3-project-standard/SKILL.md · 59 lines

How it starts

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

Vue 3 项目规范

适用于使用 Vue 3 + TypeScript 的仓库。

用途

为 Vue 3 + TypeScript 项目提供工程结构、组件边界、Composables 和默认实现约定,确保约定式开发和类型安全。

流程

  1. 识别仓库已有 Vue 约定:目录、路由、Pinia、请求层、样式体系、组件库和测试框架。
  2. 划分页面、业务组件、通用组件、composables、stores、services 和 utils 的边界。
  3. 优先沿用 <script setup lang="ts">、组合式 API 和仓库现有自动导入/模块出口约定。
  4. 输出时补齐状态归属、API 层、错误处理、样式隔离和专项 skill 分流。
  5. 页面和模块要有可恢复错误 UI;全局 errorHandleronErrorCaptured、请求错误映射和路由错误页分工明确。
  6. Tailwind token/variant 或响应式布局需求应分流到对应专项 skill,避免把样式系统规则塞进 Vue 组件规范。
  7. 状态归属复杂时先做状态清单;DTO、公共 props、泛型 composable 或 tsconfig 边界复杂时,先使用 TypeScript 项目规范流程收敛跨框架类型契约。
  8. 设计可复用 composable 时明确输入是否支持 plain value、ref、computed 或 getter;测试 Vue 组件时覆盖 Pinia、Router、Teleport、Suspense 和 async setup 的常见边界。

详细参考

按需要加载更细的参考文件:

约束

  • 使用 <script setup lang="ts">,禁止使用 Options API 新增组件
  • 组件文件规模宜约 300 行内;逾 500 行或复杂度过高须拆子组件与 Composables
  • Props / Emits 必须使用 TypeScript interface 定义,禁止使用 any
  • Composable 返回 readonly 引用,防止外部意外修改
  • 不要在 store 中存放 UI 临时状态(modal 开关、表单输入等)
  • 服务端数据优先用请求库管理,而非手动存入 Pinia
  • 避免在 v-for 中使用 v-if(提取为 computed 过滤)
  • 禁止直接从 feature 内部深层路径导入,绕过 index.ts
  • 不用全局错误处理吞掉组件内可恢复的 API、表单或权限错误。
  • 不把函数型参数误当 getter 自动调用;composable 参数若可能是回调,应避免使用 getter 型输入约定。
  • 不依赖快照作为 Vue 组件唯一断言;异步组件、Teleport 和 Pinia 场景要有用户可见行为断言。

预期输出

  • 组件使用 <script setup lang="ts">,Props / Emits 类型完整
  • 可复用逻辑已提取到 composable,返回 readonly 引用
  • Loading / Error / Empty / Data 状态均已处理
  • 路由组件使用动态 import 加载,状态管理符合就近原则
  • URL 状态、服务端状态、表单状态和 Pinia 全局状态边界明确
  • API 调用有类型约束和统一错误处理
  • 样式使用 scoped 隔离,关键行为有测试覆盖
  • 文件结构与项目约定一致(pages / features / components 分离)
  • 可复用 composable 的输入响应性、Pinia/Router 边界和异步组件测试策略已说明

Read the full file on GitHub · 59 lines

Files

What ships with it

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

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 · 59 lines · 114 tokens per session scan A 97522997e2ef

Subscribe to this mod's changes

fec-vue3-project-standard is a skill published in the GitHub repository bovinphang/frontend-craft (21 stars, last pushed 10d ago), licensed MIT. It adds 114 tokens to every session and 1,075 once invoked, about $0.0006 per session on Opus 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-03.

Related

Other skills, from other repositories

typescript-react-nextjs-patterns

Production-grade TypeScript reference for React & Next.js frontend development. Covers type narrowing, component Props, generic hooks, discriminated unions, as const, satisfies, Zod validation, TanStack Query, server/client boundaries, forms, state management, performance, accessibility, debugging, and code review.…

leejpsd/typescript-react-nextjs-patterns · 142 tokens

pretext

Help developers use @chenglou/pretext, a small TypeScript text measurement library that computes exact text metrics without DOM reflows. Use when users mention pretext, @chenglou/pretext, @chenglou/pretext/rich-inline, measuring text height without triggering DOM reflow, measuring text height or line count in JS…

yaniv-golan/pretext-skill · 182 tokens

sveltekit-and-svelte5-runes

Complete architecture patterns, state management with Svelte 5 Runes ($state, $derived, $effect, $props), SvelteKit SSR/streaming pipelines, form actions, and production anti-patterns.

hamzabellouch/agent-skills · 53 tokens

vue3-typescript

Vue 3 with TypeScript and Composition API.

usrrname/cursorrules · 14 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

frontend-ai-guide

Applies React/TypeScript-specific technical decision criteria, anti-pattern detection, debugging, and frontend quality gates. Use when reviewing components, hooks, browser behavior, or frontend implementation completeness.

shinpr/claude-code-workflows · 41 tokens