Agent skill

Test Case Writing

by naodeng in naodeng/awesome-qa-skills

A skill your agent uses when you need to create high-quality test cases with normal, exception, and boundary scenarios; triggers include 测试用例编写 and test case writing.

Custom licenceAuto-check passedTesting & QA

Install Test Case Writing

skills CLI
$ npx skills add naodeng/awesome-qa-skills --skill test-case-writing -a claude-code

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

GitHub CLI
$ gh skill install naodeng/awesome-qa-skills test-case-writing --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/naodeng/awesome-qa-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/zh/testing-types/test-case-writing .claude/skills/test-case-writing && 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
test-case-writing
GitHub stars
246
Token cost
~451 tokens
SKILL.md length
87 words
Files
42 (incl. scripts, references)
Skills in repo
22
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when you need to create high-quality test cases with normal, exception, and boundary scenarios; triggers include 测试用例编写 and test case writing.

  • Works in 5 steps: 阅读并遵循「按需加载」中的主提示词(覆盖清单、输出结构、质量要求)。 → 只补充真正影响结果的项目上下文:范围、环境、限制、风险、依赖、期望产出,以及可选的… → 先按需求追踪、触发条件、动作与可观察预期识别等价候选,再生成一套统一用例。 → …
  • You need to create high-quality test cases with normal
  • SKILL.md covers 何时使用, 执行流程, 核心约束 and 与增强版的路由边界, plus 3 more sections
  • Boundary scenarios

What it does

Test Case Writing is an agent skill from naodeng/awesome-qa-skills. Use this skill when you need to create high-quality test cases with normal, exception, and boundary scenarios; triggers include 测试用例编写 and test case writing.

Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. The skill folder holds 47 other files, including scripts and reference files (for example `README.md`, `agents/openai.yaml` and `evals/cases/basic-success.yaml`).

It sits in Testing & QA, covering Test generation. The repository describes itself as: Awesome QA Skills is an open-source AI-native Quality Engineering skill system that helps engineering teams reason about, design, execute, evaluate, and continuously improve…

When your agent uses it

  • You need to create high-quality test cases with normal
  • Boundary scenarios
  • Triggers include 测试用例编写 and test case writing

Example prompts

  • “/test-case-writing”

Workflow steps

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

  1. 阅读并遵循「按需加载」中的主提示词(覆盖清单、输出结构、质量要求)。
  2. 只补充真正影响结果的项目上下文:范围、环境、限制、风险、依赖、期望产出,以及可选的带 source_role 角色场景候选。
  3. 先按需求追踪、触发条件、动作与可观察预期识别等价候选,再生成一套统一用例。
  4. 信息不全时先给可用初版,并显式标出假设与信息缺口。
  5. 默认 Markdown;用户指定其他格式时再切换。

What it can do on your machine

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

    Ships 1 file in scripts/, which the agent can run.

    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

Test Case Writing loads about 451 tokens when it runs, and up to ~586 if it reads all its reference files. Until then it costs about 44 tokens; SKILL.md has 87 words of instructions outside code blocks.

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

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); the scripts in this folder 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 87 words (~451 tokens).

name
test-case-writing

Read the full SKILL.md on GitHub

Files

SKILL.md and 41 other files (scripts, references) in skills/zh/testing-types/test-case-writing of naodeng/awesome-qa-skills.

  • SKILL.md
  • README.md
  • agents/openai.yaml
  • evals/cases/basic-success.yaml
  • evals/cases/edge-incomplete-input.yaml
  • evals/cases/edge-risk-priority.yaml
  • evals/cases/edge-role-source-deduplication.yaml
  • evals/eval.yaml
  • examples/README.md
  • examples/test-case-patterns/README.md
  • output-formats.md
  • output-templates/template-csv.csv
  • output-templates/template-excel.tsv
  • output-templates/template-json.json
  • output-templates/template-markdown.md
  • … and 27 more

Open the folder on GitHubat commit 52c4eaf

Compare with similar skills

Test Case Writing 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.

Test Case Writing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Test Case Writing this skillnaodeng/awesome-qa-skills246—~451Automated safety check: PassCustom licence
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 24 days ago
    Testing & QAAuto-check passed

More from naodeng/awesome-qa-skills

All 22 skills in this repo
  • Accessibility Testing

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to design accessibility testing against WCAG, keyboard navigation, and assistive technology scenarios; triggers include accessibility testing and a11y testing.

    246 GitHub stars~665 tokensUpdated 13 days ago
    Auto-check passed
  • API Test Bruno

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to parse multi-format API definitions and generate Bruno collections for executable regression; triggers include Bruno collections and Bruno API testing.

    246 GitHub stars~663 tokensUpdated 13 days ago
    Auto-check passed
  • API Test Pytest

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to parse multi-format API definitions and generate Pytest API automation; triggers include Pytest API tests and API automation with Pytest.

    246 GitHub stars~655 tokensUpdated 13 days ago
    Auto-check passed
  • API Test Restassure

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to parse multi-format API definitions and generate Rest Assured Java test classes; triggers include Rest Assured, RestAssured, and Java API automation.

    246 GitHub stars~658 tokensUpdated 13 days ago
    Auto-check passed
  • API Test Supertest

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to parse multi-format API definitions and generate executable Supertest scripts; triggers include Supertest, Node.js API testing, and Supertest automation.

    246 GitHub stars~659 tokensUpdated 13 days ago
    Auto-check passed
  • API Testing

    naodeng/awesome-qa-skills

    A skill your agent uses when you need to design API test plans or cases for REST, GraphQL, or gRPC interfaces; triggers include API testing and API test cases.

    246 GitHub stars~636 tokensUpdated 13 days ago
    Auto-check passed

Categories

Questions about Test Case Writing

What does Test Case Writing do?

A skill your agent uses when you need to create high-quality test cases with normal, exception, and boundary scenarios; triggers include 测试用例编写 and test case writing. Test Case Writing is an agent skill from naodeng/awesome-qa-skills. Use this skill when you need to create high-quality test cases with normal, exception, and boundary scenarios; triggers include 测试用例编写 and test case writing.

When should I use Test Case Writing?

Test Case Writing fits situations like: you need to create high-quality test cases with normal; boundary scenarios; triggers include 测试用例编写 and test case writing.

How do I install Test Case Writing in Claude Code?

Run `npx skills add naodeng/awesome-qa-skills --skill test-case-writing -a claude-code`. Or copy the skill folder (skills/zh/testing-types/test-case-writing in naodeng/awesome-qa-skills) into .claude/skills/test-case-writing in your project. Claude Code loads it when a task matches its description.

How do I install Test Case Writing in Codex?

Run `npx skills add naodeng/awesome-qa-skills --skill test-case-writing -a codex`. Or copy the skill folder (skills/zh/testing-types/test-case-writing in naodeng/awesome-qa-skills) into .agents/skills/test-case-writing in your project. Codex loads it when a task matches its description.

Can I use Test Case Writing 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 naodeng/awesome-qa-skills --skill test-case-writing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-case-writing, .gemini/skills/test-case-writing, .github/skills/test-case-writing and .opencode/skills/test-case-writing in your project.

What does Test Case Writing need to run?

SKILL.md names no scripts, command-line tools or credentials: Test Case Writing is instructions for the agent only.

Does Test Case Writing 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 Test Case Writing 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Test Case Writing use?

Test Case Writing 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 Test Case Writing use?

About 451 tokens (SKILL.md is roughly 1.8k 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 135 tokens, read only when the agent opens those files.

What are the alternatives to Test Case Writing?

Skills that share tags, products or a category with Test Case Writing: 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 Test Case Writing?

naodeng (a GitHub user) maintains it in naodeng/awesome-qa-skills, which has 246 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on September 26, 2026.

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