Skip to main content

authoring-typescript

Best practices for TypeScript code including type safety, discriminated unions, type guards, and exhaustive checking. Use this skill whenever the user asks about TypeScript patterns, type safety, type assertions (as any, as unknown), non-null assertions, discriminated unions, exhaustive switch/never patterns, type guards, boolean trap parameters, race conditions in async code, memory leaks from closures, or sequential vs parallel async operations. Also trigger when reviewing TypeScript code for unsafe patterns or refactoring types.

ソース情報

リポジトリ
NVIDIA/elements
ソースの最終更新活動
2026年8月12日 00:30
検出された SKILL.md の言語
英語
スター
93
フォーク
18

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
authoring-typescript
description
Best practices for TypeScript code including type safety, discriminated unions, type guards, and exhaustive checking. Use this skill whenever the user asks about TypeScript patterns, type safety, type assertions (as any, as unknown), non-null assertions, discriminated unions, exhaustive switch/never patterns, type guards, boolean trap parameters, race conditions in async code, memory leaks from closures, or sequential vs parallel async operations. Also trigger when reviewing TypeScript code for unsafe patterns or refactoring types.
# Authoring TypeScript You MUST review @projects/site/src/docs/internal/guidelines/typescript.md before making any TypeScript changes. ## When to Use This Skill - Writing or modifying component classes, utilities, or type definitions - Adding or updating TypeScript interfaces, types, or enums - Reviewing code for type safety issues - Implementing type guards or discriminated unions - Working with union types that require exhaustive checking ## References - [TypeScript Guidelines](/projects/site/src/docs/internal/guidelines/typescript.md)
GitHubで見る