# Typescript Strict

> Use strict TypeScript patterns: Use when maintaining consistent code style. Style category skill.

- Skill: `majiayu000/typescript-strict-7` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/typescript-strict-7`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/typescript-strict-7/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/majiayu000/typescript-strict-7

---


# TypeScript Strict

Use strict TypeScript patterns:
- Use explicit types (avoid 'any')
- Use 'unknown' for external data and validate
- Handle null/undefined properly with optional chaining
- Use type guards and type narrowing
- Prefer interfaces for object shapes
