tdd-methodology-expert

Guide developers through Red-Green-Refactor cycles with automated TDD compliance checks.

1|Updated Jul 15, 2025
One-click install
npx skills add https://github.com/marjan-ahmed/ustaz --skill tdd-methodology-expert-marjan-ahmed
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tdd-methodology-expert
Source: https://github.com/marjan-ahmed/ustaz/tree/main/.claude/skills/tdd-methodology-expert
Command: npx skills add https://github.com/marjan-ahmed/ustaz --skill tdd-methodology-expert-marjan-ahmed

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Enforces Test-Driven Development (TDD) by guiding teams to write tests before production code and by reinforcing the Red-Green-Refactor cycle, ensuring code quality and safer refactors.

Core Features & Use Cases

  • Provides structured TDD guidance for feature work, bug fixes, and refactoring.
  • Offers automated validation workflows that flag code smells and confirm test coverage using bundled tools.
  • Includes setup utilities and references to TDD principles to educate teams and accelerate adoption.

Quick Start

Start a coding task and mention TDD to activate strict Red-Green-Refactor guidance.

Frequently Asked Questions about tdd-methodology-expert

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

FAQPage Schema
How do I apply Test-Driven Development to feature implementation and bug fixes?▼

Test-Driven Development is applied by writing tests before production code and following the Red-Green-Refactor cycle. This Skill provides structured TDD workflows for feature implementation and bug fixes to ensure code quality and safer refactors.

What is the Red-Green-Refactor cycle in TDD?▼

The Red-Green-Refactor cycle in TDD is the disciplined process of writing a failing test, making it pass with minimal production code, and then improving the code structure. This workflow enforces test-first development and prevents code smells.

How do I validate code quality and check TDD compliance during refactoring?▼

You validate code quality and check TDD compliance during refactoring by using bundled tools like check_tdd_compliance.py and validate_tests.py. These automated validation workflows flag code smells and confirm test coverage to maintain software engineering discipline.

Can I use this TDD workflow for both new features and existing code refactoring?▼

Yes, you can use this TDD workflow for both new features and existing code refactoring. It offers structured guidance across feature implementation, bug fixes, and refactoring tasks to reinforce test-first development and safer code changes.

What's the best way to enforce strict test-first development in a coding project?▼

The best way to enforce strict test-first development is to activate Red-Green-Refactor guidance during coding tasks. This methodology ensures tests are written before production code and provides real-time feedback on TDD discipline and automated validation.