Skip to content
Back to skills

Tdd

ASecurity

Test-driven workflow — write a failing test that describes the behaviour, make it pass with the simplest code, then clean up — and reproduce every bug with a test before fixing it. Use when adding a feature or fixing a bug in code, or when the user says "с тестами", "напиши тесты", "TDD", "test first".

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 13, 2026
ai-agentsgo

Security analysis

A100/100

Scanned October 13, 2026

npx -y skills add dmminga1983/minga --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/dmminga1983-tdd/badge)](https://www.skillsdirectory.com/skills/dmminga1983-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 workflow — write a failing test that describes the behaviour, make it pass with the simplest code, then clean up — and reproduce every bug with a test before fixing it. Use when adding a feature or fixing a bug in code, or when the user says "с тестами", "напиши тесты", "TDD", "test first".
argument-hint: "[feature or bug]"
---

# Test first / Сначала тест

Goal: $ARGUMENTS

Reply in the user's language.

1. **Find the test setup.** Look for the existing framework and the command that runs it. If there is none, add the standard one for the stack (pytest, vitest, go test, cargo test) and one command to run everything.
2. **Red.** Write the smallest test that describes the wanted behaviour (or reproduces the bug). Run it. It must fail, and for the right reason — show the failure.
3. **Green.** Write the simplest code that makes it pass. Run the whole suite.
4. **Refactor.** Clean names and duplication with the tests still green.
5. **Edges.** Add tests for empty input, limits, wrong types, Cyrillic/unicode text, time zones, and failure of external services (mocked).
6. **Report** the exact command and its output. Never claim green without running it.

For larger work, delegate steps 1–2 and 5 to the `test-engineer` agent.

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…

Newsletter

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