typescript

Introduce strict null checks and safe type guards in a module.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sreejithraman/shayna --skill typescript-sreejithraman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript
Source: https://github.com/sreejithraman/shayna/tree/main/.claude/skills/typescript
Command: npx skills add https://github.com/sreejithraman/shayna --skill typescript-sreejithraman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Weak typing and loose guards lead to runtime errors. This Skill promotes type safety, descriptive generics, and clear interfaces to improve maintainability.

Core Features & Use Cases

  • Type Safety: unknown over any, guarded converters
  • Generics: descriptive, constrained generics
  • Types & Interfaces: prefer interfaces for objects, unions for types
  • Use Case: Introduce strict null checks and safe type guards in a module.

Quick Start

Define an interface, a function with a generic return type, and a type guard to narrow inputs.