·typescript
</>

typescript

thongdn-it/react-agent-skills

當用戶要求“優化 TypeScript 性能”、“加速 tsc 編譯”、“配置 tsconfig.json”、“修復類型錯誤”、“改進異步模式”或遇到 TS 錯誤(TS2322、TS2339、“不可分配給”)時,應該使用此技能。還會觸發涉及類型定義、模塊組織或內存管理的 .ts、.tsx、.d.ts 文件工作。不涵蓋 TypeScript 基礎知識、特定於框架的模式或測試。

5安裝·0熱度·@thongdn-it

安裝

$npx skills add https://github.com/thongdn-it/react-agent-skills --skill 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