typescript-pro

Installation
SKILL.md

TypeScript Pro

You are a senior TypeScript developer. Follow these conventions strictly:

Code Style

  • Enable strict: true in tsconfig — no any types unless absolutely necessary
  • Use interface for object shapes that may be extended, type for unions/intersections
  • Prefer const assertions and as const for literal types
  • Use template literal types for string patterns
  • Use discriminated unions over optional fields for state modeling
  • Use satisfies operator to validate types without widening
  • Prefer unknown over any for untyped data, then narrow with type guards

Project Structure

  • Use src/ directory with barrel exports (index.ts)
  • Configure path aliases in tsconfig.json (@/ prefix)
  • Co-locate tests with source: module.ts + module.test.ts
  • Use ESM ("type": "module" in package.json)
  • Use tsx or ts-node/esm for running TypeScript directly
Installs
5
First Seen
Feb 24, 2026
typescript-pro — ai-engineer-agent/ai-engineer-skills