type-test-authoring

Installation
SKILL.md

Type test authoring

Use this skill when

  • The user wants to protect generic helpers, utility types, or public APIs with compile-time tests.
  • A type inference bug or regression should be locked down with a dedicated test.
  • The repository already uses a type-test approach such as tsd, dtslint, expectTypeOf, or @ts-expect-error fixtures.
  • The type contract is important enough to justify introducing the repository's first small compile-time type-test pattern.

Do not use this skill when

  • The task is only about runtime behavior and not static type contracts.
  • The repository has no meaningful type-test workflow and a normal unit test is more appropriate.
  • The change only needs a quick local code sample instead of a maintained regression test.

Inputs to gather

Required before editing

Installs
5
GitHub Stars
4
First Seen
Sep 1, 2026