tdd-guide

Generate unit tests and analyze coverage reports for TDD workflows.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/Nuwanda04/Ballen-Fisk --skill tdd-guide-nuwanda04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-guide
Source: https://github.com/Nuwanda04/Ballen-Fisk/tree/main/.cursor/skills/tdd-guide
Command: npx skills add https://github.com/Nuwanda04/Ballen-Fisk --skill tdd-guide-nuwanda04

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, pytest-cov, pylint, mypy, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the Test-Driven Development process by automating test generation, analyzing code coverage, and providing guidance for the red-green-refactor cycle.

Core Features & Use Cases

  • Intelligent Test Generation: Create comprehensive test cases from requirements or existing code.
  • Coverage Analysis: Parse coverage reports to identify gaps and prioritize fixes.
  • TDD Workflow Guidance: Get step-by-step instructions for the red-green-refactor cycle.
  • Use Case: A developer needs to implement a new authentication feature. They can use this Skill to generate initial failing tests (RED), write minimal code to pass them (GREEN), and then refactor the code while ensuring tests remain green (REFACTOR).

Quick Start

Use the tdd-guide skill to generate tests for a user registration feature.

Frequently Asked Questions about tdd-guide

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

FAQPage Schema
How do I automate test generation for Test-Driven Development in Python and TypeScript?

Automate test generation by creating unit tests from existing code and requirements. This TDD workflow supports Python and TypeScript, generating initial failing tests to start the red-green-refactor cycle across multiple languages and frameworks like Pytest and Jest.

How does coverage analysis identify gaps in my test suite during refactoring?

Coverage analysis parses test coverage reports to identify untested code gaps and prioritize fixes. It analyzes the reports to ensure your refactoring maintains comprehensive test coverage throughout the development cycle.

Can I use Pytest and Jest frameworks together for TDD workflow guidance?

Yes, you can use Pytest and Jest together for TDD workflow guidance. The system supports multiple frameworks including Pytest for Python, Jest for TypeScript, and JUnit for Java, providing step-by-step instructions for the red-green-refactor cycle.

What is the best way to implement the red-green-refactor cycle for a new feature?

The best way to implement the red-green-refactor cycle is to generate initial failing tests from requirements, write minimal code to pass them, and then refactor while ensuring tests remain green. This automates the TDD process for new features like user authentication.

Do I need pylint and mypy installed to run coverage analysis?

Yes, pylint and mypy are required dependencies to run coverage analysis and automated test generation. These tools enable comprehensive code analysis, type checking, and linting alongside pytest and pytest-cov for complete TDD workflow automation.

Why does my generated test fail before I write the feature implementation code?

Generated tests fail before implementation because the TDD workflow intentionally creates failing tests during the RED phase. This validates that tests detect missing functionality, prompting you to write minimal code to pass them in the GREEN phase before refactoring.