技能 编程开发 TypeScript高级类型系统精通

TypeScript高级类型系统精通

v20260509
typescript-advanced-types
本技能提供掌握TypeScript高级类型系统的全面指导,涵盖泛型、条件类型、映射类型和实用类型等核心概念。适用于构建健壮、可维护且类型极安全的应用程序,如大型库、复杂API客户端和状态管理系统。
获取技能
248 次下载
概览

TypeScript Advanced Types

Comprehensive guidance 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 this skill when

  • Building type-safe libraries or frameworks
  • Creating reusable generic components
  • Implementing complex type inference logic
  • Designing type-safe API clients
  • Building form validation systems
  • Creating strongly-typed configuration objects
  • Implementing type-safe state management
  • Migrating JavaScript codebases to TypeScript

Do not use this skill when

  • The task is unrelated to typescript advanced types
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
信息
Category 编程开发
Name typescript-advanced-types
版本 v20260509
大小 6.55KB
更新时间 2026-05-10
语言