Test-Driven Development

Guide Red-Green-Refactor loops and test-pyramid patterns across Spring Boot/Kotlin, Python/pytest, and JavaScript/TypeScript stacks.

Updated May 7, 2026
One-click install
npx skills add https://github.com/lgzarturo/codeconductor --skill test-driven-development-lgzarturo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Test-Driven Development
Source: https://github.com/lgzarturo/codeconductor/tree/main/.agents/skills/testing-tdd
Command: npx skills add https://github.com/lgzarturo/codeconductor --skill test-driven-development-lgzarturo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TDD adoption is often inconsistent; this Skill provides structured guidance to apply the Red-Green-Refactor cycle and pyramid-aware testing practices across Spring Boot + Kotlin, Python (pytest), and Next.js / Astro (Vitest + Playwright) stacks.

Core Features & Use Cases

  • Provides a clear, repeatable workflow for writing and running tests at unit, integration, and end-to-end levels.
  • Includes naming conventions, cycle rules, and practical examples to accelerate learning and adoption across multiple tech stacks.
  • Supports cross-stack guidance for Kotlin/Spring, Python/pytest, and JavaScript/TypeScript stacks (Next.js/Astro testing toolchains).

Quick Start

Run a quick TDD cycle on a small feature by writing a failing test, then implement the minimal code to pass, and refactor.

Frequently Asked Questions about Test-Driven Development

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

FAQPage Schema
How do I apply test-driven development across multiple tech stacks?▼

The Red-Green-Refactor cycle is a TDD workflow where you write a failing test, implement minimal code to pass, and then refactor. This Skill automates enforcing cycle discipline and naming conventions to accelerate reliable software delivery.

Can I use Vitest and Playwright for Next.js and Astro testing?▼

Yes, Vitest and Playwright are supported for Next.js and Astro testing. The Skill guides unit, integration, and end-to-end testing scenarios within these JavaScript and TypeScript frameworks.

Does this TDD workflow support Python and pytest integration testing?▼

Yes, Python and pytest are fully supported for integration testing. The Skill provides structured guidance for applying the test-pyramid pattern and cycle rules to ensure reliable software delivery in Python environments.

What is the best way to maintain test cycle discipline in Spring Boot and Kotlin?▼

The best way to maintain cycle discipline in Spring Boot and Kotlin is by enforcing strict naming conventions and Red-Green-Refactor rules. This Skill provides practical guardrails and repeatable workflows to ensure consistent TDD practices.

When do I need pyramid-aware testing patterns for unit and end-to-end tests?▼

Pyramid-aware testing patterns are needed when balancing unit, integration, and end-to-end tests across multiple stacks. This approach applies practical guardrails to structure test coverage and execution speed for reliable software delivery.