SkillsLib.ai

Typescript Strict Mode Enforcer

Transform TypeScript codebases to enforce strict mode type safety

4.2(51 reviews)
500+ downloads
Updated Nov 2026
Verified SafeSecurity VerifiedThis skill was analyzed by our AI security scanner for harmful content including data exfiltration, system manipulation, credential theft, and prompt injection. No threats were detected.

What You Can Do

This skill scans your TypeScript codebase for type safety violations and systematically remediates them. You can automatically remove implicit any types, add comprehensive type annotations to functions and variables, configure strict mode compiler options in tsconfig.json, and receive actionable refactoring guidance with concrete code examples. It's designed for migrating existing projects to strict mode or enforcing strict practices before production deployment.

Features

Type safety violation detection

Identifies implicit `any` types, missing annotations, and unsafe patterns

Automatic `any` type elimination

Replaces unsafe `any` usage with proper inferred or explicit types

Function and variable annotation

Adds complete type signatures to parameters, return types, and variable declarations

tsconfig.json configuration

Validates and updates compiler options for strict mode, strictNullChecks, noImplicitAny, and related settings

Type safety validation

Scans entire codebase to ensure consistent type coverage and safety

Refactoring guidance

Provides specific code examples and before/after transformations for implementation

Library integration checking

Ensures third-party type definitions integrate properly without type gaps

Example Output

Example 1: Implicit any Detection and Fix

code
// Before
function processData(input) {
  return input.value;
}

// After
function processData(input: { value: string }): string {
  return input.value;
}

Example 2: tsconfig.json Strict Mode Configuration

code
{
  "compilerOptions": {
    "strict": true,
    "strictNullChecks": true,
    "strictFunctionTypes": true,
    "noImplicitAny": true,
    "noImplicitThis": true
  }
}

Example 3: Type Safety Report Violations found: 23 implicit any types, 15 unannotated parameters, 8 unsafe null access patterns. Refactoring recommendations with code samples for each category.

What's Included

  • SKILL.md instruction file with detailed configuration guidelines:
  • TypeScript strict mode configuration template:
  • Type safety violation checklist:
  • tsconfig.json reference with compiler option explanations:
  • Before/after refactoring examples for common patterns:

Who It's For

  • Backend TypeScript engineers migrating projects to strict mode
  • Full-stack developers hardening type safety in production codebases
  • Tech leads enforcing code quality standards across teams
  • DevOps engineers automating type safety validation in CI/CD pipelines
  • Software architects planning type-safe architecture transitions

Best For

  • Migrating existing TypeScript projects to strict mode for the first time
  • Refactoring legacy codebases with widespread `any` type usage
  • Pre-production type safety hardening and validation
  • Enforcing team-wide strict mode standards during onboarding
  • Eliminating type-related runtime errors in critical application paths

You might also like

API Parameter Validation & Security Hardening
$30
API Parameter Validation & Security Hardening

You get Claude to analyze your API specifications and automatically generate bulletproof parameter validation logic. Claude creates security-hardened middleware, enforces type constraints, detects malicious input patterns, and generates comprehensive error handling — all tailored to your framework and existing codebase. The result is production-ready validation code with zero unvalidated inputs reaching your business logic.

Database Migration Helper
$45
SQL4.1(34)
Database Migration Helper

Transform schema and data changes into production-ready migration packages that protect data integrity and minimize downtime. You can handle column additions, renames, type conversions, and backfills using proven patterns like expand-contract and shadow tables. The skill generates explicit rollback scripts, validation checklists, and phased execution plans that keep applications stable throughout the migration.

Smart Contract Security Audit & Optimizer
$25
Smart Contract Security Audit & Optimizer

You can submit your Solidity smart contracts for comprehensive security analysis, vulnerability detection, and gas optimization recommendations. Claude reviews your code against known attack vectors, design patterns, and best practices—identifying reentrancy risks, overflow/underflow issues, access control flaws, and inefficient operations. You receive actionable fix recommendations with explanations of the security implications and gas savings potential.

NGS Data Analysis Pipeline Design & Troubleshooting
$30
NGS Data Analysis Pipeline Design & Troubleshooting

You can design end-to-end NGS pipelines tailored to your experiment type (WGS, WES, RNA-seq, targeted), troubleshoot pipeline failures by analyzing QC metrics and logs, and optimize performance by fine-tuning parameters and identifying bottlenecks. This skill handles the full workflow from raw sequencing data quality assessment through variant interpretation and annotation.

Kalman Filter Engineering Assistant
$25
Kalman Filter Engineering Assistant

This skill guides you through designing Kalman filters for your specific state estimation and sensor fusion problems. You'll learn to diagnose filter divergence, tune covariance matrices (Q and R), and validate observability—turning mathematical theory into production-ready filters. The skill provides step-by-step workflows, diagnostic tools, and practical templates for common applications like GPS/IMU fusion, SLAM, and aircraft navigation.

MLOps System Diagnostic & Troubleshooting
$30
MLOps System Diagnostic & Troubleshooting

You can rapidly identify root causes of training failures, data pipeline breakdowns, and model serving issues by analyzing logs, metrics, and infrastructure state. Claude examines your system events, resource utilization patterns, and error traces to pinpoint performance bottlenecks, data quality problems, and deployment misconfigurations—then recommends targeted remediation steps.

Computer Vision Model Failure Debugger
$30
Computer Vision Model Failure Debugger

Diagnose and resolve computer vision model failures using a structured, multi-angle debugging framework. You'll systematically investigate root causes across model architecture, data quality, preprocessing, and inference stages—then receive targeted fixes to get your model back on track.

Antenna Design & Optimization Skill
$30
Antenna Design & Optimization Skill

You can accelerate your entire antenna design workflow—from initial concept to optimized specifications—by leveraging Claude's knowledge of electromagnetic theory, antenna types, and design trade-offs. Claude helps you parameterize designs, identify optimal configurations for your frequency band and application, and prepare detailed briefs for simulation and manufacturing. You'll generate design reviews, impedance-matching solutions, and validation checklists without context-switching to multiple tools.

$20.00