test-generator

Generate test scaffolding and templates for Python and JavaScript/TypeScript modules.

25|2|Updated Oct 26, 2025
One-click install
npx skills add https://github.com/matteocervelli/llms --skill test-generator-matteocervelli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generator
Source: https://github.com/matteocervelli/llms/tree/main/.claude/skills/test-generator
Command: npx skills add https://github.com/matteocervelli/llms --skill test-generator-matteocervelli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides templates for pytest and general test scaffolding, enabling rapid test setup with fixtures and mocks.

Core Features & Use Cases

  • Test File Scaffolding: Create structured test files with fixtures and mocks.
  • Fixture Library: Sample fixtures for common data scenarios.
  • Integration Test Scaffolding: Provides end-to-end testing patterns.

Quick Start

Scaffold pytest-based tests for a Python module with ready-to-edit fixtures and mocks.

Frequently Asked Questions about test-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate test scaffolding with fixtures and mocks for a new Python module?

Test scaffolding generates structured pytest files with pre-built fixtures, mock configurations, and Arrange-Act-Assert patterns ready to customize. This accelerates test setup by providing templates for common data scenarios and integration test patterns, eliminating boilerplate.

Can I use this for JavaScript and TypeScript projects, or only Python?

Test scaffolding supports both Python (pytest) and JavaScript/TypeScript (Jest and similar frameworks). It adapts fixture definitions and mock configurations to match each language's testing conventions and syntax.

What's included in the test templates this Skill provides?

Templates include unit and integration test files, fixture library samples for common data scenarios, mock configurations, naming conventions, test coverage guidance, and end-to-end testing patterns structured for rapid customization.

Do I need to know pytest or Jest before using this Skill?

No prerequisite expertise required. The Skill provides ready-to-edit templates and fixture examples that demonstrate pytest and Jest patterns, making it accessible for learning testing practices while scaffolding actual test files.

How does this differ from manually writing test files from scratch?

Test scaffolding eliminates repetitive setup by generating complete file structures, fixture definitions, and mock patterns immediately. This reduces time-to-first-test and ensures consistent naming and Arrange-Act-Assert structure across your test suite.

Can I restructure existing tests using this Skill?

Yes. The Skill applies to starting new modules and restructuring existing tests by generating updated scaffolding with improved fixture organization, mock configurations, and coverage practices aligned to your framework.