auto-test-generator

Official

Automate test code generation for frontend & backend.

AuthorMockly-Company
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the manual, time-consuming process of writing unit and integration tests by automatically generating or updating test code for both frontend and backend changes. It ensures consistent test quality and accelerates development cycles, allowing developers to focus on core features.

Core Features & Use Cases

  • Intelligent Code Analysis: Automatically detects code changes (via git diff) and identifies new functions, components, and API endpoints.
  • Framework-Specific Templates: Generates tests tailored for React components, custom hooks, utility functions, and backend API/service layers using predefined templates.
  • Standardized Output: Adheres to a strict output format (FORMS.md) for analysis reports, test file structures, and completion reports, ensuring consistency and readability.
  • Use Case: After modifying a React component and a backend service, a developer can invoke this Skill to automatically generate comprehensive test files for both, including rendering, event, and API interaction tests, saving hours of manual test writing and ensuring high test coverage.

Quick Start

To automatically generate tests for your recent code changes, simply ask: auto-test-generator Or, for a specific component: "UserProfile 컴포넌트 테스트 코드 만들어줘"

Dependency Matrix

Required Modules

@testing-library/react@testing-library/react-hooks@testing-library/jest-domjestsupertest@types/jest@types/supertest

Components

assets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: auto-test-generator
Download link: https://github.com/Mockly-Company/mockly-mobile/archive/main.zip#auto-test-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.