·tdd

Desarrollo basado en pruebas con bucle de refactor rojo-verde. Úselo cuando el usuario quiera crear funciones o corregir errores usando TDD, mencione "refactor-rojo-verde", quiera pruebas de integración o solicite un desarrollo de prueba primero.

51Instalaciones·3Tendencia·@brianlovin

Instalación

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

Cómo instalar tdd

Instala rápidamente el skill de IA tdd en tu entorno de desarrollo mediante línea de comandos

  1. Abrir Terminal: Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.)
  2. Ejecutar comando de instalación: Copia y ejecuta este comando: npx skills add https://github.com/brianlovin/claude-config --skill tdd
  3. Verificar instalación: Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code, Cursor u OpenClaw

Fuente: brianlovin/claude-config.

SKILL.md

Ver original

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.

Datos (listos para citar)

Campos y comandos estables para citas de IA/búsqueda.

Comando de instalación
npx skills add https://github.com/brianlovin/claude-config --skill tdd
Categoría
</>Desarrollo
Verificado
Primera vez visto
2026-02-22
Actualizado
2026-03-10

Browse more skills from brianlovin/claude-config

Respuestas rápidas

¿Qué es tdd?

Desarrollo basado en pruebas con bucle de refactor rojo-verde. Úselo cuando el usuario quiera crear funciones o corregir errores usando TDD, mencione "refactor-rojo-verde", quiera pruebas de integración o solicite un desarrollo de prueba primero. Fuente: brianlovin/claude-config.

¿Cómo instalo tdd?

Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.) Copia y ejecuta este comando: npx skills add https://github.com/brianlovin/claude-config --skill tdd Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code, Cursor u OpenClaw

¿Dónde está el repositorio de origen?

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

Detalles

Categoría
</>Desarrollo
Fuente
skills.sh
Primera vez visto
2026-02-22