typescript-rules

Installation
SKILL.md

TypeScript Development Rules (Frontend)

Basic Principles

  • Aggressive Refactoring - Prevent technical debt and maintain health
  • Delete code when no current caller exists - YAGNI principle (Kent Beck)

Comment Writing Rules

  • Function Description Focus: Describe what the code "does"
  • Timeless content only: Record decisions and rationale; leave chronological history to version control
  • Conciseness: Keep explanations to necessary minimum

Type Safety

Absolute Rule: Replace every any with unknown, generics, or union types. any disables type checking and causes runtime errors.

Related skills
Installs
47
GitHub Stars
350
First Seen
Jan 24, 2026