type-coverage

Measure TypeScript type coverage and identify untyped code gaps.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/emanuelrechsteiner/FairSplit --skill type-coverage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: type-coverage
Source: https://github.com/emanuelrechsteiner/FairSplit/tree/main/.claude/skills/type-coverage
Command: npx skills add https://github.com/emanuelrechsteiner/FairSplit --skill type-coverage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Track and improve TypeScript type coverage across a codebase, helping teams identify untyped code, implicit any usage, and gaps in type safety to guide systematic improvements.

Core Features & Use Cases

  • Detect explicit and implicit any usage to prioritize safe typing improvements.
  • Provide practical checks with commands to measure and raise type coverage.
  • Use this in codebase audits, refactors, and when onboarding to a new TypeScript project.

Quick Start

Install type-coverage if needed and run npx type-coverage --detail --at-least 90 to view coverage details.

Frequently Asked Questions about type-coverage

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

FAQPage Schema
How do I measure TypeScript type coverage in my codebase?

Measure TypeScript type coverage by running npx type-coverage --detail --at-least 90 to analyze explicit any, implicit any, missing return types, and untyped dependencies, then output a coverage report with guidance.

What is the best way to find implicit any usage before refactoring TypeScript code?

Find implicit any usage during codebase audits by analyzing type safety gaps to detect untyped code and missing return types, generating a report to prioritize safe typing improvements before refactoring.

Does type coverage analysis detect untyped dependencies and missing return types?

Type coverage analysis detects untyped dependencies, explicit and implicit any usage, and missing return types to highlight untyped areas and measure codebase type safety for systematic improvements.

How do I track TypeScript type safety gaps when onboarding to a new project?

Track TypeScript type safety gaps during onboarding by measuring codebase type coverage to identify untyped code and implicit any usage, guiding systematic improvements and prioritizing type-safety enhancements.

Can I use type coverage checks to improve codebase type safety during code quality audits?

Use type coverage checks during code quality audits to identify TypeScript typing gaps, measure type safety, and highlight untyped areas with practical commands to raise coverage and prioritize improvements.

What TypeScript typing gaps does type coverage analysis highlight?

Type coverage analysis highlights TypeScript typing gaps including explicit any, implicit any, missing return types, and untyped dependencies, outputting a coverage report with guidance to prioritize type-safety improvements.