test-generator
Skill4 starsChanged 4 months agoMITView on GitHub
This skill should be used when the user asks to "generate tests", "create CLI tests", "add dogfooding tests", "create plugin validation tests", or needs automated and interactive test suites for a project. Generates dogfooding test suites (automated + interactive) for any project type.
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
- u9401066/nsforge-mcp★ 4same name
- agentsdance/agentskills★ 3same name
- suxiao1824308603/Qoder-devtools-skills★ 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 repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- system-architectSkill
- project-detectorSkill
- audit-routerSkill
- command-skill-token-efficiencySkill
- plugin-auditSkill
- sync-featuresSkill
- backend-designerSkill
- devops-helperSkill
- frontend-designerSkill
- git-workflowSkill
- dist-extrasSkill
- distribution-strategistSkill
- homebrew-formula-expertSkill
- homebrew-multi-formulaSkill
- homebrew-setup-wizardSkill
- homebrew-workflow-expertSkill
- architecture-decision-recordsSkill
- changelog-automationSkill
- claude-md-lifecycleSkill
- guard-auditSkill
- hooksSkill
- insights-applySkill
- mode-controllerSkill
- drive-engineSkill
- plan-orchestratorSkill
- repo-triageSkill
- session-stateSkill
- task-analyzerSkill
- workflow-engineSkill
- orchestrator-resilienceSkill
- project-plannerSkill
- preflight-checkSkill
- releaseSkill
- test-strategistSkill
- adhd-workflowSkill
- brainstorm-insightsSkill
- brainstormSkill
- grillSkill
- prompt-refinerSkill
- background-task-managerSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill when:
- Distinctive: line 177
Add project-specific test cases
“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 Skill
Generates dogfooding test suites (automated + interactive) for any project type.
When to Use
Use this skill when:
- Setting up CLI tests for a new project
- Creating plugin validation tests
- Generating interactive QA test suites
- Need both automated and manual test coverage
- Want consistent test patterns across projects
Capabilities
Project Type Detection
Automatically detects project type and generates appropriate tests:
| Project Type | Detection | Test Focus |
| CLI Tool | pyproject.toml + CLI entry | Commands, subcommands, exit codes, help |
| Claude Plugin | .claude-plugin/plugin.json | Structure, commands, skills, agents |
| Python Library | pyproject.toml (no CLI) | Module imports, API surface |
| Node Package | package.json + bin | CLI commands, npm scripts |
| R Package | DESCRIPTION | Package structure, exports |
| Shell Scripts | *.sh files | Script execution, options |
Test Suite Generation
Generates two complementary test suites:
1. Automated Tests (automated-tests.sh)
- Non-interactive, CI-ready
- Exit code validation
- Output pattern matching
- Structure validation
- Runs in < 60 seconds
2. Interactive Tests (interactive-tests.sh)
- Human-guided QA
- Expected vs actual comparison
- Single-key responses (y/n/q)
- Logging to
tests/cli/logs/ - Visual output validation
Test Categories by Project Type
CLI Tools:
- Smoke tests (version, help, aliases)
- Core commands (each subcommand)
- Error handling (invalid commands)
- Exit codes (success/failure)
- Help accessibility
Claude Plugins:
- Plugin structure (plugin.json)
- Directory structure (commands/, skills/, agents/)
- File counts and validity
- Markdown syntax validation
- Cross-reference checks
Libraries:
- Import validation
- API surface coverage
- Module structure
- Documentation presence
Usage
Basic Generation
Generate CLI tests for this projectWith Options
Generate dogfooding tests:
- Project: ~/projects/my-tool
- Include interactive tests
- Add CI integrationSpecific Project Types
Create plugin validation tests for craft
Create CLI tests for aiterm
Create package tests for my-r-packageOutput Structure
tests/
└── cli/
├── README.md # Test documentation
├── automated-tests.sh # CI-ready automated tests
├── interactive-tests.sh # Human-guided QA tests
└── logs/ # Test execution logs
└── interactive-test-YYYYMMDD-HHMMSS.logTest Script Features
Automated Tests
# Colors and formatting
✅ PASS: Test description
❌ FAIL: Test description → Error details
⏭️ SKIP: Test description
# Sections
━━━ Section Name ━━━
# Summary
═══════════════════════════
RESULTS
═══════════════════════════
Passed: 15
Failed: 0
Total: 15
✅ ALL TESTS PASSEDInteractive Tests
TEST 1/15: Version Check
Command: tool --version
EXPECTED: Version string (e.g., 'tool 1.0.0')
ACTUAL:
tool version 1.0.0
[y=pass, n=fail, q=quit]Integration
Works with:
/craft:test- Execute generated tests/craft:ci:local- Add to CI pipelinetest-strategistskill - Test strategy guidance
Example Prompts
"Generate CLI tests for my Python tool"
"Create plugin validation tests"
"Add dogfooding tests like aiterm has"
"Set up automated + interactive tests for this project"
"Generate tests and add to GitHub Actions"Customization
Tests can be customized after generation:
- Add project-specific test cases
- Modify expected outputs
- Adjust test categories
- Add environment-specific tests
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.

