typescript
✓当用户要求“优化 TypeScript 性能”、“加速 tsc 编译”、“配置 tsconfig.json”、“修复类型错误”、“改进异步模式”或遇到 TS 错误(TS2322、TS2339、“不可分配给”)时,应该使用此技能。还会触发涉及类型定义、模块组织或内存管理的 .ts、.tsx、.d.ts 文件工作。不涵盖 TypeScript 基础知识、特定于框架的模式或测试。
SKILL.md
Comprehensive performance optimization guide for TypeScript applications. Contains 42 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
| 1 | Type System Performance | CRITICAL | type- | | 2 | Compiler Configuration | CRITICAL | tscfg- | | 3 | Async Patterns | HIGH | async- | | 4 | Module Organization | HIGH | module- | | 5 | Type Safety Patterns | MEDIUM-HIGH | safety- | | 6 | Memory Management | MEDIUM | mem- | | 7 | Runtime Optimization | LOW-MEDIUM | runtime- |
| 8 | Advanced Patterns | LOW | advanced- |
当用户要求“优化 TypeScript 性能”、“加速 tsc 编译”、“配置 tsconfig.json”、“修复类型错误”、“改进异步模式”或遇到 TS 错误(TS2322、TS2339、“不可分配给”)时,应该使用此技能。还会触发涉及类型定义、模块组织或内存管理的 .ts、.tsx、.d.ts 文件工作。不涵盖 TypeScript 基础知识、特定于框架的模式或测试。 来源:thongdn-it/react-agent-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/thongdn-it/react-agent-skills --skill typescript- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 typescript?
当用户要求“优化 TypeScript 性能”、“加速 tsc 编译”、“配置 tsconfig.json”、“修复类型错误”、“改进异步模式”或遇到 TS 错误(TS2322、TS2339、“不可分配给”)时,应该使用此技能。还会触发涉及类型定义、模块组织或内存管理的 .ts、.tsx、.d.ts 文件工作。不涵盖 TypeScript 基础知识、特定于框架的模式或测试。 来源:thongdn-it/react-agent-skills。
如何安装 typescript?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/thongdn-it/react-agent-skills --skill typescript 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/thongdn-it/react-agent-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01