# Typescript Style

> TypeScript Style

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

---

# TypeScript Style

- Prefer `const` for values that are never reassigned.
- Use `interface` for public object shapes, `type` for unions and primitives.
- Never use `any` in public function signatures; use `unknown` and narrow.
- Avoid default exports in library code.
- Use `import type { Foo } from 'bar'` for type-only imports.

