avoid-wrapper-types とは?
プリミティブを入力するときに使用します。文字列、数値、ブール値を使用したい場合に使用します。ラッパー型がエラーで表示される場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。
プリミティブを入力するときに使用します。文字列、数値、ブール値を使用したい場合に使用します。ラッパー型がエラーで表示される場合に使用します。
コマンドラインで avoid-wrapper-types AI スキルを開発環境にすばやくインストール
ソース: marius-townhouse/effective-typescript-skills。
JavaScript has primitive types (string, number, boolean) and object wrapper types (String, Number, Boolean). TypeScript has types for both, but you should almost never use the wrapper types.
| string | String | | number | Number | | boolean | Boolean | | symbol | Symbol | | bigint | BigInt |
Pressure: "I want to use String methods, so I'll type it as String"
プリミティブを入力するときに使用します。文字列、数値、ブール値を使用したい場合に使用します。ラッパー型がエラーで表示される場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-wrapper-typesBrowse more skills from marius-townhouse/effective-typescript-skills
プリミティブを入力するときに使用します。文字列、数値、ブール値を使用したい場合に使用します。ラッパー型がエラーで表示される場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-wrapper-types インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/marius-townhouse/effective-typescript-skills