Command Palette

Search for a command to run...

Назад к скиллам
скилл № 59738

tdd

Write a minimal failing test before implementation, make it pass with the simplest code, and refactor cleanly. Use when implementing bug fixes or features…

БесплатноБез исполняемых скриптов
wibus-weeот wibus-wee★ 127 звёзд на GitHub

Установить tdd в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Test-Driven Development (TDD)

  1. Understand the exact requirement or bug and identify the narrowest executable check.
  2. Write the failing test first. Ensure it fails for the expected reason, not a setup or syntax error.
  3. Implement the minimal production code needed to make the failing test pass. Avoid speculative features.
  4. Re-run the test to confirm green.
  5. Refactor: clean up names, remove duplication, and simplify structure while keeping tests green.
  6. Verify adjacent tests and broader contracts to ensure no regressions.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл tdd?

Write a minimal failing test before implementation, make it pass with the simplest code, and refactor cleanly. Use when implementing bug fixes or features with clear verification targets.

Как установить скилл tdd?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tdd запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить tdd с