Skip to content
Back to skills

Test Driven Development

ASecurity

Use when implementing a code task so the test is written or updated before production code and proves the requested behavior.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 9, 2026
ai-agents

Security analysis

A100/100

Scanned June 9, 2026

npx -y skills add DYAI2025/Plumbline --skill test-driven-development --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Driven Development?

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

Security grade badge for Test Driven Development
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dyai2025-test-driven-development/badge)](https://www.skillsdirectory.com/skills/dyai2025-test-driven-development)

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: test-driven-development
description: Use when implementing a code task so the test is written or updated before production code and proves the requested behavior.
---

# Test-driven Development

## Red-Green-Refactor
1. Pick one REQ/task.
2. Write or update the smallest failing test first.
3. Run it and record the failing command/output.
4. Implement the minimum production change.
5. Run the targeted test, then the broader suite.
6. Refactor only with tests green.

Do not add production behavior that is not covered by a requirement or regression test.

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…