vue-theme-skill

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

A Vue design-token system for shared colors, spacing, font sizes, corner shapes, component heights, and icon sizes. Design tokens are named values that keep an interface’s visual choices consistent.

In plain words
What is it for?
Use it to generate color scales, export CSS variables, and configure themes in Vue. It does not provide components or dark mode.
Why use it?
It removes the need to manage these visual values separately across a Vue project and supports switching between configured themes.

Skill for Claude CodeCodex

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

Good fit Use it to generate color scales, export CSS variables, and configure themes in Vue. It does not provide components or dark mode.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/vue-theme-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-theme-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-theme-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-theme-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-theme-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,653 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.00130 $0.03653
Opus 5 $0.00065 $0.01826
Sonnet 5 $0.00026 $0.00731
Haiku 4.5 $0.00013 $0.00365

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (templates/scripts/generate-tokens.js), 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.

vibeCoding/frontend/vue/vue-theme-skill/SKILL.md · 373 lines

How it starts

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

Vue Theme Skill(Vue 设计 Token 层)

⚠️ 边界声明(绝不可越界)

能力 状态
设计 Token 体系(颜色 / 尺寸 / 圆角 / 阴影) ✅ 负责
多主题色阶(HSL 算法 50-950) ✅ 负责
CSS 变量导出 ✅ 负责
主题切换(运行时 / 构建时) ✅ 负责
组件库 ❌ 不做(由 vue-base-skill 负责)
Dark Mode ❌ 不做
Z-Index / Motion / Transition ❌ 不做
JS Bridge / 主题持久化 ❌ 不做(由业务层处理)
TypeScript 类型生成 ❌ 不做
Figma 对接 / A11y 校验 ❌ 不做

⚠️ 严格依赖对齐

本 Skill 的命名体系完全对齐 uniapp-theme-skill

维度 命名规范
颜色 --color-primary-{50~950} + --color-primary
间距 --space-2 / --space-3 / --space-4 ...
字体 --font-{2xs,xs,sm,base,lg,xl,2xl,3xl}
圆角 --radius-{sm,md,lg,xl,full}
高度 --height-{button,input,card}-{sm,md,lg}
图标 --icon-{xs,sm,md,lg,xl}

When to Use

  • "vue 项目配置主题色"
  • "vue 设计变量"
  • "vue 多主题切换"
  • "vue CSS 变量系统"
  • "vue 色阶生成"

Not for

  • ❌ 组件库(→ vue-base-skill)
  • ❌ 工程化骨架(→ vue-generate-skill)
  • ❌ uniapp 项目(→ uniapp-theme-skill)

三大核心能力

能力 1:主题色(HSL 算法 50-950)

9 级色阶
--color-primary-50:   hsl(211, 100%, 96%);
--color-primary-100:  hsl(211, 100%, 92%);
--color-primary-200:  hsl(211, 100%, 86%);
--color-primary-300:  hsl(211, 100%, 76%);
--color-primary-400:  hsl(211, 100%, 66%);  /* 浅色 hover */
--color-primary-500:  hsl(211, 100%, 56%);  /* 主色(= --color-primary) */
--color-primary-600:  hsl(211, 100%, 48%);  /* 主色按下 */
--color-primary-700:  hsl(211, 100%, 40%);
--color-primary-800:  hsl(211, 100%, 32%);
--color-primary-950:  hsl(211, 100%, 16%);  /* 深色文本 */

为什么用 HSL 而不是 RGB 混合?

  • ✅ 色相绝对稳定(hue 不变)
  • ✅ 调整饱和度 / 亮度即可生成色阶
  • ✅ 与 Tailwind / Material 等业界方案对齐
8 套预设主题
主题 主色 HSL 命名
蓝(默认) hsl(211, 100%, 56%) blue
绿 hsl(152, 69%, 45%) green
hsl(262, 83%, 58%) purple
hsl(0, 84%, 60%) red
hsl(33, 100%, 56%) orange
hsl(180, 77%, 47%) cyan
hsl(330, 81%, 60%) pink
hsl(220, 9%, 46%) slate

Read the full file on GitHub · 373 lines

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. 6d ago Changed · +35 lines 4dfe36f59e8f
  2. 9d ago First seen · 338 lines · 130 tokens per session scan A 0f49ee04308b

Subscribe to this mod's changes

vue-theme-skill is a skill published in the GitHub repository jiushiwon/wg-skills (100 stars, last pushed 2d ago), licensed Apache-2.0. It adds 130 tokens to every session and 3,653 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

shadcn-svelte

Pre-built shadcn-svelte components for json-render Svelte apps. Use when working with @json-render/shadcn-svelte, adding standard UI components to a Svelte catalog, or building Svelte web UIs with shadcn-svelte + Tailwind CSS components.

vercel-labs/json-render · 63 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

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

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