typescript-patterns

Installation
SKILL.md

TypeScript Patterns

Enforces TypeScript strict mode conventions: eliminate any, require explicit types, and apply correct use of interfaces, type aliases, generics, and discriminated unions.

Purpose

Enforce TypeScript strict mode conventions: eliminate any, require explicit types, and apply correct use of interfaces, type aliases, generics, and discriminated unions.

Trigger

Apply when writing or reviewing TypeScript code, or when the user asks about:

  • "TypeScript patterns", "TS strict", "TypeScript best practices"
  • "type annotations", "TypeScript conventions"
  • "寫 TypeScript", "TypeScript 規範", "TS 型別"

Do NOT trigger for:

  • JavaScript-only code with no TypeScript types
  • Runtime errors — use the debug skill instead
  • Build failures — use the build-fix skill instead
Installs
2
First Seen
Apr 5, 2026
typescript-patterns — roger-235/my_skill_repo