dry-types
No SKILL.md available for this skill.
View on GitHubMore from marius-townhouse/effective-typescript-skills
tsdoc-comments
Use when documenting public APIs. Use when writing library code. Use when using JSDoc-style comments. Use when generating documentation. Use when explaining complex types.
33exhaustiveness-checking
Use when handling tagged unions. Use when adding new cases to discriminated unions. Use when switch statements must cover all cases.
13allowjs-mixing
Use when migrating JavaScript to TypeScript. Use when gradually adopting TypeScript. Use when working with mixed codebases. Use when converting large projects. Use when teams are learning TypeScript.
11precise-string-types
Use when working with string-typed properties. Use when string values have a limited set of options. Use when keyof could provide better type safety.
10codegen-over-complex-types
Use when types become extremely complex. Use when types mirror external schemas. Use when maintaining type-to-schema mappings. Use when types require extensive type-level logic. Use when types drift from data sources.
10limit-optional-properties
Use when adding optional properties. Use when types have many optional fields. Use when considering required vs optional.
10