Web Artifacts Builder
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
“为组件创建单元测试的标准流程”
$ npx skills add wot-ui/wot-ui --skill create-test -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wot-ui/wot-ui create-test --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/wot-ui/wot-ui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/create-test .claude/skills/create-test && rm -rf skills-srcUse ~/.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/
Install the "create-test" agent skill from https://github.com/wot-ui/wot-ui/tree/main/.agents/skills/create-test into .claude/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/wot-ui/wot-ui/tree/main/.agents/skills/create-testType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add wot-ui/wot-ui --skill create-test -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wot-ui/wot-ui create-test --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wot-ui/wot-ui.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/create-test .agents/skills/create-test && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "create-test" agent skill from https://github.com/wot-ui/wot-ui/tree/main/.agents/skills/create-test into .agents/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wot-ui/wot-ui --skill create-test -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wot-ui/wot-ui create-test --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wot-ui/wot-ui.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/create-test .cursor/skills/create-test && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "create-test" agent skill from https://github.com/wot-ui/wot-ui/tree/main/.agents/skills/create-test into .cursor/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/wot-ui/wot-ui.git --path .agents/skills/create-test--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add wot-ui/wot-ui --skill create-test -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wot-ui/wot-ui create-test --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wot-ui/wot-ui.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/create-test .gemini/skills/create-test && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "create-test" agent skill from https://github.com/wot-ui/wot-ui/tree/main/.agents/skills/create-test into .gemini/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install wot-ui/wot-ui create-testInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add wot-ui/wot-ui --skill create-test -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wot-ui/wot-ui.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/create-test .github/skills/create-test && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "create-test" agent skill from https://github.com/wot-ui/wot-ui/tree/main/.agents/skills/create-test into .github/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wot-ui/wot-ui --skill create-test -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wot-ui/wot-ui create-test --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wot-ui/wot-ui.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/create-test .opencode/skills/create-test && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "create-test" agent skill from https://github.com/wot-ui/wot-ui/tree/main/.agents/skills/create-test into .opencode/skills/create-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-test", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
create-testCreate Test is a skill in wot-ui/wot-ui (384 stars). Its SKILL.md is about 690 tokens. Licence: MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 0abe2c2. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
npmnpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm 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.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Create Test loads about 690 tokens when it runs. Until then it costs about 7 tokens; SKILL.md has 121 words of instructions outside code blocks.
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.
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.
The full file from wot-ui/wot-ui at commit 0abe2c2, republished under its MIT licence (© wot-ui). 121 words, ~690 tokens.
.claude/skills/create-test/SKILL.md (or your agent's skills folder).本技能用于为 wot-ui 项目中的组件创建单元测试。测试框架使用 vitest 和 @vue/test-utils。
所有组件测试位于 tests/components/ 目录下,命名格式为 wd-{组件名}.test.ts。
icon, buttonsrc/uni_modules/wot-ui/components/wd-{组件名}/wd-{组件名}.vuesrc/uni_modules/wot-ui/components/wd-{组件名}/types.ts在 tests/components/ 目录下创建 wd-{组件名}.test.ts 文件。
将以下模板复制到测试文件中,并根据组件实际情况进行修改。
import { mount } from '@vue/test-utils'
import Wd{组件名帕斯卡} from '@/uni_modules/wot-ui/components/wd-{组件名}/wd-{组件名}.vue'
import { describe, test, expect, vi, beforeEach } from 'vitest'
describe('Wd{组件名帕斯卡}', () => {
beforeEach(() => {
vi.clearAllMocks()
})
// 1. 基本渲染测试
test('基本渲染', () => {
const wrapper = mount(Wd{组件名帕斯卡})
// 检查根类名
expect(wrapper.classes()).toContain('wd-{组件名}')
// 检查是否有 snapshot (可选)
// expect(wrapper.element).toMatchSnapshot()
})
// 2. Props 测试
// 遍历 types.ts 中定义的所有 props,测试其效果
test('Props: propName', () => {
const wrapper = mount(Wd{组件名帕斯卡}, {
props: {
propName: 'value'
}
})
// 断言 props 生效,例如检查样式、类名或 DOM 结构
expect(wrapper.classes()).toContain('is-some-state')
})
// 3. Events 测试
test('Events: click', async () => {
const wrapper = mount(Wd{组件名帕斯卡})
await wrapper.trigger('click')
expect(wrapper.emitted('click')).toBeTruthy()
})
// 4. Slots 测试
test('Slots: default', () => {
const content = 'Slot Content'
const wrapper = mount(Wd{组件名帕斯卡}, {
slots: {
default: content
}
})
expect(wrapper.text()).toContain(content)
})
})根据 types.ts 中的 Props 定义和组件逻辑,完善测试用例。
true 和 false (默认) 的情况。通常对应类名变化 is-{prop}。customClass 和 customStyle 是否生效。使用以下命令运行测试,确保通过:
# 运行所有测试
npm run test
# 运行特定文件测试 (推荐)
npx vitest tests/components/wd-{组件名}.test.ts为了确保高测试覆盖率,请关注以下方面:
if/else、switch 语句的所有分支都被执行。disabled)、加载中 (loading)、只读 (readonly) 等状态下的行为。setTimeout、nextTick 或 Promise 相关的异步逻辑。test 的描述应该清晰表达测试的目的。vi.mock 或 vi.spyOn 进行模拟。beforeEach 中清理 mocks,保证测试独立性。© wot-ui, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/create-test of wot-ui/wot-ui.
Open the folder on GitHubat commit 0abe2c2
Create 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Create Test this skillwot-ui/wot-ui | 384 | — | ~690 | Automated safety check: Pass | MIT | |
| Web Artifacts Builderanthropics/skills | 180k | 41 repos | ~769 | Automated safety check: Pass | Apache-2.0 | |
| React Doctormakeplane/plane | 61k | 12 repos | ~657 | Automated safety check: Pass | AGPL-3.0 | |
| Impeccablebestofjs/bestofjs | 3.1k | 27 repos | ~2.6k | Automated safety check: Pass | MIT | |
| Figma Design System Builderwarpdotdev/warp | 65k | 2 repos | ~4.4k | Automated safety check: Pass | AGPL-3.0 | |
| Web Interface Guidelines Reviewervercel-labs/openreview | 1.7k | 98 repos | ~308 | Automated safety check: Pass | None |
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
makeplane/plane
Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.
bestofjs/bestofjs
A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…
warpdotdev/warp
Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.
vercel-labs/openreview
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my…
anonaddy/anonaddy
Always invoke when the user's message includes 'tailwind' in any form.
wot-ui/wot-ui
在 wot-ui 项目中创建新组件骨架与必要注册点。用户要求从零创建组件源码、补齐 types.vue.scss 结构或注册全局组件类型时调用;不负责 Demo 页、测试和文档迁移。
wot-ui/wot-ui
为组件创建演示页面并统一组织结构。用户要求新建/重构组件 Demo、统一展示顺序或用 demo-group 与 demo-group-item 编排时调用。
wot-ui/wot-ui
为新组件或新特性快速生成符合设计系统规范的 SCSS 变量定义代码,或检查现有变量是否合规. An agent skill from wot-ui/wot-ui.
wot-ui/wot-ui
为 wot-ui 生成单文件主题 SCSS,并在 App.vue 中挂载语义变量. An agent skill from wot-ui/wot-ui.
wot-ui/wot-ui
优化 subPages 演示页面中的样式,将硬编码的颜色、字号、间距、圆角等替换为 wot-ui 设计系统语义变量。允许直接使用已全局注入的 variable.scss Sass 变量,也允许使用 CSS 自定义属性;不需要额外引入 variable.scss。消除手写的暗色模式覆盖块,统一使用语义变量实现自适应主题。同时将 class 命名统一为 BEM 规范。
wot-ui/wot-ui
统一 Vue 与 wot-ui 组件源码中的注释和命名规范。用户要求规范组件 Props 注释、函数命名、类型说明、变量命名或在创建组件后补齐代码注释时调用;不负责 Demo、测试和文档迁移。
Categories
Run `npx skills add wot-ui/wot-ui --skill create-test -a claude-code`. Or copy the skill folder (.agents/skills/create-test in wot-ui/wot-ui) into .claude/skills/create-test in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wot-ui/wot-ui --skill create-test -a codex`. Or copy the skill folder (.agents/skills/create-test in wot-ui/wot-ui) into .agents/skills/create-test in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wot-ui/wot-ui --skill create-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/create-test, .gemini/skills/create-test, .github/skills/create-test and .opencode/skills/create-test in your project.
Going by SKILL.md and its folder, Create Test needs the command-line tools its instructions call (npm and npx).
SKILL.md contains no URLs. Its commands use npm and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Create Test is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 690 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Create Test: Web Artifacts Builder (anthropics/skills, 180k stars), React Doctor (makeplane/plane, 61k stars), Impeccable (bestofjs/bestofjs, 3.1k stars) and Figma Design System Builder (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wot-ui (a GitHub organization) maintains it in wot-ui/wot-ui, which has 384 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on September 25, 2026.
Source: wot-ui/wot-ui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.