·unify-types

類似したタイプにわずかな違いがある場合に使用します。共用体の型が複雑になる場合に使用します。モデリングの違いを選択するときに使用します。

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

インストール

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

SKILL.md

When types are almost identical, unifying them simplifies your code. The cost of handling small differences is usually less than maintaining parallel type hierarchies.

Files and directories have different operations. Unifying would lose type safety.

| "They're conceptually different" | Code doesn't care about concepts | | "Separate types are cleaner" | More types = more handling code | | "We might need the distinction" | Cross that bridge when you come to it |

類似したタイプにわずかな違いがある場合に使用します。共用体の型が複雑になる場合に使用します。モデリングの違いを選択するときに使用します。 ソース: marius-townhouse/effective-typescript-skills。

原文を見る

引用可能な情報

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

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

クイックアンサー

unify-types とは?

類似したタイプにわずかな違いがある場合に使用します。共用体の型が複雑になる場合に使用します。モデリングの違いを選択するときに使用します。 ソース: marius-townhouse/effective-typescript-skills。

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

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

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

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