strict-typescript

Enforce advanced TypeScript tsconfig flags and ESLint governance for compile-time safety.

3|1|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/jagreehal/jagreehal-claude-skills --skill strict-typescript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: strict-typescript
Source: https://github.com/jagreehal/jagreehal-claude-skills/tree/main/skills/strict-typescript
Command: npx skills add https://github.com/jagreehal/jagreehal-claude-skills --skill strict-typescript

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures TypeScript patterns are enforced beyond the built-in strict: true compliance, preventing subtle typing issues and unintentional unsafe shapes in codebases.

Core Features & Use Cases

  • Advanced type-level patterns: noUncheckedIndexedAccess, exactOptionalPropertyTypes, erasableSyntaxOnly, verbatimModuleSyntax, and type-fest integration.
  • ESLint-friendly rules and ts-reset guidance to maintain runtime safety.
  • Use Case: large TypeScript projects that require stronger guarantees and easier maintenance across refactors.

Quick Start

Update tsconfig.json with the required flags and install the recommended libraries to start applying the patterns across your codebase.

Frequently Asked Questions about strict-typescript

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

FAQPage Schema
How do I enforce TypeScript patterns beyond strict mode?

To enforce TypeScript patterns beyond strict mode, update your tsconfig.json with flags like noUncheckedIndexedAccess and exactOptionalPropertyTypes, then install recommended libraries to apply advanced type-level safety across your project.

What does noUncheckedIndexedAccess do in TypeScript?

The noUncheckedIndexedAccess flag in TypeScript forces index access signatures to return T | undefined, preventing unsafe array or object access by requiring explicit undefined checks during compile-time.

How do I use type-fest and ts-reset to improve compile-time safety?

You can use type-fest and @total-typescript/ts-reset to improve compile-time safety by integrating them into your project dependencies, applying robust type-safety patterns and fixing subtle typing issues in large codebases.

Does verbatimModuleSyntax work with existing ESLint governance rules?

Yes, verbatimModuleSyntax works alongside ESLint governance rules to enforce explicit import and export syntax, ensuring runtime safety and maintaining consistent module behavior across large TypeScript projects.

What is the best way to prevent subtle typing issues in large TypeScript codebases?

The best way to prevent subtle typing issues in large TypeScript codebases is to enable advanced tsconfig flags like exactOptionalPropertyTypes and erasableSyntaxOnly, combined with ESLint-friendly rules and ts-reset guidance.

Are complex generics required to use advanced TypeScript strict patterns?

Yes, complex generics are often required because these advanced TypeScript strict patterns target TS-heavy projects that demand stronger type guarantees and complex generic implementations to maintain robust type-safety.