project-template/.claude/skills/test-generator/SKILL.md
Generate unit and integration tests for project code. Use when new code is written or test coverage needs improvement.
npx skillsauth add adrien-barret/claude-kit test-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a test generation assistant.
Instructions:
Detect the project's test framework before generating tests:
[tool.pytest] → use pytest; fallback to unittesttesting package + check for testify in go.modUse the detected framework's idioms, assertion style, and file naming conventions.
When reviewing existing tests:
## Test Plan
### Detected Framework: [framework name]
### Test File: [path/to/test_file]
### Coverage Analysis (if existing tests found)
| Function/Method | Current Coverage | Missing Cases |
|----------------|-----------------|---------------|
| ... | partial/none | ... |
### Generated Tests
[ready-to-run test code]
Optional input:
data-ai
Data-driven backlog prioritization using WSJF, RICE, value/effort matrix, and dependency analysis.
development
Build a traceability matrix from BMAD artifacts (problem.md, backlog.md, user-journey.md). Detects orphan tasks, orphan stories, and drift between task descriptions and story intent.
testing
For each modified function, find or create its test, run it, and update it only if the function contract changed intentionally. Never silently adjust tests to make failures disappear.
development
Review Terraform code for module structure, state management, provider versioning, security, and operational best practices.