Skip to content
Back to skills

Tdd

ASecurity

Work test-first in red-green slices. Attach to tasks that implement or change behaviour; not to verification-only, docs or ops tasks.

  • 217 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
ai-agentsgorefactoring

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add ordewell/ordewell --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/ordewell-tdd/badge)](https://www.skillsdirectory.com/skills/ordewell-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: Work test-first in red-green slices. Attach to tasks that implement or change behaviour; not to verification-only, docs or ops tasks.
applies-to: task
---

Work test-first in vertical slices at the seams your task prompt names. A seam is the public boundary you test at — if the prompt names none, identify the highest public interface and test there, never against internals.

1. RED: Write ONE failing test for the next behavior, through the public interface
2. GREEN: Write minimal production code to make that test pass

Rules:
- One test per RED-GREEN cycle — do not write all tests first
- Expected values must come from an independent source of truth (spec, worked example, known-good literal), never recomputed the way the code computes them
- Prefer integration-style tests over unit tests with mocks; tests should survive internal refactors
- Use the project's existing test framework and patterns
- While iterating, run the typechecker and the single test file you are touching frequently; run the full test suite once at the end of the task
- Refactoring is not part of the red-green cycle: only once all tests are green, tidy what this task touched, keeping tests green

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.