跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Typescript Advanced Types

技能 已验证 活跃

Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.

目的

Master advanced TypeScript types to build robust, type-safe applications and reusable type utilities.

功能

  • Master generics, conditional types, mapped types, and template literal types
  • Understand and use built-in utility types
  • Implement advanced patterns like type-safe event emitters and API clients
  • Learn type inference techniques and best practices

使用场景

  • Implementing complex type logic in TypeScript projects
  • Creating reusable generic components and type utilities
  • Ensuring compile-time type safety in libraries and frameworks
  • Designing type-safe API clients and data structures

非目标

  • Basic TypeScript syntax and concepts
  • JavaScript language features
  • Runtime code execution or transpilation
  • IDE-specific configurations or shortcuts

安装

请先添加 Marketplace

/plugin marketplace add wshobson/agents
/plugin install javascript-typescript@claude-code-workflows

质量评分

已验证
100 /100
about 9 hours ago 分析

信任信号

最近提交2 days ago
星标35.3k
许可证MIT
状态
查看源代码

类似扩展

Typescript Pro

97

Implements advanced TypeScript type systems, creates custom type guards, utility types, and branded types, and configures tRPC for end-to-end type safety. Use when building TypeScript applications requiring advanced generics, conditional or mapped types, discriminated unions, monorepo setup, or full-stack type safety with tRPC.

技能
jeffallan

Typescript Magician

88

设计复杂的泛型类型,将 `any` 类型重构为严格的替代方案,创建类型守卫和实用工具类型,并解决 TypeScript 编译器错误。当用户询问有关 TypeScript (TS) 类型、泛型、类型推断、类型守卫、移除 `any` 类型、严格类型、类型错误、`infer`、`extends`、条件类型、映射类型、模板字面量类型、品牌/不透明类型或 `Partial`、`Record`、`ReturnType` 和 `Awaited` 等实用工具类型时使用。

技能
mcollina

Validate Plugin

100

Validate a Claude Code plugin structure, frontmatter, and MCP tool references

技能
ruvnet

Migrate Validate

100

Validate pending migrations for foreign key consistency, rollback safety, and best practices

技能
ruvnet

Lean Ctx

100

AI 代理的上下文运行时 — 包含 59 个 MCP 工具、10 种读取模式、95+ 种 shell 模式、支持 18 种语言的 tree-sitter AST。将 LLM 上下文压缩高达 99%。用于读取文件、运行 shell 命令、搜索代码或探索目录。如果不存在,则自动安装。

技能
yvgude

Semgrep Rule Creator

100

Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Use when writing Semgrep rules or building custom static analysis detections.

技能
trailofbits