typescript-style-guide
5 skills from mkosir/typescript-style-guide · 8K installs
Install every skill in this repository:
npx skills add https://github.com/mkosir/typescript-style-guide#SkillInstalls
- 1

Apply, review, and explain discriminated unions in TypeScript. Use automatically for tasks involving mutually exclusive variants, invalid state prevention, exhaustiveness checking, variant-specific object properties, application state, function arguments, or React props.
3.9K - 2

Apply, review, and explain TypeScript variable conventions. Use automatically for tasks involving variable declarations, const assertions, enum alternatives, literal-union state modelling, boolean flags, or choosing between null and undefined.
3.9K - 363
- 440
- 538