typescript

Enforce TypeScript code style and type-safety practices across codebases.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/mabdulrauf/wazone-back --skill typescript-mabdulrauf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript
Source: https://github.com/mabdulrauf/wazone-back/tree/main/.agents/skills/typescript
Command: npx skills add https://github.com/mabdulrauf/wazone-back --skill typescript-mabdulrauf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TypeScript code style and type-safety inconsistencies slow teams, cause bugs, and hinder maintainability. This guide is required reading before writing or modifying any TypeScript code (.ts, .tsx, .mts) and should be used during code reviews to improve quality.

Core Features & Use Cases

  • Enforces avoidance of implicit any; recommends precise types and the use of interfaces for object shapes.
  • Recommends patterns for async code, import sorting, and safe type assertions to reduce defects.
  • Provides guidance for consistent code structure, testing, and readability across TypeScript projects.

Quick Start

Follow this guide before starting work on any TypeScript file to ensure consistent style and robust types.

Frequently Asked Questions about typescript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce TypeScript type safety and avoid implicit any in my codebase?

Enforcing TypeScript type safety requires avoiding implicit any by applying precise types and using interfaces for object shapes, which reduces runtime errors and ensures consistent code patterns across .ts and .tsx files.

What's the best way to standardize TypeScript code style for async await and imports?

The best way to standardize TypeScript code style is by applying specific patterns for async await execution, safe type assertions, and import sorting, which reduces defects and improves code readability.

When do I need to apply TypeScript linting rules for code review?

You need to apply TypeScript linting rules during code reviews before merging any feature development or modifications to .ts, .tsx, and .mts files to ensure type safety and maintainability.

Does this TypeScript style guide work with .mts files and React .tsx extensions?

Yes, this TypeScript style guide works with .mts files and React .tsx extensions, providing consistent code structure, type safety practices, and readability guidance for all valid TypeScript file formats.

Why should I prefer TypeScript interfaces over type aliases for object shapes?

Preferring TypeScript interfaces over type aliases for object shapes enforces consistent structural typing across your codebase, standardizes code style, and reduces type-related defects during development.