avoid-inferable-annotations

Installation
SKILL.md

Avoid Cluttering Your Code with Inferable Types

Overview

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.

When to Use This Skill

  • Declaring variables with obvious types
  • Destructuring assignments
  • Writing function implementations
  • Reviewing code with verbose annotations
  • Refactoring type-heavy code

The Iron Rule

Installs
12
GitHub Stars
2
First Seen
Feb 3, 2026
avoid-inferable-annotations — marius-townhouse/effective-typescript-skills