·different-variables-types
</>

different-variables-types

変数を再利用したい場合に使用します。変数の型が変わるときに使用します。共用体型を複数の目的で使用する場合に使用します。

4インストール·0トレンド·@marius-townhouse

インストール

$npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill different-variables-types

different-variables-types のインストール方法

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

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

ソース: marius-townhouse/effective-typescript-skills。

In JavaScript, you can assign any value to any variable. But in TypeScript, a variable's type is generally fixed. Using different variables for different concepts improves type safety and code clarity.

Union types are harder to work with and obscure the code's intent.

const makes code easier for both humans and TypeScript to understand.

変数を再利用したい場合に使用します。変数の型が変わるときに使用します。共用体型を複数の目的で使用する場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。

引用可能な情報

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

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

Browse more skills from marius-townhouse/effective-typescript-skills

クイックアンサー

different-variables-types とは?

変数を再利用したい場合に使用します。変数の型が変わるときに使用します。共用体型を複数の目的で使用する場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。

different-variables-types のインストール方法は?

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

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

https://github.com/marius-townhouse/effective-typescript-skills