typescript-reviewer

Detects type-safety issues in JavaScript/TypeScript projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/physics91/claude-vibe --skill typescript-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-reviewer
Source: https://github.com/physics91/claude-vibe/tree/main/skills/typescript-reviewer
Command: npx skills add https://github.com/physics91/claude-vibe --skill typescript-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reviews TypeScript projects for type safety, proper use of generics, and strict compiler configurations to prevent type-related bugs.

Core Features & Use Cases

  • Type safety: flags explicit any, unsafe casts, and missing return types.
  • Generics & unions: encourages precise types and modern TS patterns.
  • Compiler options: analyzes tsconfig for strict mode and helpful flags.
  • Use Case: Strengthen a TS codebase by removing risky any types and enabling strictNullChecks.

Quick Start

Run the typescript-reviewer on a TypeScript project to surface type-safety improvements.

Frequently Asked Questions about typescript-reviewer

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

FAQPage Schema
How do I find and fix explicit any types in my TypeScript codebase?

TypeScript-reviewer identifies explicit any, as any casts, and // @ts-ignore directives that bypass type safety. It scans your .ts and .tsx files against your tsconfig settings, reporting each unsafe pattern with location and severity so you can systematically remove them and strengthen type coverage.

What type-safety issues does a TypeScript project audit catch?

A type-safety audit detects explicit any, unsafe type assertions, missing return types, non-null assertions, and // @ts-nocheck blocks. It also analyzes your tsconfig for strict mode enablement and compiler options that prevent common type-related bugs before they reach production.

Can I use TypeScript-reviewer to enable strictNullChecks safely?

Yes. The reviewer surfaces null-safety gaps and type mismatches before you enable strictNullChecks in tsconfig. It reports non-null assertions and missing type annotations, letting you remediate systematically rather than facing build failures after flag activation.

How does TypeScript-reviewer help with generics and union types?

It reviews generic patterns and union type usage to encourage precise, modern TypeScript patterns instead of broad fallbacks. The audit identifies overly permissive types and suggests constraints that improve type inference and catch bugs earlier in development.

What compiler options does TypeScript-reviewer check in tsconfig.json?

It analyzes tsconfig for strict mode flags, strictNullChecks, noImplicitAny, and other safety-focused compiler options. The review reports which flags are enabled or missing, helping you align your configuration with type-safety best practices.

Do I need a specific TypeScript version to run this review?

TypeScript-reviewer requires a tsconfig.json and .ts or .tsx files in your project. It works with standard TypeScript tooling and does not depend on external libraries, making it compatible with any actively maintained TypeScript version.