vue-button-skill

vue-button-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 36 tokens per session (687 once invoked), scanned A, original, Apache-2.0.

A Vue component guide for reusable buttons. It defines button types, visual styles, sizes, disabled and loading states, and full-width buttons.

In plain words
What is it for?
Use it for actions such as saving, cancelling, deleting, submitting forms, showing loading progress, and creating full-width controls.
Why use it?
It keeps button behavior and appearance consistent across an application without requiring a third-party component library.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 所有按钮组、操作栏都应嵌入 `<base-card>` 容器([vue-card-skill](../vue-card-skill/))。.

Good fit Use it for actions such as saving, cancelling, deleting, submitting forms, showing loading progress, and creating full-width controls.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

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

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-button-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-button-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-button-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 687 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.00036 $0.00687
Opus 5 $0.00018 $0.00344
Sonnet 5 $0.00007 $0.00137
Haiku 4.5 $0.00004 $0.00069

Measured 9d ago against content hash 5059b506a9d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

vue-button-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 9d 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.

vibeCoding/frontend/vue/vue-base-skill/vue-button-skill/SKILL.md · 87 lines

What it actually says

vue-button-skill

Vue 按钮组件技能。基于 vue-theme-skill 的 Token 实现,零第三方组件库。

核心组件

组件 说明
base-button 通用按钮(6 type × 3 variant × 3 size)

Props 矩阵

维度 可选值
type default / primary / success / warning / danger / info
variant solid(默认)/ outline / text
size sm / md(默认)/ lg
disabled boolean
loading boolean
block boolean(块级铺满)

文件结构

vue-button-skill/
├── SKILL.md
├── README.md
├── base-button.md
└── demo-components/
    └── base-button/
        ├── README.md
        ├── html/01-types.html
        ├── html/02-variants.html
        └── html/03-sizes.html

容器原则

所有按钮组、操作栏都应嵌入 <base-card> 容器(vue-card-skill)。

<base-card title="商品管理">
  <template #header-right>
    <base-button>取消</base-button>
    <base-button type="primary">保存</base-button>
  </template>

  <div class="demo-row">
    <base-button>默认</base-button>
    <base-button type="primary" variant="outline">主要描边</base-button>
    <base-button type="danger" :loading="saving">删除</base-button>
  </div>
</base-card>

设计 Token

.base-button {
  height: var(--height-button-md);     /* 36px */
  padding: 0 var(--space-4);           /* 16px */
  border-radius: var(--radius-md);     /* 6px */
  background: var(--color-surface);
  color: var(--color-text);
}
.base-button--type-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

禁止硬编码任何颜色 / 间距 / 行高 / 圆角值。

第三方组件库

❌ 禁止 Element Plus / Naive UI / Ant Design Vue / Vuetify / PrimeVue。

Files

What ships with it

6 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. 9d ago First seen · 87 lines · 36 tokens per session scan A 5059b506a9d1

Subscribe to this mod's changes

vue-button-skill is a skill published in the GitHub repository jiushiwon/wg-skills (100 stars, last pushed 2d ago), licensed Apache-2.0. It adds 36 tokens to every session and 687 once invoked, about $0.0002 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

shadcn-vue

Manages shadcn-vue components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn-vue, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for…

unovue/shadcn-vue · 97 tokens

moai-domain-uiux

UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.

modu-ai/moai-adk · 49 tokens

moai-domain-frontend

Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.

modu-ai/moai-adk · 54 tokens

figma-codegen

Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…

awdr74100/figwright · 145 tokens

component-template-generator

Generates starter component code using design tokens. Creates React/Vue/Svelte components with proper token usage, variants, and accessibility built in.

curiositech/some_claude_skills · 32 tokens

native-app-designer

Creates breathtaking iOS/Mac and web apps with organic, non-AI aesthetic. Expert in SwiftUI, React animations, physics-based motion, and human-crafted design. Use for iOS/Mac app UI, React/Vue animations, native-feel web apps, physics-based motion design. Activate on "SwiftUI", "iOS app", "native app", "React…

curiositech/some_claude_skills · 128 tokens