tdd-guide

Generate unit tests and guide Red-Green-Refactor cycles across TypeScript, Python, and Java.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/ProyectoG007/Skill.bat --skill tdd-guide-proyectog007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-guide
Source: https://github.com/ProyectoG007/Skill.bat/tree/main/scripts/05_Dev_Tools/10.%20tdd-guide-2.1.1
Command: npx skills add https://github.com/ProyectoG007/Skill.bat --skill tdd-guide-proyectog007

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, pypdf, pdfplumber, pdf2image, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the Test-Driven Development process, helping developers write better tests, improve code coverage, and adhere to TDD principles.

Core Features & Use Cases

  • Test Generation: Create unit tests from code, requirements, or user stories.
  • Coverage Analysis: Identify and fix gaps in test coverage using reports.
  • TDD Workflow Guidance: Get step-by-step instructions for Red-Green-Refactor cycles.
  • Use Case: A developer needs to implement a new authentication module. They can use this Skill to generate initial test cases based on requirements, write tests for edge cases, analyze coverage reports to ensure critical paths are tested, and receive guidance on following the TDD cycle.

Quick Start

Use the tdd-guide skill to generate tests for the provided TypeScript code snippet.

Frequently Asked Questions about tdd-guide

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

FAQPage Schema
How do I generate unit tests from code and user stories for Python or TypeScript?

You can generate unit tests from code, requirements, or user stories for Python and TypeScript. The tool automates test creation and guides you through the Red-Green-Refactor cycle to improve code coverage and quality.

How does the Red-Green-Refactor cycle work when writing unit tests?

The Red-Green-Refactor cycle works by guiding you step-by-step: write a failing test, write code to pass it, then refactor. This TDD workflow ensures robust testing practices and efficient development cycles.

Can I use Pytest and Jest for test coverage analysis in a multi-language project?

Yes, you can use Pytest and Jest for test coverage analysis. It supports multiple frameworks including Pytest, Jest, JUnit, and Vitest across TypeScript, Python, and Java to identify and fix coverage gaps.

What is the best way to identify and fix gaps in code coverage reports?

The best way to identify and fix gaps in code coverage is by analyzing generated coverage reports. This process highlights untested critical paths, ensuring robust testing practices and improved overall code quality.

Do I need Pytest installed to generate tests for a Python authentication module?

Yes, Pytest is required as a dependency to generate tests for Python modules. The tool leverages Pytest to automate the Test-Driven Development workflow and analyze code coverage for your authentication module.