$npx skillfedfor your agent

test-generator

Test Generator creates complete test suites spanning unit tests, integration tests, and end-to-end scenarios with mocking and edge case handling. It supports Jest, Vitest, pytest, and xUnit, letting you quickly scaffold thorough test coverage for your codebase.

Test Generator creates comprehensive test suites across unit, integration, and E2E tests for multiple frameworks.

AI-generated summary based on this skill's SKILL.md

84 15 MITupdated by AIDotNet

Decision gist · record as of 2026-01-28

Test Generator creates comprehensive test suites across unit, integration, and E2E tests for multiple frameworks. Test Generator creates complete test suites spanning unit tests, integration tests, and end-to-end scenarios with mocking and edge case handling. It supports Jest, Vitest, pytest, and xUnit, letting you quickly scaffold thorough test coverage for your codebase.

manual: git clone https://github.com/AIDotNet/MoYuCode → cp -r MoYuCode/skills/community/test-generator ~/.claude/skills/test-generator
skills/community/test-generator/SKILL.md · version 45ce5749

Use it when

  • Yes, test-generator automates test code generation for both Jest and Vitest.
  • Test Generator creates mocked tests with comprehensive edge case coverage across all supported frameworks.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

AIDotNet/MoYuCode/test-generator · repository language: TypeScript

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What testing frameworks does test-generator support?

Test Generator supports Jest, Vitest, pytest, and xUnit, enabling you to generate automated test suites across JavaScript, TypeScript, Python, and C# codebases. This multi-framework approach lets teams use their preferred testing tools while benefiting from consistent, comprehensive test generation.

Can test-generator auto create test suite for jest and vitest?

Yes, test-generator automates test code generation for both Jest and Vitest. It creates complete test suites including unit tests, integration tests, and end-to-end scenarios with full mocking support, helping you scaffold thorough test coverage quickly without manual boilerplate.

How does test-generator handle edge cases and mocking?

Test Generator creates mocked tests with comprehensive edge case coverage across all supported frameworks. It automatically generates mock implementations, boundary condition tests, and error scenarios, ensuring your test suites catch potential issues before production.

What types of tests can test-generator create?

Test Generator creates comprehensive test suites spanning unit tests, integration tests, and end-to-end scenarios. It generates tests for functions, API endpoints, and complex workflows with appropriate mocking and edge case handling for each test type.

Does test-generator improve code quality and test coverage?

Yes, test-generator improves code quality and test coverage automatically by generating thorough test suites that identify gaps in your testing strategy. By creating unit, integration, and E2E tests with edge case coverage, it helps maintain high quality standards across your codebase.

How does test-generator support test-driven development?

Test Generator supports test-driven development workflows by enabling rapid test suite creation before implementation. You can scaffold comprehensive unit, integration, and E2E tests upfront, then write code to satisfy those tests, accelerating TDD cycles.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Test Generator Skill

Description

Generate comprehensive test suites with unit tests, integration tests, mocks, and edge case coverage.

Trigger

  • /test command
  • User requests test generation
  • User needs test coverage

Prompt

You are a testing expert that creates comprehensive test suites.

Jest/Vitest Unit Tests (TypeScript)

```typescript import { describe, it, expect, vi, beforeEach } from 'vitest'; import { UserService } from './UserService'; import { UserRepository } from './UserRepository';

// Mock the repository vi.mock('./UserRepository');

describe('UserService', () => { let userService: UserService; let mockRepository: jest.Mocked<UserRepository>;

beforeEach(() => { mockRepository = new UserRepository() as jest.Mocked<UserRepository>; userService = new UserService(mockRepository); vi.clearAllMocks(); });

describe('createUser', () => { it('should create a user with valid data', async () => { // Arrange const userData = { email: 'test@example.com', name: 'Test User' };

(truncated - see the full file via the links below)

File tree — 1 file
skills/community/test-generator/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Generate comprehensive test suites with unit, integration, and E2E tests”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

documentation-writer
by AIDotNet · AIDotNet/MoYuCode

Documentation Writer creates complete project documentation covering README files, API references, and inline code comments in multiple formats. It provides structured templates and examples to help you document features, installation steps, usage patterns, and contribution guidelines.

MITupdated Jan 2026
★ 84repo stars
testing
by josavicentevw · josavicentevw/ai-agent-skills

Testing guides you through designing effective test suites, writing unit and integration tests, and applying test-driven development practices. It covers test strategy, the AAA pattern, test fixtures, mocking dependencies, and framework-specific approaches for React, Angular, Python, Java, and Kotlin.

MITupdated Feb 2026
★ 1repo stars
Pytest Coder
by majesticlabs-dev · majesticlabs-dev/majestic-marketplace

Pytest Coder generates test files following pytest best practices including the AAA pattern, fixtures, parametrization, and mocking. It handles unit and integration testing, async code, and exception cases while maintaining test isolation and descriptive naming conventions.

no license declared → metadata onlyupdated May 2026
★ 44repo stars
plan
by AIDotNet · AIDotNet/MoYuCode

Plan analyzes your development requirements and decomposes them into logical, sequential steps organized by category—architecture, frontend, backend, infrastructure, testing, and more. It generates structured documentation including a checkable task list with priorities, dependencies, and effort estimates to guide your implementation.

MITupdated Jan 2026
★ 84repo stars
Java Test Generator
by dawiddutoit · dawiddutoit/custom-claude

Automatically generate well-structured JUnit 5 test cases for Java classes, complete with Mockito mocking, parameterized test scenarios, and edge case handling. The skill follows Arrange-Act-Assert patterns, creates tests for exception handling, verifies mock interactions, and targets high test coverage across service layers and Spring Boot components.

no license declared → metadata onlyupdated Jan 2026
★ 1repo stars
testing-expert
by personamanagmentlayer · personamanagmentlayer/pcl

Testing Expert guides you through building robust test suites using proven methodologies and modern frameworks. Learn the test pyramid, mocking strategies, and coverage targets across multiple languages including Vitest, Pytest, Go testing, and JUnit 5.

Apache-2.0updated Mar 2026
★ 38repo stars

More skills pdf-generator (MIT) · prompt-engineer (MIT) · unit-test-service-layer (MIT) · git-stats (MIT)

Tags
test-automationcode-qualitymock-generationcoverage-analysisframework-agnostictest-scaffoldingvalidation-testingdeveloper-productivity