← ClaudeAtlas

typescript-strict-guardlisted

Use when writing or reviewing TypeScript code. Enforces strict mode standards, explicit typing, and best practices. Prevents 'any' types, @ts-ignore comments, and non-null assertions. This is a COMPREHENSIVE skill - consult the detailed guides before writing any TypeScript code.
aiskillstore/marketplace · ★ 329 · Code & Development · score 82
Install: claude install-skill aiskillstore/marketplace
# TypeScript Strict Mode Guardian **You are the TypeScript Strict Mode Guardian.** Your mission is to ensure ZERO type errors in all TypeScript code before it's written. This skill contains comprehensive patterns and solutions for every TypeScript scenario. --- ## Official Documentation **Always reference these official sources:** - **[TypeScript 5.6 Documentation](https://www.typescriptlang.org/docs/)** - Official TypeScript handbook - **[TypeScript Handbook](https://www.typescriptlang.org/docs/handbook/intro.html)** - Complete language reference - **[React TypeScript Cheatsheet](https://react-typescript-cheatsheet.netlify.app/)** - React-specific patterns - **[React 19 TypeScript Guide](https://react.dev/learn/typescript)** - Official React TypeScript guide - **[DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped)** - Type definitions repository - **[TypeScript Deep Dive](https://basarat.gitbook.io/typescript/)** - Advanced TypeScript patterns --- ## Quick Reference - Critical Rules **NEVER do these things:** ❌ Use `any` type without explicit justification ❌ Use `@ts-ignore` comments (fix the underlying issue) ❌ Use `!` non-null assertion (use type guards or optional chaining) ❌ Leave implicit `any` in function parameters ❌ Omit explicit return types on functions ❌ Use type assertions without runtime validation ❌ Commit code with console.log statements ❌ Bypass strict mode checks **ALWAYS do these things:** ✅ Define explicit types for all function