Skip to content
Back to skills

Tdd

ASecurity

Test-driven development workflows and red-green-refactor loops

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 6, 2026
ai-agentsrefactoring

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add DongDuong2001/pudo-code-system --skill tdd --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tdd?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tdd
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dongduong2001-tdd/badge)](https://www.skillsdirectory.com/skills/dongduong2001-tdd)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tdd
description: Test-driven development workflows and red-green-refactor loops
---

# Test-Driven Development (TDD) Skill

This skill guides the implementation of features using the TDD lifecycle.

## When to use this skill
- When developing new features following strict TDD constraints.
- When refactoring legacy code safely by writing tests first.

## Guidelines
- **Red:** Write a failing test for the next piece of functionality. Ensure it fails for the correct reason.
- **Green:** Write the absolute minimum amount of code necessary to make the test pass.
- **Refactor:** Improve the code quality, remove duplication, and optimize while ensuring tests remain green.
- **Wait on edge cases:** Don't write generalized code until the tests explicitly demand it through diverse test cases.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…