Agent skill

Generate Test Cases

by 342164796 in 342164796/generate-test-cases

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

No licenceAuto-check passedTesting & QA

Install Generate Test Cases

skills CLI
$ npx skills add 342164796/generate-test-cases --skill generate-test-cases -a claude-code

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

GitHub CLI
$ gh skill install 342164796/generate-test-cases generate-test-cases --agent claude-code

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

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

Facts

Skill name
generate-test-cases
GitHub stars
119
Used in
1 other repo
Token cost
~2.9k tokens
SKILL.md length
584 words
Files
16 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

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

  • Works in 9 steps: 项目初始化(首次运行) → 读取需求 → 解析需求 → …
  • Tasks that involve Test generation
  • SKILL.md covers 核心能力, 质量标准, 交互模式 and 测试设计方法, plus 8 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Generate Test Cases is an agent skill from 342164796/generate-test-cases. 自主学习型测试文档生成器。从需求文档(Markdown)生成测试用例 XMind 文件,支持持久化记忆和持续学习。当用户提到"生成测试用例"、"根据需求生成测试"时触发。

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 18 other files, including scripts and reference files (for example `CLAUDE.md`, `READEME.md` and `references/BUSINESS-RULES.md`). Compatibility notes: Requires Python 3

It sits in Testing & QA, covering Test generation.

When your agent uses it

  • Tasks that involve Test generation

Example prompts

  • “生成测试用例”
  • “根据需求生成测试”
  • “/generate-test-cases”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Requires Python 3

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. 项目初始化(首次运行)
  2. 读取需求
  3. 解析需求
  4. 5: 【检查点1】解析确认
  5. 6: 歧义处理
  6. 8: 【检查点2】质量预审 & 生成预览
  7. 生成文档
  8. 更新记忆(自学习闭环)
  9. 用户反馈学习(生成后可选)

What it can do on your machine

Read from SKILL.md and the folder at commit f483f7a. 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 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    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.

  • Compatibility

    Requires Python 3

    From compatibility in the SKILL.md frontmatter.

Context cost

Generate Test Cases loads about 2.9k tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 26 tokens; SKILL.md has 584 words of instructions outside code blocks.

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

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

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

name
generate-test-cases
compatibility
Requires Python 3

Read the full SKILL.md on GitHub

Files

SKILL.md and 15 other files (scripts, references) in the repository root of 342164796/generate-test-cases.

  • SKILL.md
  • .gitignore
  • CLAUDE.md
  • READEME.md
  • references/BUSINESS-RULES.md
  • references/INTERACTION-PATTERNS.md
  • references/LEARNING-RULES.md
  • references/MEMORY-SCHEMA.md
  • references/PARSING-RULES.md
  • references/TEST-DESIGN-METHODS.md
  • references/TEST-PRIORITY.md
  • references/TRACEABILITY.md
  • requirements/requirement.md
  • scripts/generate_excel.py
  • scripts/generate_xmind.py
  • scripts/memory_manager.py

Open the folder on GitHubat commit f483f7a

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in 342164796/generate-test-cases, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Generate Test Cases 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.

Generate Test Cases compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Generate Test Cases this skill342164796/generate-test-cases1191 repos~2.9kAutomated safety check: PassNone
Emcaklofas/kicad-happy1.3k1 repos~2.8kAutomated safety check: PassMIT
Swig Testswig/swig6.3k—~2.3kAutomated safety check: PassCustom licence
Verify Cc Safety Netkenryu42/cc-safety-net1.6k—~2kAutomated safety check: PassMIT
Wioworkersio/skills180—~5.8kAutomated safety check: PassMIT
File Servermicrosoft/WindowsProtocolTestSuites567—~4.1kAutomated 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.3k 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 today
    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
  • 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.

    180 GitHub stars~5.8k tokensUpdated 2 mo ago
    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 21 days ago
    Testing & QAAuto-check passed
  • Add E2E Test Suite

    crowdin/crowdin-cli

    Adds a new end-to-end (e2e) test suite for the Crowdin CLI under tests/e2e/suites/, exercising real CLI commands against a freshly-created Crowdin project.

    319 GitHub stars~2.4k tokensUpdated yesterday
    Testing & QAAuto-check passed

Categories

Questions about Generate Test Cases

What does Generate Test Cases do?

自主学习型测试文档生成器。从需求文档(Markdown)生成测试用例 XMind 文件,支持持久化记忆和持续学习。当用户提到"生成测试用例"、"根据需求生成测试"时触发。. Generate Test Cases is an agent skill from 342164796/generate-test-cases.

When should I use Generate Test Cases?

Generate Test Cases fits situations like: tasks that involve Test generation.

How do I install Generate Test Cases in Claude Code?

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

How do I install Generate Test Cases in Codex?

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

Can I use Generate Test Cases 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 342164796/generate-test-cases --skill generate-test-cases -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generate-test-cases, .gemini/skills/generate-test-cases, .github/skills/generate-test-cases and .opencode/skills/generate-test-cases in your project.

What does Generate Test Cases need to run?

Going by SKILL.md and its folder, Generate Test Cases needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3. Compatibility (from SKILL.md): Requires Python 3.

Does Generate Test Cases 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 Generate Test Cases 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 Generate Test Cases use?

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

How many tokens does Generate Test Cases use?

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

What are the alternatives to Generate Test Cases?

Skills that share tags, products or a category with Generate Test Cases: Emc (aklofas/kicad-happy, 1.3k stars), Swig Test (swig/swig, 6.3k stars), Verify Cc Safety Net (kenryu42/cc-safety-net, 1.6k stars) and Wio (workersio/skills, 180 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Generate Test Cases?

342164796 (a GitHub user) maintains it in 342164796/generate-test-cases, which has 119 GitHub stars. The repository was last updated on April 3, 2026.

Source: 342164796/generate-test-cases on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.