tdd — community relay-api, community, ide skills

v1.0.0

このスキルについて

テスト駆動開発エージェントが強力なAPIテストと検証機能を必要とする場合に最適です。 Test-driven development — write failing test first, then implement (red-green-refactor)

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: 7/11

This page remains useful for operators, 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
7/11
Quality Score
35
Canonical Locale
en
Detected Body Locale
en

テスト駆動開発エージェントが強力なAPIテストと検証機能を必要とする場合に最適です。 Test-driven development — write failing test first, then implement (red-green-refactor)

このスキルを使用する理由

エージェントが実装前に失敗したテストを書くことができるred-green-refactorサイクルを使用し、FastAPIとHID制御のUSBリレー模ールを使用したスレッドセーフなアクセスとフォールトセーフな設計を保証し、REST APIを使用した包括的なコンテンツ分析を実現します。

おすすめ

テスト駆動開発エージェントが強力なAPIテストと検証機能を必要とする場合に最適です。

実現可能なユースケース for tdd

有効な入力シナリオの成功パステストを書く
無効な入力処理の検証エラーテストを生成する
外部依存関係のサービスおよびデバイスエラーをデバッグする

! セキュリティと制限

  • red-green-refactorサイクルに厳密に従う必要がある
  • HID制御のUSBリレー模ールのみに限定される
  • REST APIの実装にFastAPIに依存する

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)

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?

red-green-refactorサイクルに厳密に従う必要がある. HID制御のUSBリレー模ールのみに限定される. REST APIの実装にFastAPIに依存する.

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

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

カスタマイズ可能なウィジェットプラグインをprompts.chatのフィードシステム用に生成する

149.6k
0
AI

flags

Logo of vercel
vercel

React フレームワーク

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

Pythonにおけるテンソルと動的ニューラルネットワーク(強力なGPUアクセラレーション)

98.6k
0
開発者