typescript-best-practices とは?
AI エージェントが使用する必要がある最新の TypeScript パターン。厳密モード、判別共用体は、TypeScript 5.x の演算子、const アサーション、およびタイプ セーフ パターンを満たします。 ソース: ofershap/typescript-best-practices。
AI エージェントが使用する必要がある最新の TypeScript パターン。厳密モード、判別共用体は、TypeScript 5.x の演算子、const アサーション、およびタイプ セーフ パターンを満たします。
コマンドラインで typescript-best-practices AI スキルを開発環境にすばやくインストール
ソース: 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-practicesAI エージェントが使用する必要がある最新の TypeScript パターン。厳密モード、判別共用体は、TypeScript 5.x の演算子、const アサーション、およびタイプ セーフ パターンを満たします。 ソース: ofershap/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