lang-typescript

Installation
SKILL.md

TypeScript Conventions

Naming Conventions

Item Style Example
Types, interfaces, enums PascalCase UserProfile, HttpStatus
Functions, variables, methods camelCase getUserById, isActive
Constants UPPER_CASE MAX_RETRIES, API_BASE_URL
File names (modules) camelCase or kebab-case userService.ts, user-service.ts — follow project convention
Generic type parameters Single uppercase or short PascalCase T, K, V, TResult
  • No I prefix on interfaces — User not IUser. TypeScript makes no runtime distinction
  • No T prefix on types — Props not TProps
  • Boolean names: Use is, has, can, should prefixes — isActive, hasPermission

unknown vs any

Installs
1
Repository
noih/dev-skills
First Seen
Apr 29, 2026