unify-types

Installation
SKILL.md

Prefer Unifying Types to Modeling Differences

Overview

Minor differences often don't warrant separate types.

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

When to Use This Skill

  • Types that differ by one or two properties
  • Union types that are mostly the same
  • Considering separate types for variants
  • Simplifying complex type relationships

The Iron Rule

Installs
15
GitHub Stars
2
First Seen
Feb 3, 2026
unify-types — marius-townhouse/effective-typescript-skills