.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 AdeptMind/pr-emojis-in-slack 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:
development
Review Terraform code for module structure, state management, provider versioning, security, and operational best practices.
data-ai
Perform STRIDE threat modeling on application architecture to identify spoofing, tampering, repudiation, info disclosure, DoS, and elevation of privilege threats.
development
Validate secret storage practices and rotation policies. Check for secrets in code, Vault usage, and rotation schedules.
testing
Audit cloud and infrastructure configurations for open security groups, missing encryption, excessive permissions, and missing WAF or rate limiting.