See it in action
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
PromptWhat CLI command syntax combines quick scaffolding and full test generation for utils.js using Jest with a 90% coverage goal?
What was checked, without and with the skill| Checked | Without skill | With skill |
|---|
| Specifies the /test-gen command with file and coverage parameters | Missed | Passed |
|---|
What's inside
The instructions your model reads when the skill loads.
SKILL.md248 linessingle file
Test Generator Skill
Auto-suggest tests when you write new code.
When I Activate
- ✅ New function created
- ✅ New component added
- ✅ User mentions testing or tests
- ✅ Test file missing for implementation
- ✅ User asks "can you test this?"
What I Generate
Quick Test Scaffolding
- Basic happy path tests
- Null/undefined edge cases
- Simple error scenarios
- Framework-appropriate syntax (Jest/Vitest/Pytest)
What I Don't Do
- Comprehensive test suites → Use @test-engineer sub-agent
- Integration tests → Use @test-engineer sub-agent
- E2E test design → Use @test-engineer sub-agent
- Test strategy planning → Use @test-engineer sub-agent
Relationship with @test-engineer Sub-Agent
Me (Skill): Quick test scaffolding
@test-engineer (Sub-Agent): Comprehensive testing strategy
Workflow
- You write a function
- I auto-generate basic test structure
- You want full suite → Invoke @test-engineer sub-agent
- Sub-agent creates comprehensive tests
Examples
JavaScript Function
Track record
Benchmark
22 / 22
test cases passed, vs 12 / 22 without
Adoption
- Users
- 5
- Times used
- 233
Safety and source details
SkillSafety
✓ 3 of 3 passed✓Code scan15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/3/2026
View 15 scanner checks
live_secretremote_code_executionreverse_shelldata_exfiltrationssrf_metadataagent_snoopinganti_refusaldestructive_commandsobfuscated_unicodeunicode_homoglyphopaque_blobsuspicious_urltool_overreachtrigger_abuseprompt_injection_phrasing
✓IntentSafe
LLM judge · does the skill do what it claims
✓ContentClean
LLM judge · policy & harmful-content review
Source
Importedalirezarezvani / claude-code-tresor
skills/development/test-generator/SKILL.md
View on GitHub ↗License MITImported 8/3/2026Version v1