Agent skill

Chat X Unit Test

by TencentBlueKing in TencentBlueKing/bk-bcs

“帮助开发者为 Vue 3 组件编写单元测试。当用户需要添加单元测试时使用。”

— description from SKILL.md by TencentBlueKing
Custom licenceAuto-check passedTesting & QA

Install Chat X Unit Test

skills CLI
$ npx skills add TencentBlueKing/bk-bcs --skill chat-x-unit-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TencentBlueKing/bk-bcs chat-x-unit-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TencentBlueKing/bk-bcs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/bcs-services/bcs-project-manager/.cursor/skills/chat-x-unit-test .claude/skills/chat-x-unit-test && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
chat-x-unit-test
GitHub stars
841
Token cost
~342 tokens
SKILL.md length
30 words
Files
1
Skills in repo
30
Repo updated
First seen
Licence
Custom licence

At a glance

  • SKILL.md covers 测试规范, 运行测试, 基础模板 and 测试分类, plus 3 more sections
  • Calls pnpm and npx

About this skill

Chat X Unit Test is a skill in TencentBlueKing/bk-bcs (841 stars). Its SKILL.md is about 342 tokens. Licence: Custom licence.

What it can do on your machine

Read from SKILL.md and the folder at commit 282070c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Chat X Unit Test loads about 342 tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 30 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~14
When it runs · the whole SKILL.md, loaded when a task matches
~342

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 30 words (~342 tokens).

name
chat-x-unit-test

Read the full SKILL.md on GitHub

Files

Just SKILL.md in bcs-services/bcs-project-manager/.cursor/skills/chat-x-unit-test of TencentBlueKing/bk-bcs.

Open the folder on GitHubat commit 282070c

Compare with similar skills

Chat X Unit Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Chat X Unit Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chat X Unit Test this skillTencentBlueKing/bk-bcs841—~342Automated safety check: PassCustom licence
Write Jest Testsrundeck/rundeck6.3k—~486Automated safety check: NotesApache-2.0
Test Coveragescott-fryxell/brayness125—~1.6kAutomated safety check: PassMIT
Data Client Vue Testingreactive/data-client2k—~2.7kAutomated safety check: PassApache-2.0
Unit Test Vue Piniagithub/awesome-copilot40k1 repos~1.8kAutomated safety check: PassMIT
Vite Plusvictorgarciaesgi/regle506—~303Automated safety check: PassMIT

Similar skills

  • Write Jest Tests

    rundeck/rundeck

    Write Vue component unit tests. An agent skill from rundeck/rundeck.

    6.3k GitHub stars~486 tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • Test Coverage

    scott-fryxell/brayness

    Write Vitest specs for Vue 3 JavaScript (Vite Plus, happy-dom, @vue/test-utils) and analyze V8 coverage + Fallow health to prioritize test-first refactors.

    125 GitHub stars~1.6k tokensUpdated 12 days ago
    Testing & QAAuto-check passed
  • Data Client Vue Testing

    reactive/data-client

    Test @data-client/vue composables and components - renderDataCompose, mountDataClient, fixtures, jest, nock HTTP mocking, polling/subscription tests with fake timers, useSuspense, useLive…

    2k GitHub stars~2.7k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Unit Test Vue Pinia

    github/awesome-copilot

    Official

    Write and review unit tests for Vue 3 + TypeScript + Vitest + Pinia codebases.

    40k GitHub starsUsed in 1 repo~1.8k tokens
    Testing & QAAuto-check passed
  • Vite Plus

    victorgarciaesgi/regle

    Vite+ unified toolchain (vp CLI) usage for this project, wrapping Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task.

    506 GitHub stars~303 tokensUpdated 11 days ago
    Testing & QAAuto-check passed
  • Official

    A skill your agent uses for Vue.js testing. An agent skill from JetBrains/skills.

    366 GitHub starsUsed in 7 repos~563 tokens
    Testing & QAAuto-check passed

More from TencentBlueKing/bk-bcs

All 30 skills in this repo
  • Tapd Story Pipeline

    TencentBlueKing/bk-bcs

    单需求实现流水线——把一个 TAPD 需求从零推进到代码提交。自动串联技术澄清、 开发计划、任务拆分、TDD 实现、架构/安全校验、代码提交六个阶段。

    841 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed
  • Harness Engineering

    TencentBlueKing/bk-bcs

    Harness Engineering 编排器——为 AI Agent 构建运行环境规范. An agent skill from TencentBlueKing/bk-bcs.

    841 GitHub stars~765 tokensUpdated 2 days ago
    Auto-check passed
  • Tapd Iteration Plan

    TencentBlueKing/bk-bcs

    TAPD 迭代规划技能。基于"approved"状态的需求池,结合需求依赖关系、size 规模、 优先级进行全局编排,将合适规模的需求规划进入指定迭代。支持新建迭代和已有迭代 重入两种模式,自动控制迭代总规模上限(默认 1000),通过有向无环图(DAG)分析 保证依赖需求优先入迭代。

    841 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Tapd Iteration Runner

    TencentBlueKing/bk-bcs

    TAPD 迭代调度器——批量开发一个迭代中的全部需求。自动完成环境初始化、 需求依赖分析、逐需求调度 pipeline 实现、迭代汇总报告四段编排。

    841 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Tapd Product Discovery

    TencentBlueKing/bk-bcs

    A skill your agent uses when work starts before a complete PRD exists, including 产品前置, 产品调研, 用户调研, 竞品分析, PRD, 原型, 想法建单, 老板需求, 需求来源, 产品父单, 角色拆单, 设计子单, 前端子单, 后端子单, 页面原型 Spec, BKUI 原型, HTML 原型, 原型评审…

    841 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Tapd Story Clarification

    TencentBlueKing/bk-bcs

    TAPD 需求澄清技能。从 TAPD 提取"规划中"状态的需求,按照研发最佳实践对需求进行 多维度澄清(业务逻辑、外部系统交互、上下文),整合项目背景知识,输出符合需求文档 规范的标准化 Markdown 需求文档,并回写 TAPD。

    841 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed

Works with

Categories

Questions about Chat X Unit Test

How do I install Chat X Unit Test in Claude Code?

Run `npx skills add TencentBlueKing/bk-bcs --skill chat-x-unit-test -a claude-code`. Or copy the skill folder (bcs-services/bcs-project-manager/.cursor/skills/chat-x-unit-test in TencentBlueKing/bk-bcs) into .claude/skills/chat-x-unit-test in your project. Claude Code loads it when a task matches its description.

How do I install Chat X Unit Test in Codex?

Run `npx skills add TencentBlueKing/bk-bcs --skill chat-x-unit-test -a codex`. Or copy the skill folder (bcs-services/bcs-project-manager/.cursor/skills/chat-x-unit-test in TencentBlueKing/bk-bcs) into .agents/skills/chat-x-unit-test in your project. Codex loads it when a task matches its description.

Can I use Chat X Unit Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TencentBlueKing/bk-bcs --skill chat-x-unit-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chat-x-unit-test, .gemini/skills/chat-x-unit-test, .github/skills/chat-x-unit-test and .opencode/skills/chat-x-unit-test in your project.

What does Chat X Unit Test need to run?

Going by SKILL.md and its folder, Chat X Unit Test needs the command-line tools its instructions call (pnpm and npx).

Does Chat X Unit Test access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Chat X Unit Test safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Chat X Unit Test use?

Chat X Unit Test has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Chat X Unit Test use?

About 342 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Chat X Unit Test?

Skills that share tags, products or a category with Chat X Unit Test: Write Jest Tests (rundeck/rundeck, 6.3k stars), Test Coverage (scott-fryxell/brayness, 125 stars), Data Client Vue Testing (reactive/data-client, 2k stars) and Unit Test Vue Pinia (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chat X Unit Test?

TencentBlueKing (a GitHub organization) maintains it in TencentBlueKing/bk-bcs, which has 841 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 8, 2026.

Source: TencentBlueKing/bk-bcs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.