uniapp-vue3-template: Skill for Claude Code

.agents/skills/vue-best-practices/SKILL.md

vue-best-practices is a skill for Claude Code, Codex from oyjt/uniapp-vue3-template. It costs 70 tokens per session (660 once invoked), scanned A, original, MIT.

A set of Vue 3 guidance for writing and reviewing components with TypeScript. It covers type checking in templates, component props, wrapper components, CSS modules, and Volar, the Vue language-support tool.

In plain words
What is it for?
Use it when adding, reviewing, or refactoring Vue components, especially when working with props, templates, wrapper components, CSS modules, or Volar upgrades.
Why use it?
It helps catch typing and configuration mistakes that might otherwise appear only in the editor or during a build.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is oyjt/uniapp-vue3-template's own configuration. It tells Claude Code and Codex how to work on uniapp-vue3-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything uniapp-vue3-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to oyjt/uniapp-vue3-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/oyjt/uniapp-vue3-template/main/.agents/skills/vue-best-practices/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/oyjt/uniapp-vue3-template

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-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyjt/uniapp-vue3-template/vue-best-practices/github.svg)](https://agentmods.dev/skills/oyjt/uniapp-vue3-template/vue-best-practices)
Your own site
<a href="https://agentmods.dev/skills/oyjt/uniapp-vue3-template/vue-best-practices"><img src="https://agentmods.dev/badge/skills/oyjt/uniapp-vue3-template/vue-best-practices/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-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyjt/uniapp-vue3-template/vue-best-practices"><img src="https://agentmods.dev/badge/skills/oyjt/uniapp-vue3-template/vue-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 660 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00070 $0.00660
Opus 5 $0.00035 $0.00330
Sonnet 5 $0.00014 $0.00132
Haiku 4.5 $0.00007 $0.00066

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

Security

Grade A, and why

vue-best-practices 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.

.agents/skills/vue-best-practices/SKILL.md · 39 lines

How it starts

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

Capability Rules

Rule Keywords Description
extract-component-props get props type, wrapper component, extend props, inherit props, ComponentProps Extract types from .vue components
vue-tsc-strict-templates undefined component, template error, strictTemplates Catch undefined components in templates
fallthrough-attributes fallthrough, $attrs, wrapper component Type-check fallthrough attributes
strict-css-modules css modules, $style, typo Catch CSS module class typos
data-attributes-config data-*, strictTemplates, attribute Allow data-* attributes
volar-3-breaking-changes volar, vue-language-server, editor Fix Volar 3.0 upgrade issues
module-resolution-bundler cannot find module, @vue/tsconfig, moduleResolution Fix module resolution errors
define-model-update-event defineModel, update event, undefined Fix model update errors
with-defaults-union-types withDefaults, union type, default Fix union type defaults
deep-watch-numeric watch, deep, array, Vue 3.5 Efficient array watching
vue-directive-comments @vue-ignore, @vue-skip, template Control template type checking
vue-router-typed-params route params, typed router, unplugin Fix route params typing

Efficiency Rules

Rule Keywords Description
hmr-vue-ssr hmr, ssr, hot reload Fix HMR in SSR apps
pinia-store-mocking pinia, mock, vitest, store Mock Pinia stores

Read the full file on GitHub · 39 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 · 39 lines · 70 tokens per session scan A 7632304cb22a

Subscribe to this mod's changes

vue-best-practices is a skill published in the GitHub repository oyjt/uniapp-vue3-template (626 stars, last pushed 3mo ago), licensed MIT. It adds 70 tokens to every session and 660 once invoked, about $0.0003 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

slidev

Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.

slidevjs/slidev · 51 tokens

v3-create-crud

A page generator for standard create, read, update, and delete screens, commonly called CRUD screens. It uses Element Plus, a Vue user-interface library, to build tables, searches, pagination, forms, and delete confirmations.

un-pany/v3-admin-vite · 108 tokens

v3-upsert-store

A workflow for creating or updating Pinia stores, which are shared state modules in Vue applications. It requires the store name, state fields, types, initial values, persistence choices, and actions.

un-pany/v3-admin-vite · 83 tokens

v3-use-composables

Documentation for reusable Vue functions in a project, covering device detection, asynchronous dropdown data, loading screens, pagination, routing, themes, page titles, and watermarks.

un-pany/v3-admin-vite · 137 tokens

native-to-weapp-vite-wevu-migration

A step-by-step guide for gradually moving native WeChat, Alipay, or Douyin mini-programs to weapp-vite, with an optional later move to Vue single-file components.

weapp-vite/weapp-vite · 106 tokens

weapp-vite-vue-sfc-best-practices

A Chinese-language guide to writing Vue single-file components for weapp-vite mini-program projects. It covers templates, scripts, page metadata, component declarations, and platform differences.

weapp-vite/weapp-vite · 107 tokens