·test-your-types

Úselo al escribir declaraciones de tipo. Úselo al crear bibliotecas. Úselo al refactorizar utilidades de tipo. Úselo cuando los tipos y la implementación estén separados. Úselo cuando los tipos contengan lógica compleja.

2Instalaciones·0Tendencia·@marius-townhouse

Instalación

$npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill test-your-types

SKILL.md

Just as you write tests for runtime code, you should write tests for your types. Type-level code can have bugs too, and type declarations can drift out of sync with implementations. Testing types ensures your declarations work correctly and catch the errors they should.

Type testing is particularly important for library authors, complex type utilities, and whenever types are defined separately from implementations.

Write tests for your types. Test that valid types work, invalid types fail, and the error messages are helpful.

Úselo al escribir declaraciones de tipo. Úselo al crear bibliotecas. Úselo al refactorizar utilidades de tipo. Úselo cuando los tipos y la implementación estén separados. Úselo cuando los tipos contengan lógica compleja. Fuente: marius-townhouse/effective-typescript-skills.

Ver original

Datos (listos para citar)

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

Comando de instalación
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill test-your-types
Categoría
</>Desarrollo
Verificado
Primera vez visto
2026-02-05
Actualizado
2026-02-18

Respuestas rápidas

¿Qué es test-your-types?

Úselo al escribir declaraciones de tipo. Úselo al crear bibliotecas. Úselo al refactorizar utilidades de tipo. Úselo cuando los tipos y la implementación estén separados. Úselo cuando los tipos contengan lógica compleja. Fuente: marius-townhouse/effective-typescript-skills.

¿Cómo instalo test-your-types?

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/marius-townhouse/effective-typescript-skills --skill test-your-types 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 o Cursor

¿Dónde está el repositorio de origen?

https://github.com/marius-townhouse/effective-typescript-skills