Unit Test Generator: Designs and automates reliable tests with measurable confidence.
3. When the AI agent should use this skill
Use this skill when a request aligns with Unit Test Generator in the testing domain.
4. Required Inputs
Repository path and target scope
Objective and acceptance criteria
Stack details (Node.js, TypeScript, Python, infra, or data)
Constraints (time, risk, compliance, cost)
5. Expected Outputs
Implementation plan
Generated or updated artifacts
Validation steps and results
Risks and follow-up actions
6. Step-by-Step Workflow
Clarify scope, assumptions, and success criteria.
Inspect repository context and existing patterns.
Propose minimal safe change set.
Implement artifacts and configuration updates.
Run checks/tests and capture evidence.
Summarize outcomes, limitations, and next steps.
7. Commands or tools used
pytest, vitest/jest, playwright, coverage tools
rg --files
rg "pattern"
git status
git diff
8. Example prompts
/skill unit-test-generator Audit current implementation and propose prioritized improvements.
/skill unit-test-generator Implement a production-ready baseline with validation steps.
/skill unit-test-generator Generate artifacts and summarize tradeoffs.
9. Guardrails
Do not run destructive actions without explicit approval.
Preserve existing conventions unless migration is requested.
Prefer deterministic and reproducible commands.
Clearly state assumptions and uncertainty.
10. Limitations
Output quality depends on project context and available tests.
External systems may require environment-specific verification.
Human review may still be needed for policy/compliance decisions.
1---2name: unit-test-generator3description: 1. Skill Name4---5## 1. Skill Name6unit-test-generator78## 2. Description9Unit Test Generator: Designs and automates reliable tests with measurable confidence.1011## 3. When the AI agent should use this skill12Use this skill when a request aligns with Unit Test Generator in the testing domain.1314## 4. Required Inputs15- Repository path and target scope16- Objective and acceptance criteria17- Stack details (Node.js, TypeScript, Python, infra, or data)18- Constraints (time, risk, compliance, cost)1920## 5. Expected Outputs21- Implementation plan22- Generated or updated artifacts23- Validation steps and results24- Risks and follow-up actions2526## 6. Step-by-Step Workflow271. Clarify scope, assumptions, and success criteria.282. Inspect repository context and existing patterns.293. Propose minimal safe change set.304. Implement artifacts and configuration updates.315. Run checks/tests and capture evidence.326. Summarize outcomes, limitations, and next steps.3334## 7. Commands or tools used35- pytest, vitest/jest, playwright, coverage tools36- rg --files37- rg "pattern"38- git status39- git diff4041## 8. Example prompts42- /skill unit-test-generator Audit current implementation and propose prioritized improvements.43- /skill unit-test-generator Implement a production-ready baseline with validation steps.44- /skill unit-test-generator Generate artifacts and summarize tradeoffs.4546## 9. Guardrails47- Do not run destructive actions without explicit approval.48- Preserve existing conventions unless migration is requested.49- Prefer deterministic and reproducible commands.50- Clearly state assumptions and uncertainty.5152## 10. Limitations53- Output quality depends on project context and available tests.54- External systems may require environment-specific verification.55- Human review may still be needed for policy/compliance decisions.
Run npx skillmds@latest add anup4khandelwal/unit-test-generator in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
1. Skill Name It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
anup4khandelwal (@anup4khandelwal) published this skill. Their other Agent Skills are listed on their SkillMD profile.