test-gen
Skill0 starsChanged 7 months agoMITView on GitHub
测试生成与执行 - 根据代码变更生成针对性测试
15 other projects use a version of this.
Adopted by
Most recently taken up by
- SethGammon/Citadeltheir own version, first seen Nov 4, 2026
- chidekina/aria-superpowerstheir own version, first seen Oct 13, 2026
- allysgrandiose674/Armorytheir own version, first seen Oct 13, 2026
- mayankjain1815-commits/CITADELtheir own version, first seen Oct 13, 2026
- AllThingsSmitty/proven-skillstheir own version, first seen Oct 6, 2026
- ngc-shj/claude-code-configtheir own version, first seen Aug 31, 2026
Used with
Projects with it also use ascii-diagram, research-fleet and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SethGammonSkillascii-diagram
Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.
Also in 4 projects that use this
SethGammonSkillresearch-fleet
Parallel research using Fleet wave mechanics. Spawns multiple scout agents, each investigating a different angle of the same question. Findings are compressed between waves. Produces a unified research brief from multiple independent perspectives.
Also in 3 projects that use this
vicoa-aiSkilllive-preview
Start a local app in the current user project, expose it through a tunnel, and return preview details in structured Markdown. Use when the user asks for a preview URL, public URL, shareable localhost, mobile/web preview, or tunnel setup.
Also in 4 projects that use this
BerryKuipersSkillscaffold
Detect project stack, apply architecture patterns, wire quality gates, and scaffold features. Use when bootstrapping a project, adding a vertical slice, wiring CI/CD, adding Docker compose, or setting up quality gates.
Also in 5 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 8 projects that use this
wpankSkillsession-handoff
WHAT: Create comprehensive handoff documents that enable fresh AI agents to seamlessly continue work with zero ambiguity. Solves long-running agent context exhaustion problem.
Also in 4 projects that use this
- +1 more from SethGammon
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- SethGammon/Citadel★ 927same name
- SethGammon/Armory★ 19same name
- EvildoerXiaoyy/reasonix-skills★ 4same name
- kronus-tech/kronus★ 4same name
- mayankjain1815-commits/CITADEL★ 4same name
- chidekina/aria-superpowers★ 2same name
- liogogogo/claude-code-enhancement★ 2same name
- Pradnyeshp/Claude-Skills★ 2same name
- AllThingsSmitty/proven-skills★ 1same name
- allysgrandiose674/Armory★ 1same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- code-reviewSkill
- context7Skill
- data-fetchSkill
- doc-genSkill
- env-setupSkill
- gsdSkill
- product-verifySkill
- prompt-cache-optimizeSkill
- security-checkSkill
- superpowersSkill
The file
Files
Test Generation Skill
用途
根据代码变更生成针对性测试并执行测试套件。
测试类型
1. 单元测试
- 函数级别测试
- 边界条件测试
- 异常处理测试
2. 集成测试
- API 集成测试
- 数据库集成测试
- 第三方服务集成测试
3. E2E 测试
- 用户流程测试
- 关键路径测试
- 回归测试
使用方法
/claude "使用 test-gen skill 为这个函数生成测试"
/claude "使用 test-gen skill 运行相关测试"测试生成原则
- 覆盖核心逻辑 - 优先覆盖业务关键代码
- 边界条件 - 测试输入边界
- 错误场景 - 测试异常处理
- 可维护性 - 测试代码清晰易懂
输出格式
## 测试报告
### 生成的测试
- 测试文件路径
- 测试用例数量
### 测试结果
- 通过:X
- 失败:Y
- 跳过:Z
### 覆盖率
- 行覆盖率:X%
- 分支覆盖率:Y%Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

