·tdd

Développement piloté par les tests avec boucle de refactorisation rouge-vert. À utiliser lorsque l'utilisateur souhaite créer des fonctionnalités ou corriger des bogues à l'aide de TDD, mentionne "red-green-refactor", souhaite des tests d'intégration ou demande un développement axé sur les tests.

51Installations·3Tendance·@brianlovin

Installation

$npx skills add https://github.com/brianlovin/claude-config --skill tdd

Comment installer tdd

Installez rapidement le skill IA tdd dans votre environnement de développement via la ligne de commande

  1. Ouvrir le Terminal: Ouvrez votre terminal ou outil de ligne de commande (Terminal, iTerm, Windows Terminal, etc.)
  2. Exécuter la commande d'installation: Copiez et exécutez cette commande : npx skills add https://github.com/brianlovin/claude-config --skill tdd
  3. Vérifier l'installation: Une fois installé, le skill sera automatiquement configuré dans votre environnement de programmation IA et prêt à être utilisé dans Claude Code, Cursor ou OpenClaw

Source : brianlovin/claude-config.

Core principle: Tests should verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't.

Good tests are integration-style: they exercise real code paths through public APIs. They describe what the system does, not how it does it. A good test reads like a specification - "user can checkout with valid cart" tells you exactly what capability exists. These tests survive refactors because they don't care about internal structure.

Bad tests are coupled to implementation. They mock internal collaborators, test private methods, or verify through external means (like querying a database directly instead of using the interface). The warning sign: your test breaks when you refactor, but behavior hasn't changed. If you rename an internal function and tests fail, those tests were testing implementation, not behavior.

Faits (prêts à citer)

Champs et commandes stables pour les citations IA/recherche.

Commande d'installation
npx skills add https://github.com/brianlovin/claude-config --skill tdd
Catégorie
</>Développement
Vérifié
Première apparition
2026-02-22
Mis à jour
2026-03-10

Browse more skills from brianlovin/claude-config

Réponses rapides

Qu'est-ce que tdd ?

Développement piloté par les tests avec boucle de refactorisation rouge-vert. À utiliser lorsque l'utilisateur souhaite créer des fonctionnalités ou corriger des bogues à l'aide de TDD, mentionne "red-green-refactor", souhaite des tests d'intégration ou demande un développement axé sur les tests. Source : brianlovin/claude-config.

Comment installer tdd ?

Ouvrez votre terminal ou outil de ligne de commande (Terminal, iTerm, Windows Terminal, etc.) Copiez et exécutez cette commande : npx skills add https://github.com/brianlovin/claude-config --skill tdd Une fois installé, le skill sera automatiquement configuré dans votre environnement de programmation IA et prêt à être utilisé dans Claude Code, Cursor ou OpenClaw

Où se trouve le dépôt source ?

https://github.com/brianlovin/claude-config

Détails

Catégorie
</>Développement
Source
skills.sh
Première apparition
2026-02-22