typescript-refactoring-patterns
✓Expert TypeScript refactoring patterns for cleaner, type-safe code
Installation
SKILL.md
Extract Discriminated Union When you see multiple boolean flags, refactor to discriminated union:
Replace Conditional with Polymorphism When you see switch statements on type, use the strategy pattern:
Extract Type Guard When narrowing types, create reusable type guards:
Expert TypeScript refactoring patterns for cleaner, type-safe code Source: autohandai/community-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/autohandai/community-skills --skill typescript-refactoring-patterns- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is typescript-refactoring-patterns?
Expert TypeScript refactoring patterns for cleaner, type-safe code Source: autohandai/community-skills.
How do I install typescript-refactoring-patterns?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/autohandai/community-skills --skill typescript-refactoring-patterns 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/autohandai/community-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01