·ecmascript-over-typescript-features
</>

ecmascript-over-typescript-features

marius-townhouse/effective-typescript-skills

TypeScript 機能と ECMAScript 機能のどちらかを選択するときに使用します。移植可能なコードを作成するときに使用します。 enum または名前空間を検討する場合に使用します。複数の JavaScript 環境を対象とする場合に使用します。ライブラリコードを記述するときに使用します。

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

インストール

$npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill ecmascript-over-typescript-features

SKILL.md

TypeScript includes features like enum and namespace that are specific to TypeScript and don't exist in JavaScript. Prefer standard ECMAScript features when possible - they're more portable, better understood by the JavaScript ecosystem, and won't lock you into TypeScript-specific patterns.

This doesn't mean avoid TypeScript entirely - use its type system fully. But for runtime features, prefer standard JavaScript.

Prefer standard ECMAScript features over TypeScript-specific runtime features. Use TypeScript for types, JavaScript for runtime behavior.

TypeScript 機能と ECMAScript 機能のどちらかを選択するときに使用します。移植可能なコードを作成するときに使用します。 enum または名前空間を検討する場合に使用します。複数の JavaScript 環境を対象とする場合に使用します。ライブラリコードを記述するときに使用します。 ソース: marius-townhouse/effective-typescript-skills。

原文を見る

引用可能な情報

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

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

クイックアンサー

ecmascript-over-typescript-features とは?

TypeScript 機能と ECMAScript 機能のどちらかを選択するときに使用します。移植可能なコードを作成するときに使用します。 enum または名前空間を検討する場合に使用します。複数の JavaScript 環境を対象とする場合に使用します。ライブラリコードを記述するときに使用します。 ソース: marius-townhouse/effective-typescript-skills。

ecmascript-over-typescript-features のインストール方法は?

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

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

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