vue-status-skill

Vue generic status/label component. Implemented with Vue 3 and TypeScript generics, supporting 7 types (primary/success/warning/danger/info/default/neutral), 5 variants (solid/light/outline/ghost/dot), and 3 sizes (sm/md/lg). Optional rounded/square styling, closable behavior, and icon support. Does not depend on any third‑party component library.

Last repository push
GitHub Stars
154
Forks
49
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "vue-status-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2873bf9f1d8c0720b3abb23dc676f2aef906a99bbf1e3dcf679072159690f688. Verify the upstream source and version against https://github.com/jiushiwon/wg-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Vue generic status/label component. Implemented with Vue 3 and TypeScript generics, supporting 7 types (primary/success/warning/danger/info/default/neutral), 5 variants (solid/light/outline/ghost/dot), and 3 sizes (sm/md/lg). Optional rounded/square styling, closable behavior, and icon support. Does not depend on any third‑party component library.

0 Downloads

Introduction source: third_party · jiushiwon · 0.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: vue-status-skill
description: Vue 通用状态/标签组件。Vue3 + TypeScript 泛型,支持 7 种 type(primary/success/warning/danger/info/default/neutral)、5 种 variant(solid/light/outline/ghost/dot)、3 种 size(sm/md/lg)、圆角/方形/可关闭/带图标。零第三方组件库。
trigger: |
  帮我做一个标签 | 做一个状态标签 | 做一个徽章
  做一个 success 标签 | 做一个 danger 标签 | 做一个 warning 标签
  做一个 info 标签 | 做一个带点的标签 | 做一个可关闭的标签
  做一个带图标的标签 | 做一个不同大小的标签
  做一个状态指示器 | 做一个标记 | 做一个 chip

vue-status-skill

Vue 通用状态/标签/徽章组件,Vue3 + TypeScript,零第三方依赖。

核心组件

组件 说明
base-status 状态/标签/徽章

设计要点

  • ✅ 7 种 type:primary / success / warning / danger / info / default / neutral
  • ✅ 5 种 variant:solid / light / outline / ghost / dot(仅圆点)
  • ✅ 3 种 size:sm / md / lg
  • ✅ 圆角 / 方形可切换
  • ✅ 可关闭、可带图标、可带数字徽标
  • ✅ 支持禁用、动画、闪烁

文件结构

vue-status-skill/
├── SKILL.md
├── README.md
├── base-status.md                      # 状态/标签组件
└── demo-components/
    └── base-status/
        └── html/
            └── base-status.html        # 所有形态展示

容器原则

必须嵌入 <base-card> 使用。

<!-- ✅ 正确 -->
<base-card title="订单状态">
  <base-status type="success">已支付</base-status>
</base-card>

<!-- ❌ 错误 -->
<base-status type="success">已支付</base-status>

设计 Token

.base-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0 var(--space-2);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: var(--weight-medium);
}

跨技能协同

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供 Vue3 + TypeScript 通用状态/标签组件,零第三方依赖
  • 支持 7 种类型、5 种变体、3 种尺寸及多种功能(可关闭、图标等)
  • 面向前端开发者解决实际开发痛点
Trigger Precision92/100

Highlights

  • 触发词覆盖全面,包括基础标签、特定类型、特殊功能等多种表达
  • 边界清晰,能有效命中目标场景
Structure and Standards95/100

Highlights

  • 结构清晰完整,包含核心组件、设计要点、文件结构、容器原则等
  • frontmatter 完整,有端到端示例
Execution Reliability75/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 中引用了 demo-components/base-status/html/base-status.html 文件,但传入内容中未提供该文件

    Recommendation: 请补充缺失的 demo 文件,或更新文档移除无效引用

Highlights

  • 组件设计完整,参数定义清晰
  • 提及异常处理机制(禁用、动画)
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.