johnlindquist/claude/testgen
Claude Code and agent skill by johnlindquist/claude
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Generate tests using AI and run test suites. Use for generating unit tests, running coverage reports, and mutation testing.
Install
npx vskill@latest install johnlindquist/claude/testgenSKILL.md
Test Generator
AI-powered test generation and test suite management.
Prerequisites
AI Test Generation
Generate Unit Tests
Generate Tests for Specific Function
TDD Loop
Test Runners
Jest
Vitest
Mocha
Coverage Analysis
Generate Coverage Report
Coverage Thresholds
Find Uncovered Code
Mutation Testing
Test the tests themselves using Stryker:
Interpret Results
- Killed mutants: Tests caught the bug (good)
- Survived mutants: Tests missed the bug (need more tests)
- Timeout mutants: Mutant caused infinite loop
- No coverage: Code not covered by any test
Workflow Patterns
New Feature Testing
Regression Test Generation
Integration Test Generation
Best Practices
- Test behavior, not implementation - Focus on what, not how
- One assertion per test - When practical
- Descriptive names - Should document what's tested
- Arrange-Act-Assert - Clear test structure
- Mock external deps - Isolate unit under test
- Run tests in CI - Automated verification
- Maintain coverage - Don't let it drop
- Use mutation testing - Verify test quality
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/testgen/SKILL.md
Popularity
- Repository stars
- 23
- Repository forks
- 6
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 5 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/johnlindquist/claude/testgen)