typescript-strict-patterns

Community

Enforce TS rigor with patterns and safety.

Authoreins78
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TypeScript projects often drift from best practices, leading to inconsistent configurations and fragile type safety. This Skill provides a curated set of patterns and configurations to standardize tsconfig, ESLint, and type-level patterns, reducing runtime errors and improving maintainability.

Core Features & Use Cases

  • tsconfig: enforce strict base configurations (extends from @total-typescript/tsconfig) and project-specific variants
  • ESLint: baseline strict rules including switch-exhaustiveness and no-unnecessary-condition, with test-file exceptions
  • Zod: establish boundary schemas and type-safe data parsing
  • Type patterns: discriminated unions, branded types, template literal types, and safe access patterns
  • Use Case: maintain consistent type safety across large codebases and teams

Quick Start

Configure your project to adopt the TypeScript strict patterns by applying the recommended tsconfig and ESLint settings.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: typescript-strict-patterns
Download link: https://github.com/eins78/skills/archive/main.zip#typescript-strict-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.