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

v1.0.0

À propos de ce Skill

Parfait pour les agents de développement piloté par les tests nécessitant des capacités de test et de validation d'API robustes. Resume localise : 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.

Fonctionnalités

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

Parfait pour les agents de développement piloté par les tests nécessitant des capacités de test et de validation d'API robustes. Resume localise : 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.

Pourquoi utiliser cette compétence

Permet aux agents d'écrire des tests qui échouent avant la mise en œuvre en utilisant le cycle rouge-vert-reconstruire, en garantissant un accès sécurisé entre threads et une conception à l'épreuve des défaillances avec FastAPI et des modules de relais USB contrôlés par HID, tout en utilisant

Meilleur pour

Parfait pour les agents de développement piloté par les tests nécessitant des capacités de test et de validation d'API robustes.

Cas d'utilisation exploitables for tdd

Écrire des tests de chemin de réussite pour des scénarios d'entrée valides
Générer des tests d'erreurs de validation pour la gestion d'entrées invalides
Déboguer les erreurs de service et d'appareil dans les dépendances externes

! Sécurité et Limitations

  • Nécessite une adhésion stricte au cycle rouge-vert-reconstruire
  • Limité aux modules de relais USB contrôlés par HID
  • Dépendant de FastAPI pour la mise en œuvre de l'API REST

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?

Parfait pour les agents de développement piloté par les tests nécessitant des capacités de test et de validation d'API robustes. Resume localise : 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: Écrire des tests de chemin de réussite pour des scénarios d'entrée valides, Générer des tests d'erreurs de validation pour la gestion d'entrées invalides, Déboguer les erreurs de service et d'appareil dans les dépendances externes.

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?

Nécessite une adhésion stricte au cycle rouge-vert-reconstruire. Limité aux modules de relais USB contrôlés par HID. Dépendant de FastAPI pour la mise en œuvre de l'API REST.

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

Compétences associées

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

Voir tout

openclaw-release-maintainer

Logo of openclaw
openclaw

Resume localise : 🦞 # 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

Resume localise : 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, and

flags

Logo of vercel
vercel

Resume localise : 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
Navigateur

pr-review

Logo of pytorch
pytorch

Resume localise : 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
Développeur