vue-list-item-skill

vue-list-item-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 112 tokens per session (2,324 once invoked), scanned A, original, Apache-2.0.

A reusable Vue 3 list-item foundation for components that show rows of choices, including menus, trees, dropdowns, selects, tabs, and breadcrumbs. It provides shared row areas such as an expander, icon, label, and secondary text.

In plain words
What is it for?
Use it when creating or standardising the individual rows used by Vue menus, trees, dropdowns, selects, tabs, and breadcrumbs.
Why use it?
It avoids repeating the same row layout, hover states, active states, and disabled states across many list components. Sharing this base can keep their appearance and interaction consistent.

Skill for Claude CodeCodex

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

Good fit Use it when creating or standardising the individual rows used by Vue menus, trees, dropdowns, selects, tabs, and breadcrumbs.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/vue-list-item-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/vue-list-item-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,324 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.00112 $0.02324
Opus 5.5 $0.00045 $0.00930
Sonnet 5.5 $0.00022 $0.00465
Haiku 4.5 $0.00011 $0.00232

Measured 16d ago against content hash f500d45c0fd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vue-list-item-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 16d 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.

frontend/vue/vue-base-skill/vue-list-item-skill/SKILL.md · 194 lines

How it starts

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

vue-list-item-skill

Vue 列表项抽象基座。所有「列表类」组件(menu / tree / dropdown / select / tabs / breadcrumb)的共同底层。

uni-app 对应实现见 uniapp-base-skill 的 list-item 组件,两端按各自组件契约使用。

零样式标签铁律:实现代码仅使用 <div> / <span> + CSS3,禁止 <p> <h1~h6> <header> <footer> <section> <article> <aside> <nav> <main> <button> <table> <input> <select> <form> <label> <img> 等带默认样式的标签。

为什么需要列表项抽象

观察所有「列表类」组件:

组件 项的数据形态
base-tree { id, label, icon?, children?, meta? }
base-contextmenu { id, label, icon?, shortcut?, divider? }
base-dropdown { id, label, icon?, group? }
base-select { id, label, icon?, desc? }
base-tabs { id, label, icon?, badge? }
base-breadcrumb { label, href?, icon? }

每一类都在干同一件事——渲染一行可点击的项。如果不抽象,每个组件自己实现一遍 expander / icon / hover / active / disabled / divider,必然导致:

  • 样式碎片化
  • 交互不一致
  • 代码重复 6 份

vue-list-item-skill 把"项"这件事抽象到基座,6 个上层组件都消费它。

核心组件

组件 角色 文档
base-list-item 列表项基座(4 槽位 + 6 风格) base-list-item.md

职责:

  • 定义列表项的"形":4 个槽位(expander / icon / label / meta)+ 6 种风格
  • 不关心上层是什么组件(menu / tree / dropdown / select / tabs / breadcrumb)
  • 上层组件只需要传 items 数据 + 视觉风格 class 即可

4 个槽位

┌─ [expander] [icon] [label] [meta] ─┐
槽位 数据字段 说明
[expander] children 有 children 就显示箭头,点击折叠/展开
[icon] icon 图标(emoji / Unicode / CSS mask)
[label] label 主文本(必填)
[meta] meta / badge / shortcut 右侧附加

6 种内置风格

每种风格对应一种真实产品的视觉风格,选择风格 = 选择产品基调:

# 风格 class 视觉基调 适用产品
1 basic 中性浅灰 + 蓝色高亮 后台管理、通用场景
2 finder macOS 蓝色选中 + 紧凑行高 个人文件、Finder 类
3 win 浅蓝 hover + 蓝边选中 Windows 资源管理器
4 vscode 深色主题 + 等宽 meta IDE、编辑器、终端
5 admin 方框箭头 + 浅蓝高亮 Ant Design / Element UI 类后台
6 notion 灰色 hover + 纯文本层级 Notion 文档、笔记类
7 nav 渐变选中 + 强引导阴影 侧边导航、菜单面板

Read the full file on GitHub · 194 lines

Files

What ships with it

7 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. 16d ago Changed f500d45c0fd5
  2. 2mo ago First seen · 194 lines · 112 tokens per session scan A b853608ef8c7

Subscribe to this mod's changes

vue-list-item-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 112 tokens to every session and 2,324 once invoked, about $0.0004 per session on Opus 5.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-15.

Related

vue-list-item-skill compared with skills from other repositories

vue-list-item-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vue-list-item-skilljiushiwon/wg-skillsSkill1547d agoApache-2.0A112Claude Code, Codex
shadcn-sveltevercel-labs/json-renderSkill20k7d agoApache-2.0A63Claude Code, Codex
add-localizationmicrosoft/power-platform-skillsSkill1.2ktodayMITA69Claude Code
moai-domain-uiuxmodu-ai/moai-adkSkill1.3ktodayApache-2.0A49Claude Code
moai-domain-frontendmodu-ai/moai-adkSkill1.3ktodayApache-2.0A54Claude Code
vue-router-best-practicesvuejs-ai/skillsSkill3.4k1mo agoMITA25Claude Code, Codex
weapp-vite-vue-sfc-best-practicesweapp-vite/weapp-viteSkill529todayMITA107Codex