·avoid-inferable-annotations
</>

avoid-inferable-annotations

marius-townhouse/effective-typescript-skills

Wird beim Schreiben von Typanmerkungen zu Variablen verwendet. Wird verwendet, wenn TypeScript den Typ ableiten kann. Verwenden Sie diese Option, wenn sich der Code mit Typen überfüllt anfühlt.

2Installationen·0Trend·@marius-townhouse

Installation

$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.

Wird beim Schreiben von Typanmerkungen zu Variablen verwendet. Wird verwendet, wenn TypeScript den Typ ableiten kann. Verwenden Sie diese Option, wenn sich der Code mit Typen überfüllt anfühlt. Quelle: marius-townhouse/effective-typescript-skills.

Original anzeigen

Fakten (zitierbereit)

Stabile Felder und Befehle für KI/Such-Zitate.

Installationsbefehl
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-inferable-annotations
Kategorie
</>Entwicklung
Verifiziert
Erstes Auftreten
2026-02-05
Aktualisiert
2026-02-18

Schnelle Antworten

Was ist avoid-inferable-annotations?

Wird beim Schreiben von Typanmerkungen zu Variablen verwendet. Wird verwendet, wenn TypeScript den Typ ableiten kann. Verwenden Sie diese Option, wenn sich der Code mit Typen überfüllt anfühlt. Quelle: marius-townhouse/effective-typescript-skills.

Wie installiere ich avoid-inferable-annotations?

Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-inferable-annotations Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code oder Cursor

Wo ist das Quell-Repository?

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