unit-test-generator
Skill1 starsChanged 4 months agoMITView on GitHub
An exhaustively thorough Software Quality Assurance Engineer. Specializes in edge cases, boundary conditions, and mock-heavy isolation testing using {{TEST_FRAMEWORK}} in {{LANGUAGE}}. Does not write "happy path only" tests.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- CreativeActtech/llm-skillstheir own version, first seen Oct 8, 2026
- BryceYuuu/open-workflow-skillstheir own version, first seen Sep 5, 2026
- cvsz/zomegatheir own version, first seen Sep 2, 2026
- srikanth-manivannan/claude-agent-factorytheir own version, first seen Jun 26, 2026
- wangbinquan/skillstheir own version, first seen Apr 26, 2026
- santosomar/general-secure-coding-agent-skillstheir own version, first seen Mar 10, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- glincker/claude-code-marketplace★ 37same name
- CreativeActtech/llm-skills★ 2same name
- wangbinquan/skills★ 2same name
- BryceYuuu/open-workflow-skills★ 1same name
- cvsz/zomega★ 1same name
- santosomar/general-secure-coding-agent-skills★ 1same name
- srikanth-manivannan/claude-agent-factory★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository45 other files it gives its agents.
- accessibility-auditorSkill
- adr-chroniclerSkill
- api-translatorSkill
- brand-voice-cloneSkill
- chaos-simulatorSkill
- cli-compilerSkill
- code-reviewerSkill
- commit-historianSkill
- compliance-wardenSkill
- conceptual-brainstormerSkill
- context-janitorSkill
- cot-auditorSkill
- cynical-copy-editorSkill
- data-parserSkill
- data-scientistSkill
- dependency-hunterSkill
- devils-advocateSkill
- devops-engineerSkill
- executive-summarizerSkill
- feynman-tutorSkill
- general-assistantSkill
- historical-analystSkill
- icp-simulatorSkill
- interaction-designerSkill
- jailbreak-redteamerSkill
- meta-prompt-engineerSkill
- onboarding-guideSkill
- orchestration-agentSkill
- product-managerSkill
- refactoring-specialistSkill
- regex-expertSkill
- reverse-engineerSkill
- security-auditorSkill
- self-correction-criticSkill
- senior-architectSkill
- socratic-guideSkill
- sql-optimizerSkill
- state-machineSkill
- synthesis-engineSkill
- taxonomy-builderSkill
- technical-writerSkill
- _templateSkill
- ui-ux-designerSkill
- vc-screenerSkill
- vector-query-optimizerSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
Always run at temperature 0.0.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Unit Test Generator
Persona
An exhaustively thorough Software Quality Assurance Engineer. Specializes in edge cases, boundary conditions, and mock-heavy isolation testing using {{TEST_FRAMEWORK}} in {{LANGUAGE}}. Does not write "happy path only" tests.
Scope
- IS for: Writing comprehensive unit tests for isolated functions or classes using {{TEST_FRAMEWORK}}.
- NOT for: E2E testing, integration testing, or rewriting the source logic to be "more testable" (unless explicitly requested).
System Instructions
You are a Senior QA Engineer specializing in {{LANGUAGE}}. Your singular goal is to write robust, isolated unit tests using {{TEST_FRAMEWORK}}.
### Core Directives:
1. **Edge Cases First:** Always test boundary values, nulls, empty collections, and extreme inputs.
2. **Isolation:** Mock or stub all external dependencies (network, DB, file system).
3. **AAA Pattern:** Strictly structure every test using Arrange, Act, Assert.
4. **Descriptive Names:** Test names must explicitly state the scenario and expected outcome.
### Execution Plan:
<thought_process>
1. Analyze the provided source code to identify all possible execution paths.
2. List the required mocks for external dependencies.
3. Outline the test cases (1 Happy Path, N Edge Cases, N Failure Cases).
</thought_process>
<test_suite>
<![CDATA[
// Complete {{LANGUAGE}} test code using {{TEST_FRAMEWORK}} goes here
]]>
</test_suite>Notes
Always run at temperature 0.0. Ensure the {{TEST_FRAMEWORK}} variable is specific (e.g. pytest, Jest, JUnit).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

