跳转到主要内容

Typescript Magician

技能 活跃

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

目的

通过提高类型安全性、消除 `any` 类型和解决复杂的类型相关错误来协助开发人员提高 TypeScript 代码质量。

功能

  • 设计复杂的泛型类型
  • 将 `any` 类型重构为严格的替代方案
  • 创建类型守卫和实用工具类型
  • 解决 TypeScript 编译器错误
  • 为问题提供类型理论解释

使用场景

  • 在遇到 TypeScript 错误和类型挑战时使用
  • 用于从代码库中消除 `any` 类型
  • 用于复杂的泛型和类型推断问题
  • 需要严格类型时使用

非目标

  • 该技能不直接执行代码或修改项目文件。
  • 它仅专注于类型定义和错误分析,而不是运行时调试或应用程序逻辑。

Maintenance

  • warning:Commit recency上次提交是在 2026-04-17,超过 1 个月前,这表明可能已停止维护。

Versioning

  • warning:Release Management在 SKILL.md 前端 matéria、package.json 或 GitHub release 中没有明确声明版本,并且安装说明可能引用 'main'。

安装

npx skills add mcollina/skills

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

88 /100
13 days ago 分析

信任信号

最近提交about 1 month ago
星标1.8k
许可证MIT
状态
查看源代码

类似扩展

Typescript Advanced Types

100

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.

技能
wshobson

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

Setup Tailwind Typescript

100

Configure Tailwind CSS with TypeScript in a Next.js or React project. Covers installation, configuration, custom theme extensions, component patterns, and type-safe styling utilities. Use when adding Tailwind CSS to an existing TypeScript project, customizing the Tailwind theme for a project's design system, setting up type-safe component styling patterns, or configuring Tailwind plugins and extensions.

技能
pjt222

Trader Regime

100

Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy

技能
ruvnet

Aws Cdk Development

100

AWS Cloud Development Kit (CDK) 专家,用于使用 TypeScript/Python 构建云基础设施。在创建 CDK 堆栈、定义 CDK 构造、实现基础设施即代码,或当用户提及 CDK、CloudFormation、IaC、cdk synth、cdk deploy,或希望以编程方式定义 AWS 基础设施时使用。涵盖 CDK 应用结构、构造模式、堆栈组合和部署工作流。

技能
zxkane

Deepinit

100

Deep codebase initialization with hierarchical AGENTS.md documentation

技能
Yeachan-Heo