๐Ÿงช
QualityShell

Test Generator

by alirezarezvani

Test Generator is a Quality skill for Claude Code, published by alirezarezvani in claude-code-tresor.

766 stars167 forkson alirezarezvani/claude-code-tresorAdded 2026/08/23Repository updated 2026/07/03
agent-development-kitagentic-aiagentic-codingagentic-workflowagentsanthropic-claudeclaude-code
Install in seconds
Install Test Generator
Copy Test Generator into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/alirezarezvani/claude-code-tresor/tree/main/skills/development/test-generator ~/.claude/skills/test-generator

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/alirezarezvani/claude-code-tresor.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
skills/development/test-generator/SKILL.md in alirezarezvani/claude-code-tresor
Installs to
~/.claude/skills/test-generator
Collection
One of 8 skills cataloged from this repository
Category
Quality โ€” 1354 skills

What Test Generator does

Test Generator suggests basic tests for new functions and components when code is added or testing is mentioned. It creates starter cases in Jest, Vitest, or Pytest and leaves comprehensive suites to the test-engineer sub-agent.

Test Generator is cataloged under Quality on DirSkills. Test Generator comes from a repository tagged agent-development-kit, agentic-ai, agentic-coding, agentic-workflow and agents.

Documentation

README

Test Generator Skill

Auto-suggest tests when you write new code.

When I Activate

  • โœ… New function created
  • โœ… New component added
  • โœ… User mentions testing or tests
  • โœ… Test file missing for implementation
  • โœ… User asks "can you test this?"

What I Generate

Quick Test Scaffolding

  • Basic happy path tests
  • Null/undefined edge cases
  • Simple error scenarios
  • Framework-appropriate syntax (Jest/Vitest/Pytest)

What I Don't Do

  • Comprehensive test suites โ†’ Use @test-engineer sub-agent
  • Integration tests โ†’ Use @test-engineer sub-agent
  • E2E test design โ†’ Use @test-engineer sub-agent
  • Test strategy planning โ†’ Use @test-engineer sub-agent

Relationship with @test-engineer Sub-Agent

This is the opening of the README. Read the full README on GitHub.

Commands Test Generator provides

Slash commands named in this skillโ€™s SKILL.md, listed in the order they first appear.

  • /test-gen

Frequently asked about Test Generator

  • What else does alirezarezvani publish alongside Test Generator?

    Test Generator is one of 8 skills that DirSkills catalogs from alirezarezvani/claude-code-tresor, the repository it ships in. Its siblings there include API Documenter, Code Reviewer and Dependency Auditor. Each one is a separate skill with its own page in this directory, installs the same way Test Generator does, and is maintained by alirezarezvani in that same repository. The rest of the collection is listed on the alirezarezvani/claude-code-tresor page.

  • How does Test Generator compare to other Quality skills?

    Test Generator ranks #1003 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Test Generator against them. Open each page to compare what they document and how they install.

More from alirezarezvani/claude-code-tresor

Test Generator is one of 8 skills cataloged on DirSkills from alirezarezvani/claude-code-tresor.

See all 8 skills โ†’