unify-types
✓Use when similar types have minor differences. Use when union types become complex. Use when choosing between modeling differences.
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 |
Use when similar types have minor differences. Use when union types become complex. Use when choosing between modeling differences. Source: marius-townhouse/effective-typescript-skills.
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 unify-types- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-05
- Updated
- 2026-02-18
Quick answers
What is unify-types?
Use when similar types have minor differences. Use when union types become complex. Use when choosing between modeling differences. Source: marius-townhouse/effective-typescript-skills.
How do I install unify-types?
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 unify-types 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
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-05