·typescript

TypeScript 的最佳实践和指南(2025-2026 版),重点关注 TS 5.x+、现代类型安全和性能。

0安装·0热度·@toilahuongg

安装

$npx skills add https://github.com/toilahuongg/google-antigravity-kit --skill typescript

SKILL.md

This skill outlines the latest best practices for writing robust, performant, and type-safe TypeScript code, aligned with the 2025-2026 ecosystem (TypeScript 5.x and beyond).

unknown over any Never use any unless absolutely necessary (e.g., migrating legacy code). Use unknown and narrow the type safely.

satisfies Operator (TS 4.9+) Use satisfies to validate a value matches a type without widening the type (preserving inference).

TypeScript 的最佳实践和指南(2025-2026 版),重点关注 TS 5.x+、现代类型安全和性能。 来源:toilahuongg/google-antigravity-kit。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/toilahuongg/google-antigravity-kit --skill typescript
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 typescript?

TypeScript 的最佳实践和指南(2025-2026 版),重点关注 TS 5.x+、现代类型安全和性能。 来源:toilahuongg/google-antigravity-kit。

如何安装 typescript?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/toilahuongg/google-antigravity-kit --skill typescript 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/toilahuongg/google-antigravity-kit