·test-your-types

Wird beim Schreiben von Typdeklarationen verwendet. Wird beim Erstellen von Bibliotheken verwendet. Wird beim Refactoring von Dienstprogrammen verwendet. Wird verwendet, wenn Typen und Implementierung getrennt sind. Wird verwendet, wenn Typen komplexe Logik enthalten.

2Installationen·0Trend·@marius-townhouse

Installation

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

Wird beim Schreiben von Typdeklarationen verwendet. Wird beim Erstellen von Bibliotheken verwendet. Wird beim Refactoring von Dienstprogrammen verwendet. Wird verwendet, wenn Typen und Implementierung getrennt sind. Wird verwendet, wenn Typen komplexe Logik enthalten. 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 test-your-types
Kategorie
</>Entwicklung
Verifiziert
Erstes Auftreten
2026-02-05
Aktualisiert
2026-02-18

Schnelle Antworten

Was ist test-your-types?

Wird beim Schreiben von Typdeklarationen verwendet. Wird beim Erstellen von Bibliotheken verwendet. Wird beim Refactoring von Dienstprogrammen verwendet. Wird verwendet, wenn Typen und Implementierung getrennt sind. Wird verwendet, wenn Typen komplexe Logik enthalten. Quelle: marius-townhouse/effective-typescript-skills.

Wie installiere ich test-your-types?

Ö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 test-your-types 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