typescript-best-practices

Installation
SKILL.md

TypeScript Best Practices

When to Apply

Apply these rules when:

  • Writing new TypeScript code
  • Reviewing TypeScript code
  • Refactoring JavaScript to TypeScript
  • Fixing type errors
  • Optimizing type definitions

Core Rules

1. Avoid any - Use Proper Types

Never use any unless absolutely necessary. Instead:

  • Use unknown for truly unknown types
  • Use generics for flexible typing
  • Use union types for multiple possibilities
Installs
6
First Seen
Jan 24, 2026
typescript-best-practices — codelab614/agents-skills