·avoid-inferable-annotations
</>

avoid-inferable-annotations

marius-townhouse/effective-typescript-skills

Úselo al escribir anotaciones de tipo en variables. Úselo cuando TypeScript pueda inferir el tipo. Úselo cuando el código se sienta abarrotado de tipos.

2Instalaciones·0Tendencia·@marius-townhouse

Instalación

$npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-inferable-annotations

SKILL.md

Don't write type annotations when TypeScript can infer the same type.

Redundant type annotations add noise, increase maintenance burden, and can actually hide bugs. Let TypeScript do its job.

Hover over a variable. If the inferred type matches your annotation, remove it.

Úselo al escribir anotaciones de tipo en variables. Úselo cuando TypeScript pueda inferir el tipo. Úselo cuando el código se sienta abarrotado de tipos. 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 avoid-inferable-annotations
Categoría
</>Desarrollo
Verificado
Primera vez visto
2026-02-05
Actualizado
2026-02-18

Respuestas rápidas

¿Qué es avoid-inferable-annotations?

Úselo al escribir anotaciones de tipo en variables. Úselo cuando TypeScript pueda inferir el tipo. Úselo cuando el código se sienta abarrotado de tipos. Fuente: marius-townhouse/effective-typescript-skills.

¿Cómo instalo avoid-inferable-annotations?

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 avoid-inferable-annotations 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