·typescript-best-practices
</>

typescript-best-practices

AI エージェントが使用する必要がある最新の TypeScript パターン。厳密モード、判別共用体は、TypeScript 5.x の演算子、const アサーション、およびタイプ セーフ パターンを満たします。

21インストール·10トレンド·@ofershap

インストール

$npx skills add https://github.com/ofershap/typescript-best-practices --skill typescript-best-practices

typescript-best-practices のインストール方法

コマンドラインで typescript-best-practices AI スキルを開発環境にすばやくインストール

  1. ターミナルを開く: ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます
  2. インストールコマンドを実行: このコマンドをコピーして実行します: npx skills add https://github.com/ofershap/typescript-best-practices --skill typescript-best-practices
  3. インストールを確認: インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソース: ofershap/typescript-best-practices。

Use this skill when working with TypeScript code. AI agents frequently generate outdated patterns - using any instead of unknown, type assertions instead of satisfies, optional fields instead of discriminated unions, and missing strict mode options. This skill enforces modern TypeScript 5.x patterns.

Why: Strict mode catches entire categories of bugs. noUncheckedIndexedAccess prevents unsafe array/object access. Agents often skip these for "convenience."

Why: satisfies validates the type without widening it. as silences the compiler and can hide bugs. Use satisfies for validation, as only when you genuinely know more than the compiler.

AI エージェントが使用する必要がある最新の TypeScript パターン。厳密モード、判別共用体は、TypeScript 5.x の演算子、const アサーション、およびタイプ セーフ パターンを満たします。 ソース: ofershap/typescript-best-practices。

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/ofershap/typescript-best-practices --skill typescript-best-practices
カテゴリ
</>開発ツール
認証済み
初回登録
2026-03-10
更新日
2026-03-10

Browse more skills from ofershap/typescript-best-practices

クイックアンサー

typescript-best-practices とは?

AI エージェントが使用する必要がある最新の TypeScript パターン。厳密モード、判別共用体は、TypeScript 5.x の演算子、const アサーション、およびタイプ セーフ パターンを満たします。 ソース: ofershap/typescript-best-practices。

typescript-best-practices のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/ofershap/typescript-best-practices --skill typescript-best-practices インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/ofershap/typescript-best-practices

詳細

カテゴリ
</>開発ツール
ソース
skills.sh
初回登録
2026-03-10

関連 Skills

なし