typescript-strict

Enforce TypeScript strict mode settings in tsconfig.json for type safety.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams enforce safer and more maintainable TypeScript code by adopting strict mode, reducing runtime errors and improving type safety across the codebase.

Core Features & Use Cases

  • Enforces strict type checking with recommended tsconfig.json settings (strict, noImplicitAny, strictNullChecks, exactOptionalPropertyTypes, etc).
  • Guides common patterns for null safety, type guards, and safe type assertions.
  • Provides practical guidance for monorepo setups and scalable codebases.

Quick Start

Configure your project to strict mode by updating tsconfig.json and applying the accompanying guidelines to your codebase.

Frequently Asked Questions about typescript-strict

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

FAQPage Schema
How do I configure TypeScript strict mode to prevent unsafe typing in my project?

To enable TypeScript strict mode, update your tsconfig.json with strict settings like noImplicitAny, strictNullChecks, and exactOptionalPropertyTypes, then apply type guards and safe assertions to eliminate unsafe typing across your codebase.

What is the best way to enforce null safety and type guards in a large TypeScript codebase?

Enforcing null safety and type guards in a large TypeScript codebase requires enabling strictNullChecks in tsconfig.json and applying written best practice patterns that guide safe type assertions and runtime type narrowing for maintainable code.

Does TypeScript strict mode work with monorepo setups and scalable codebases?

Yes, TypeScript strict mode works with monorepo setups by applying shared tsconfig.json strict settings across packages, providing practical guidance for scalable codebases to maintain type safety and reduce runtime errors throughout the monorepo.

Why should I enable exactOptionalPropertyTypes and noImplicitAny in my tsconfig.json?

Enabling exactOptionalPropertyTypes and noImplicitAny in tsconfig.json prevents undefined values from being assigned to optional properties and disallows implicit any types, reducing runtime errors and enforcing safer type checking across your codebase.

Can I use TypeScript strict mode best practices to guide code reviews?

Yes, TypeScript strict mode best practices can guide code reviews by enforcing strict type checking rules, validating type guards and null safety patterns, and ensuring tsconfig.json configurations meet strict standards for safer code.

What are the limitations of adopting TypeScript strict mode in an existing JavaScript project?

Adopting TypeScript strict mode in an existing JavaScript project requires configuring tsconfig.json with strict settings and resolving noImplicitAny and strictNullChecks errors, demanding significant refactoring to apply type guards and safe assertions throughout the codebase.