sdd-test-gen

Generate unit, integration, and edge-case test templates for JavaScript/TypeScript projects.

48|4|Updated Sep 8, 2025
One-click install
npx skills add https://github.com/yi-john-huang/sdd-mcp --skill sdd-test-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdd-test-gen
Source: https://github.com/yi-john-huang/sdd-mcp/tree/main/.claude/skills/sdd-test-gen
Command: npx skills add https://github.com/yi-john-huang/sdd-mcp --skill sdd-test-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates comprehensive tests for codebases using Test-Driven Development to ensure correctness, prevent regressions, and serve as living documentation.

Core Features & Use Cases

  • Generates unit, integration, and edge-case tests compatible with common frameworks (e.g., Jest, Vitest).
  • Produces structured test scaffolds from file paths or function names, enabling rapid test authoring.
  • Supports integration with existing project requirements and can be extended to cover additional scenarios.

Quick Start

Install or run using the /sdd-test-gen command and provide a file path or function name to generate tests.

Frequently Asked Questions about sdd-test-gen

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

FAQPage Schema
How do I auto-generate unit tests for TypeScript functions?

Generate unit tests for TypeScript by providing a file path or function name to produce structured test scaffolds. The tool reads source modules and outputs conventional test files in a standard project location.

Does auto-generated test scaffolding work with Jest and Vitest?

Yes, auto-generated test scaffolding works with Jest and Vitest. The tool produces structured test templates compatible with common frameworks, enabling rapid test authoring for JavaScript and TypeScript projects.

Can I generate integration and edge-case tests using Test-Driven Development?

Yes, you can generate integration and edge-case tests using Test-Driven Development. It applies TDD principles to ensure correctness, prevent regressions, and serve as living documentation across your codebase.

What's the best way to create test templates from existing source files?

The best way to create test templates from existing source files is by targeting specific file paths or function names. This produces structured test scaffolds for rapid authoring across JavaScript and TypeScript projects.

When do I need to regenerate tests to prevent regressions?

You need to regenerate tests to prevent regressions whenever you modify source modules or functions. Reading the updated code allows the tool to produce new structured test templates covering unit, integration, and edge-case scenarios.