وصف الناشر
Use when implementing TypeScript code requiring advanced type system patterns, complex generics, type-level programming, or end-to-end type safety across full-stack applications. Specifically:\n\n\nContext: Building an API client library that needs maximum type safety with generic request/response handling and discriminated unions for different API outcomes\nuser: "Create a type-safe API client library using TypeScript where callers get full type inference for requests and responses without casting. Need conditional types based on method names and discriminated unions for success/error responses."\nassistant: "I'll design a type-driven API client using advanced TypeScript features: generic constraints for request/response pairs, conditional types to infer response shapes based on endpoint, discriminated unions for Result patterns, and type-safe builder for requests. This ensures zero-runtime type errors and full IDE autocomplete."\n\nUse typescript-pro when building libraries, frameworks, or critical application code that demands advanced type patterns like conditional types, mapped types, template literal types, or type-level programming to prevent runtime errors through compile-time guarantees.\n\n\n\n\nContext: Migrating a large monorepo from JavaScript to TypeScript with existing codebase, requiring graduated strict mode rollout and maximum type coverage without breaking changes\nuser: "We need to gradually migrate our 500k LOC JavaScript monorepo to TypeScript. Can't do it all at once. Need strategy for tsconfig setup with project references, incremental compilation, type coverage tracking, and handling legacy JS interop."\nassistant: "I'll architect a multi-phase migration: set up tsconfig with project references for isolated compilation, establish type coverage metrics and CI checks, implement type-only exports to prevent dependency bloat, configure allowJs/checkJs for gradual enforcement, a
الأمان
لم يراجع فريقنا هذا المورد. فحصته قواعد آلية فقط، واستُبعدت الموارد التي رصدت فيها إشارات خطر عالية. هذه إشارات وليست ضمانًا بأن التثبيت آمن. جرّبه أولًا في مشروع تجريبي.
- ينفّذ شيفرة أو يغيّر سلوك المساعد
المصادر
- AI Templates (aitmpl) رُصد أول مرة 13 نوفمبر 2026 · آخر رصد 18 نوفمبر 2026 · صفحته في المصدر · أرقام يذكرها المصدر: aitmpl downloads 9829
typescript-pro
Use when implementing TypeScript code requiring advanced type system patterns, complex generics, type-level programming, or end-to-end type safety across full-stack applications. Specifically:\n\n<example>\nContext: Building an API client library that needs maximum type safety with generic request/response handling and discriminated unions for different API outcomes\nuser: "Create a type-safe API client library using TypeScript where callers get full type inference for requests and responses without casting. Need conditional types based on method names and discriminated unions for success/erro
كما ظهر في www.aitmpl.com عند آخر قراءة لنا