·avoid-inferable-annotations
</>

avoid-inferable-annotations

marius-townhouse/effective-typescript-skills

Use when writing type annotations on variables. Use when TypeScript can infer the type. Use when code feels cluttered with types.

2Installs·0Trend·@marius-townhouse

Installation

$npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-inferable-annotations

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.

Use when writing type annotations on variables. Use when TypeScript can infer the type. Use when code feels cluttered with types. Source: marius-townhouse/effective-typescript-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-inferable-annotations
Category
</>Dev Tools
Verified
First Seen
2026-02-05
Updated
2026-02-18

Quick answers

What is avoid-inferable-annotations?

Use when writing type annotations on variables. Use when TypeScript can infer the type. Use when code feels cluttered with types. Source: marius-townhouse/effective-typescript-skills.

How do I install avoid-inferable-annotations?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill avoid-inferable-annotations Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

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