Agent skill

Spec Test

by HHU3637kr in HHU3637kr/skills

当角色 spec-tester 需要为 Spec 撰写 tester/test-plan.html、在实现完成后执行测试并产出 tester/test-report.html,或在 spec-debugger 修复后重新验证时使用。若测试对象属于 Web 前端、端侧应用、API、CLI 等具体场景,先选择对应 references…

No licenceAuto-check passedTesting & QA

Install Spec Test

skills CLI
$ npx skills add HHU3637kr/skills --skill spec-test -a claude-code

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

GitHub CLI
$ gh skill install HHU3637kr/skills spec-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/HHU3637kr/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/spec-test .claude/skills/spec-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
spec-test
GitHub stars
145
Token cost
~5.9k tokens
SKILL.md length
816 words
Files
2 (incl. references)
Skills in repo
37
Repo updated
First seen
Licence
None found

At a glance

当角色 spec-tester 需要为 Spec 撰写 tester/test-plan.html、在实现完成后执行测试并产出 tester/test-report.html,或在 spec-debugger 修复后重新验证时使用。若测试对象属于 Web 前端、端侧应用、API、CLI 等具体场景,先选择对应 references…

  • Works in 9 steps: 两个阶段,两个产出:Spec 创建阶段 →… → 不直接修复 bug:发现 bug 时向 TeamLead 提交 bug… → 通过 TeamLead 与 spec-writer 协作:Spec… → …
  • Tasks that involve Test generation
  • SKILL.md covers 运行契约, 核心原则, 测试策略库 and 阶段一:撰写测试计划(Spec 创建阶段), plus 3 more sections
  • Calls bash

What it does

Spec Test is an agent skill from HHU3637kr/skills. 当角色 spec-tester 需要为 Spec 撰写 tester/test-plan.html、在实现完成后执行测试并产出 tester/test-report.html,或在 spec-debugger 修复后重新验证时使用。若测试对象属于 Web 前端、端侧应用、API、CLI 等具体场景,先选择对应 references 测试策略。也用于核对用例与证据是否真跑过:校验测试是否在当前工作树实际运行、证据是否由测试运行自动生成(禁止事后手写补写)、识别假测试假绿与测试有效性、评估 spec-executor 的单元测试质量。不要用于普通代码实现、bug 修复,或审查实现是否符合 Spec(后者归 spec-review)。

Its SKILL.md is about 5.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/web-e2e-testing.md`).

It sits in Testing & QA, covering Test generation.

When your agent uses it

  • Tasks that involve Test generation

Example prompts

  • “/spec-test”

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. 两个阶段,两个产出:Spec 创建阶段 → tester/test-plan.html;测试执行阶段 → tester/test-report.html
  2. 不直接修复 bug:发现 bug 时向 TeamLead 提交 bug handoff,由 TeamLead 启动 spec-debugger
  3. 通过 TeamLead 与 spec-writer 协作:Spec 阶段需讨论接口边界和异常情况,确保测试覆盖完整
  4. 关键路径可观测:测试必须验证系统关键路径有日志、trace id、事件或其他可审计证据
  5. 证据归属 tester:端侧测试和关键路径测试的审计日志必须保存在当前 Spec 目录的 tester/artifacts/test-logs//(原始格式,不转 HTML)
  6. 证据必须自动采集:tester/artifacts/test-logs// 下的日志、JSON、trace、录屏和截图必须由测试脚本、浏览器自动化、服务日志采集或命令输出生成;Agent 不得手写、补写或伪造这些证据文件内容。同一规则同样适用于…
  7. 策略按场景加载:不同开发场景的测试策略沉淀在 references/,命中场景时先读取对应策略
  8. 策略在 spec-test 内沉淀:测试过程中发现跨项目可复用的测试方法时,更新本 Skill 的 references/ 和策略表;不要写入当前项目的 AGENTS.md 或 .agents/rules/
  9. 修复循环受预算约束:重验属于 spec-tester ↔ spec-debugger 修复循环的一环,受 lead/team-context.md 的「修复循环预算」约束。每轮重验后更新「修复循环预算」进展信号;触发 「最大轮数」 或 「最大无进展轮数」 时停止发起新一轮…

What it can do on your machine

Read from SKILL.md and the folder at commit a2cccf6. 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:

    • bash

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

  • Network

    No URLs in SKILL.md.

    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

Spec Test loads about 5.9k tokens when it runs, and up to ~7.8k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 816 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~5.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.8k

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 816 words (~5,927 tokens).

name
spec-test
disable-model-invocation
true

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in spec-test of HHU3637kr/skills.

  • SKILL.md
  • references/web-e2e-testing.md

Open the folder on GitHubat commit a2cccf6

Compare with similar skills

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

Spec Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spec Test this skillHHU3637kr/skills145—~5.9kAutomated safety check: PassNone
Emcaklofas/kicad-happy1.4k1 repos~2.8kAutomated safety check: PassMIT
Swig Testswig/swig6.3k—~2.3kAutomated safety check: PassCustom licence
Generate Test Cases342164796/generate-test-cases1191 repos~2.9kAutomated safety check: PassNone
Wioworkersio/skills200—~5.8kAutomated safety check: PassMIT
Verify Cc Safety Netkenryu42/cc-safety-net1.6k—~2kAutomated safety check: PassMIT

Similar skills

  • Emc

    aklofas/kicad-happy

    EMC pre-compliance risk analysis for KiCad PCB designs — 18 check categories, 44 rule IDs covering ground planes, decoupling, I/O filtering, switching harmonics, clock routing, differential pair…

    1.4k GitHub starsUsed in 1 repo~2.8k tokens
    Testing & QAAuto-check passed
  • Swig Test

    swig/swig

    Run SWIG test suite for specific languages. An agent skill from swig/swig.

    6.3k GitHub stars~2.3k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Generate Test Cases

    342164796/generate-test-cases

    自主学习型测试文档生成器。从需求文档(Markdown)生成测试用例 XMind 文件,支持持久化记忆和持续学习。当用户提到"生成测试用例"、"根据需求生成测试"时触发。

    119 GitHub starsUsed in 1 repo~2.9k tokens
    Testing & QAAuto-check passed
  • Wio

    workersio/skills

    Testing workflow skill for finding high-value test candidates, writing focused tests, generating realistic workloads, reviewing test value, and diagnosing test-suite health.

    200 GitHub stars~5.8k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Verify Cc Safety Net

    kenryu42/cc-safety-net

    Launch and drive the real cc-safety-net CLI — the hook decision path, explain, status/doctor, logs, and the local policy GUI — against an isolated home, capturing evidence.

    1.6k GitHub stars~2k tokensUpdated today
    Testing & QAAuto-check passed
  • File Server

    microsoft/WindowsProtocolTestSuites

    Official

    ALWAYS LOAD THIS SKILL when working with FileServer, SMB, SMB2, SMB3, CIFS, file sharing, MS-SMB2, MS-FSCC, MS-FSA, MS-DFSC, MS-FSRVP, MS-RSVD, MS-SQOS, or any file server protocol test…

    567 GitHub stars~4.1k tokensUpdated 23 days ago
    Testing & QAAuto-check passed

More from HHU3637kr/skills

All 37 skills in this repo
  • Gif Sticker Maker

    HHU3637kr/skills

    Convert photos (people, pets, objects, logos) into 4 animated GIF stickers with captions.

    145 GitHub starsUsed in 3 repos~1.3k tokens
    Auto-check passed
  • Agent Browser

    HHU3637kr/skills

    Headless browser automation for AI agents using agent-browser CLI.

    145 GitHub stars~1.9k tokensUpdated 16 days ago
    Auto-check passed
  • Darwin Skill

    HHU3637kr/skills

    Darwin Skill (达尔文.skill): autonomous skill optimizer inspired by Karpathy's autoresearch.

    145 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Token Efficiency

    HHU3637kr/skills

    Cross-platform token audit and optimization for AI coding agents (Cursor, Codex, Claude Code, Hermes, Windsurf, Cline, OpenClaw, Gemini CLI, Aider).

    145 GitHub stars~842 tokensUpdated 16 days ago
    Auto-check passed
  • Guizang Ppt Skill

    HHU3637kr/skills

    生成横向翻页网页 PPT(单 HTML 文件),含 WebGL 背景、章节幕封、数据大字报、图片网格等模板。提供两种风格:① "电子杂志 × 电子墨水"(衬线 + 流体背景 + 暖色) ② "瑞士国际主义"(无衬线 + 网格点阵 + IKB/柠檬黄/柠檬绿/安全橙高亮)。当用户需要制作分享 / 演讲 / 发布会风格的网页 PPT,或提到"杂志风 PPT"、"瑞士风 PPT"、"Swiss…

    145 GitHub starsUsed in 1 repo~4.7k tokens
    Auto-check passed
  • Huashu Nuwa

    HHU3637kr/skills

    女娲造人:输入人名/主题/甚至只是模糊需求,自动深度调研→思维框架提炼→生成可运行的人物Skill. An agent skill from HHU3637kr/skills.

    145 GitHub starsUsed in 1 repo~4k tokens
    Auto-check passed

Categories

Questions about Spec Test

What does Spec Test do?

当角色 spec-tester 需要为 Spec 撰写 tester/test-plan.html、在实现完成后执行测试并产出 tester/test-report.html,或在 spec-debugger 修复后重新验证时使用。若测试对象属于 Web 前端、端侧应用、API、CLI 等具体场景,先选择对应 references…. Spec Test is an agent skill from HHU3637kr/skills.

When should I use Spec Test?

Spec Test fits situations like: tasks that involve Test generation.

How do I install Spec Test in Claude Code?

Run `npx skills add HHU3637kr/skills --skill spec-test -a claude-code`. Or copy the skill folder (spec-test in HHU3637kr/skills) into .claude/skills/spec-test in your project. Claude Code loads it when a task matches its description.

How do I install Spec Test in Codex?

Run `npx skills add HHU3637kr/skills --skill spec-test -a codex`. Or copy the skill folder (spec-test in HHU3637kr/skills) into .agents/skills/spec-test in your project. Codex loads it when a task matches its description.

Can I use Spec 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 HHU3637kr/skills --skill spec-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/spec-test, .gemini/skills/spec-test, .github/skills/spec-test and .opencode/skills/spec-test in your project.

What does Spec Test need to run?

Going by SKILL.md and its folder, Spec Test needs the command-line tools its instructions call (bash).

Does Spec Test access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Spec 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 Spec Test use?

No licence was found for Spec Test or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Spec Test use?

About 5.9k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Spec Test?

Skills that share tags, products or a category with Spec Test: Emc (aklofas/kicad-happy, 1.4k stars), Swig Test (swig/swig, 6.3k stars), Generate Test Cases (342164796/generate-test-cases, 119 stars) and Wio (workersio/skills, 200 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spec Test?

HHU3637kr (a GitHub user) maintains it in HHU3637kr/skills, which has 145 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on September 23, 2026.

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