Skip to content
Back to skills

Typescript Strict

ASecurity

Write type-safe TypeScript code with strict mode enabled, comprehensive type definitions, proper error handling, and elimination of any types. Use when enabling TypeScript strict mode, adding types to existing JavaScript, fixing type errors, creating type definitions, using utility types, implementing type guards, avoiding any types, creating generic types, or ensuring complete type safety across the codebase.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 20, 2026
developmentjavascripttypescriptjava

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add Fabric-Pro/fabric-oss --skill typescript-strict --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Typescript Strict?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Typescript Strict
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fabric-pro-typescript-strict/badge)](https://www.skillsdirectory.com/skills/fabric-pro-typescript-strict)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: typescript-strict
description: Write type-safe TypeScript code with strict mode enabled, comprehensive type definitions, proper error handling, and elimination of any types. Use when enabling TypeScript strict mode, adding types to existing JavaScript, fixing type errors, creating type definitions, using utility types, implementing type guards, avoiding any types, creating generic types, or ensuring complete type safety across the codebase.
---

# TypeScript Strict - Type Safety Best Practices

## When to use this skill

- Enabling TypeScript strict mode in projects
- Adding types to existing JavaScript codebases
- Fixing TypeScript type errors systematically
- Creating comprehensive type definitions
- Using TypeScript utility types (Partial, Pick, Omit)
- Implementing type guards and assertions
- Eliminating any types from codebase
- Creating generic, reusable typed functions
- Ensuring null/undefined safety
- Typing complex data structures
- Creating discriminated unions
- Implementing strict function signatures

## When to use this skill

- Ensuring type safety, preventing runtime errors.
- When working on related tasks or features
- During development that requires this expertise

**Use when**: Ensuring type safety, preventing runtime errors.

## Config
\`\`\`json
{
  "compilerOptions": {
    "strict": true,
    "noUncheckedIndexedAccess": true,
    "noImplicitReturns": true
  }
}
\`\`\`

## Resources
- [TypeScript Handbook](https://www.typescriptlang.org/docs/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…