avoid-inferable-annotations
✓変数に型アノテーションを記述するときに使用します。 TypeScript が型を推論できる場合に使用します。コードが型で乱雑に感じられる場合に使用します。
SKILL.md
Don't write type annotations when TypeScript can infer the same type.
Redundant type annotations add noise, increase maintenance burden, and can actually hide bugs. Let TypeScript do its job.
Hover over a variable. If the inferred type matches your annotation, remove it.
変数に型アノテーションを記述するときに使用します。 TypeScript が型を推論できる場合に使用します。コードが型で乱雑に感じられる場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-inferable-annotations- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-05
- 更新日
- 2026-02-18
クイックアンサー
avoid-inferable-annotations とは?
変数に型アノテーションを記述するときに使用します。 TypeScript が型を推論できる場合に使用します。コードが型で乱雑に感じられる場合に使用します。 ソース: marius-townhouse/effective-typescript-skills。
avoid-inferable-annotations のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-inferable-annotations インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/marius-townhouse/effective-typescript-skills
詳細
- カテゴリ
- </>開発ツール
- ソース
- skills.sh
- 初回登録
- 2026-02-05