test-your-types
Use when writing type declarations. Use when authoring libraries. Use when refactoring type utilities. Use when types and implementation are separate. Use when types contain complex logic.
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.
Use when writing type declarations. Use when authoring libraries. Use when refactoring type utilities. Use when types and implementation are separate. Use when types contain complex logic. Source: marius-townhouse/effective-typescript-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill test-your-types- Category
- </>Dev Tools
- Verified
- —
- First Seen
- 2026-02-05
- Updated
- 2026-02-18
Quick answers
What is test-your-types?
Use when writing type declarations. Use when authoring libraries. Use when refactoring type utilities. Use when types and implementation are separate. Use when types contain complex logic. Source: marius-townhouse/effective-typescript-skills.
How do I install test-your-types?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill test-your-types Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/marius-townhouse/effective-typescript-skills
Details
- Category
- </>Dev Tools
- Source
- user
- First Seen
- 2026-02-05