Frontend Typescript Patterns

Use this skill when the user says 'TypeScript patterns', 'generic components', 'type-safe API', 'discriminated unions', 'type guards', 'type narrowing', 'TS patterns', 'type-safe React', or when writing TypeScript for frontend applications. This skill enforces: generic component patterns with proper constraint bounds, type-safe API client wrappers with response typing, discriminated unions for UI state management, and user-defined type guards. Works with React, Vue, Angular, or any TS-based frontend. Do NOT use for: backend type setup, Node.js runtime types, or basic TypeScript syntax questions.

j4flmao Updated

File contents

j4flmao/agent-skills/tree/main/skills/frontend/universal/typescript-patterns commit acc605e8b3

Frequently asked questions

npx skillmds@latest add j4flmao/frontend-typescript-patterns