typescript-conventions
Installation
SKILL.md
TypeScript coding conventions
Apply conventions from the documentation, AGENTS.md files, lint rules, and configuration of the repository containing the active file first. Then use this skill for general TypeScript guidance, including TypeScript embedded in other file formats. Combine it with more specific framework, testing, or library-focused skills when needed.
Avoid return undefined
Do not use return undefined. When exiting a function without a value, use a bare return.
if (item) {
return
}