test-generator
Skill2 starsChanged 7 months agoApache-2.0View on GitHub
Generate and run automated tests (unit, integration, API, E2E) adapted to the project stack. Use when the user asks to add tests, improve coverage, or test specific modules or flows. Runs a three-subagent pipeline: stack analysis -> test generation -> execution with report and user confirmation.
21 other projects use a version of this.
Adopted by
Most recently taken up by
- jablonkai/skillstheir own version, first seen Oct 1, 2026
- u9401066/pubmed-search-mcptheir own version, first seen Oct 1, 2026
- trebaud/skillstheir own version, first seen Aug 18, 2026
- codebygarv/Ai-skillstheir own version, first seen Aug 16, 2026
- liuxiao20051106-prog/claude-skillstheir own version, first seen Aug 10, 2026
- bestdeejay-design/agent-skillstheir own version, first seen Aug 9, 2026
Used with
Projects with it also use git-doc-updater, git-precommit and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
u9401066Skillgit-doc-updater
Auto-check and update key documentation before Git commits to keep docs in sync with code. Triggers: docs, 文檔, 更新文檔, sync docs, release, 發布.
Also in 3 projects that use this
u9401066Skillgit-precommit
Orchestrate pre-commit workflow including Memory Bank sync, README/CHANGELOG/ROADMAP updates. Triggers: GIT, gc, push, commit, 提交, 準備 commit, 要提交了, git commit, pre-commit, 推送.
Also in 3 projects that use this
nilecuiSkillcode-refactor
Perform bulk code refactoring operations like renaming variables/functions across files, replacing patterns, and updating API calls. Use when users request renaming identifiers, replacing deprecated code patterns, updating method calls, or making consistent changes across multiple locations.
Also in 3 projects that use this
AutumnsGroveSkillapi-designer
Design and document RESTful and GraphQL APIs with OpenAPI/Swagger specifications, authentication patterns, versioning strategies, and best practices. Use for: (1) Creating API specifications, (2) Designing REST endpoints, (3) GraphQL schema design, (4) API authentication and authorization, (5) API versioning strategies, (6) Documentation generation
Also in 3 projects that use this
ArogyaReddySkillchangelog-generator
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Also in 4 projects that use this
- +7 more from u9401066
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- laolaoshiren/claude-code-skills-zh★ 876same name
- alirezarezvani/claude-code-tresor★ 777same name
- rshankras/claude-code-apple-skills★ 777same name
- u9401066/pubmed-search-mcp★ 28same name
- codebygarv/Ai-skills★ 26same name
- benshapyro/cadre-devkit-claude★ 9same name
- bestdeejay-design/agent-skills★ 5same name
- Data-Wise/craft★ 4same name
- u9401066/nsforge-mcp★ 4same name
- agentsdance/agentskills★ 3same name
11 more not listed
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 repository14 other files it gives its agents.
- code-optimizerSkill
- doc-coauthoringSkill
- docxSkill
- frontend-designSkill
- git-commit-pushSkill
- pdfSkill
- planningSkill
- pptxSkill
- project-startupSkill
- refactoringSkill
- skill-creatorSkill
- store-visualsSkill
- webapp-testingSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Before refactoring (safety net)
- Distinctive: line 14
After implementing a feature
- Very specific: line 44
Use the patterns in references/test-patterns.md.
- Very specific: line 53
Run approved suites, capture failures, and write TEST_REPORT.md.
- Distinctive: line 57
Use realistic domain data in tests.
- Distinctive: line 59
Never run tests without explicit user confirmation.
“Common” is measured: kept by at least 6 in 10 of the 13 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
Test generator (three subagents)
When to use
- Missing tests or low coverage
- Before refactoring (safety net)
- After implementing a feature
- Explicit requests to add or generate tests
Goal
Generate realistic, stack-aligned tests and run them only after explicit user approval.
Pipeline overview
Parent Agent
-> Subagent 1: Stack Analyzer (write /tmp/test-context.md)
-> Subagent 2: Test Generator (write tests, /tmp/test-manifest.md)
-> Pause for user approval
-> Subagent 3: Test Runner (write TEST_REPORT.md)Phase 1: Parent reconnaissance
- Identify scope from the prompt (file, module, or test type)
- Inspect project config (package.json, pyproject.toml, etc.)
- Find existing tests and conventions
- Provide scope/context to Subagent 1
Phase 2: Subagent 1 (Stack Analyzer)
Detect language, test frameworks, conventions, and target files. Write /tmp/test-context.md.
Phase 3: Subagent 2 (Test Generator)
Use the patterns in references/test-patterns.md. Write tests and
record a manifest in /tmp/test-manifest.md with file paths, test types, coverage, and run commands.
Phase 4: Pause and confirm
Summarize generated tests and ask whether to run all tests, only a category, or none.
Phase 5: Subagent 3 (Test Runner)
Run approved suites, capture failures, and write TEST_REPORT.md. Clean up temp files.
Notes
- Use realistic domain data in tests.
- Align with existing test style when present.
- Never run tests without explicit user confirmation.
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.

