tdd — for Claude Code relay-api, community, for Claude Code, ide skills, Implement, ARGUMENTS, Follow, red-green-refactor, strictly, Failing

v1.0.0

Об этом навыке

Идеально подходит для агентов разработки, ориентированных на тестирование, которым необходимы надежные возможности тестирования и проверки API. Локализованное описание: Test-driven development — write failing test first, then implement (red-green-refactor) Implement using TDD: $ARGUMENTS Follow the red-green-refactor cycle strictly. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Возможности

Implement using TDD: $ARGUMENTS
Follow the red-green-refactor cycle strictly.
Phase 1 — RED: Write Failing Tests
Understand the requirement : What should the feature/fix do?
Choose test file : Use the test file mapping in project config

# Core Topics

g-zenr g-zenr
[0]
[0]
Updated: 2/13/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 8/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
8/11
Quality Score
35
Canonical Locale
en
Detected Body Locale
en

Идеально подходит для агентов разработки, ориентированных на тестирование, которым необходимы надежные возможности тестирования и проверки API. Локализованное описание: Test-driven development — write failing test first, then implement (red-green-refactor) Implement using TDD: $ARGUMENTS Follow the red-green-refactor cycle strictly. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Зачем использовать этот навык

Наделяет агентов возможностью писать неудачные тесты до реализации, используя цикл красно-зеленой рефакторинга, обеспечивая безопасный доступ к потоку и отказоустойчивый дизайн с FastAPI и модулями реле USB, управляемыми HID, а также использует REST API для всестороннего анализа содержания.

Подходит лучше всего

Идеально подходит для агентов разработки, ориентированных на тестирование, которым необходимы надежные возможности тестирования и проверки API.

Реализуемые кейсы использования for tdd

Написание тестов успешного пути для сценариев валидного входа
Генерация тестов ошибок проверки для обработки невалидного входа
Отладка ошибок сервиса и устройства в внешних зависимостях

! Безопасность и ограничения

  • Требует строгого соблюдения цикла красно-зеленой рефакторинга
  • Ограничен модулями реле USB, управляемыми HID
  • Зависит от FastAPI для реализации REST API

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is tdd?

Идеально подходит для агентов разработки, ориентированных на тестирование, которым необходимы надежные возможности тестирования и проверки API. Локализованное описание: Test-driven development — write failing test first, then implement (red-green-refactor) Implement using TDD: $ARGUMENTS Follow the red-green-refactor cycle strictly. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

How do I install tdd?

Run the command: npx killer-skills add g-zenr/relay-api/tdd. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for tdd?

Key use cases include: Написание тестов успешного пути для сценариев валидного входа, Генерация тестов ошибок проверки для обработки невалидного входа, Отладка ошибок сервиса и устройства в внешних зависимостях.

Which IDEs are compatible with tdd?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for tdd?

Требует строгого соблюдения цикла красно-зеленой рефакторинга. Ограничен модулями реле USB, управляемыми HID. Зависит от FastAPI для реализации REST API.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add g-zenr/relay-api/tdd. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use tdd immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

tdd

Install tdd, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Implement using TDD: $ARGUMENTS

Follow the red-green-refactor cycle strictly.

Phase 1 — RED: Write Failing Tests

  1. Understand the requirement: What should the feature/fix do?
  2. Choose test file: Use the test file mapping in project config
  3. Write tests BEFORE any implementation code:
    • Success path test — what should happen with valid input
    • Validation error test — what should happen with invalid input
    • Service/device error test — what should happen when external resource is unavailable
  4. Run tests — they MUST fail. If tests pass without implementation, they're testing nothing.

Test Conventions

  • Class: Test<Feature>
  • Method: test_<action>_<expected_outcome>
  • Fixtures with proper type hints and cleanup
  • Test HTTP client configured for proper error testing (no automatic error propagation)
  • Audit log tests with log capture mechanism (see stack concepts) on the project's audit logger

Phase 2 — GREEN: Minimal Implementation

  1. Write the minimum code to make tests pass — nothing more
  2. Follow project standards:
    • Future annotations pattern (see stack concepts)
    • Typed exceptions from the exception hierarchy
    • Thread safety in service layer
    • Typed schemas for API shapes (see stack concepts)
    • Thin route handlers with DI injection (see stack concepts)
  3. Run tests — they MUST now pass

Phase 3 — REFACTOR: Clean Up

  1. Remove duplication
  2. Improve naming
  3. Extract helpers if three or more similar patterns exist
  4. Ensure layer boundaries are respected
  5. Run full suite — nothing must break. Run test and type-check commands (see project config).

Phase 4 — Complete

  1. Verify audit logging if state changes were added
  2. Update OpenAPI metadata (summary, description, responses)
  3. Update project documentation if new endpoints or config were added
  4. Run final verification with the test and type-check commands

Связанные навыки

Looking for an alternative to tdd or another community skill for your workflow? Explore these related open-source skills.

Показать все

openclaw-release-maintainer

Logo of openclaw
openclaw

Локализованное описание: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

widget-generator

Logo of f
f

Локализованное описание: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor

flags

Logo of vercel
vercel

Локализованное описание: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Браузер

pr-review

Logo of pytorch
pytorch

Локализованное описание: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Разработчик