Alternatives to typescript-discriminated-unions
200 apps like typescript-discriminated-unions, closest match first.
Top picks
- T

typescript
Gettypescript is an agent skill from the LobeHub repository with a style guide for TypeScript and TSX code. It covers types and type safety, and async patterns, and the rules apply when editing TS, TSX and MTS files. On types, the guide asks f
- P

principle-type-system-discipline
Getprinciple-type-system-discipline is an agent skill from Cursor's plugins collection that applies a working principle when designing types, reviewing a function signature, or writing code in any statically typed language. The goal is to make
- T

typescript-advanced-types
Gettypescript-advanced-types is an agent skill for mastering TypeScript's advanced type system, including generics, conditional types, mapped types, template literal types and utility types, for building robust, type-safe applications. Use it
- T

typescript-best-practices
Gettypescript-best-practices is an agent skill from the alleneubank claude-code collection. It loads when an AI agent reads or writes TypeScript or JavaScript files, including .ts, .tsx, .js and tsconfig.json. The skill follows the type-first,
- T

typescript-write
Gettypescript-write is an agent skill for writing or modifying TypeScript and JavaScript code, including tests and test helpers, to Metabase's coding standards. It applies before any frontend edit, including test-only changes. Before it works,
- T

typescript-review
Gettypescript-review is an agent skill that reviews TypeScript and JavaScript changes for compliance with the Metabase coding standards. Its main standard is the typescript-write skill, and adherence to that skill is the highest-priority revie
More like typescript-discriminated-unions

typescript-best-practices
TypeScript best practices. Use when reading or editing any .ts or .tsx file

typing-exclusion-worker
Python typing exclusion worker: remove assigned mypy exclusion modules in small

typescript-security-review
Provides security review capability for TypeScript/Node.js applications

fusion-code-conventions
Applies and explains code conventions across TypeScript, React, C#, and Markdown

frontend-dev-guidelines
You are a senior frontend engineer operating under strict architectural

backend-dev-guidelines
You are a senior backend engineer operating production-grade services under

expo-react-native-typescript
Expert in Expo React Native TypeScript mobile development with best practices
About typescript-discriminated-unions

typescript-discriminated-unions
Apply, review, and explain discriminated unions in TypeScript
typescript-discriminated-unions is an agent skill from the TypeScript Style Guide by mkosir. It applies, reviews and explains discriminated unions in TypeScript, and it loads automatically on tasks that involve mutually exclusive variants or preventing invalid states. The skill follows the discriminated-union conventions of the guide, but it asks the agent to check the consuming repository's own conventions and configuration first, and to let explicit repository rules win over the guide. It applies only the guidance that matters to the task, and it names the important tradeoffs when the right model depends on context or judgment. Its boundaries are clear. Discriminated unions are for mutually exclusive variants that carry different data. They are not for cases where properties may be absent independently, or where only a value changes, and the skill says not to force them there. It also leaves checks that TypeScript and ESLint can enforce to those tools, and it does not bring in unrelated conventions from the guide just because it is active. The skill is listed on skills.sh with 3.5K installs and 783 GitHub stars for its project, and all of its security audits show Pass.
- Price
- Free
- Made by
- mkosir
- Category
- AI Skills
- Website
- github.com/mkosir/typescript-style-guide/typescript-discriminated-unions
























