·exhaustiveness-checking
</>

exhaustiveness-checking

Úselo cuando maneje uniones etiquetadas. Úselo al agregar nuevos casos a uniones discriminadas. Úselo cuando las declaraciones de cambio deban cubrir todos los casos.

5Instalaciones·0Tendencia·@marius-townhouse

Instalación

$npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill exhaustiveness-checking

Cómo instalar exhaustiveness-checking

Instala rápidamente el skill de IA exhaustiveness-checking 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/marius-townhouse/effective-typescript-skills --skill exhaustiveness-checking
  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: marius-townhouse/effective-typescript-skills.

SKILL.md

Ver original

Use never to ensure all cases in a union are handled.

When you add a new variant to a union type, TypeScript can automatically flag every switch statement that needs updating. This catches errors of omission at compile time.

Without exhaustiveness checking, new union variants are silently ignored:

Úselo cuando maneje uniones etiquetadas. Úselo al agregar nuevos casos a uniones discriminadas. Úselo cuando las declaraciones de cambio deban cubrir todos los casos. Fuente: marius-townhouse/effective-typescript-skills.

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 exhaustiveness-checking
Categoría
</>Desarrollo
Verificado
Primera vez visto
2026-02-26
Actualizado
2026-03-10

Browse more skills from marius-townhouse/effective-typescript-skills

Respuestas rápidas

¿Qué es exhaustiveness-checking?

Úselo cuando maneje uniones etiquetadas. Úselo al agregar nuevos casos a uniones discriminadas. Úselo cuando las declaraciones de cambio deban cubrir todos los casos. Fuente: marius-townhouse/effective-typescript-skills.

¿Cómo instalo exhaustiveness-checking?

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 exhaustiveness-checking 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/marius-townhouse/effective-typescript-skills