typescript-conventions
Installation
SKILL.md
TypeScript coding conventions
- Apply the active file's repository documentation, AGENTS.md, lint rules, and configuration first. Use this guidance for TypeScript, including embedded TypeScript, and combine available framework, testing, or library skills when needed.
- Use Valibot for runtime validation schemas, following the project's schema organization and reusing existing contracts where applicable.
Avoid return undefined
Do not use return undefined. When exiting a function without a value, use a bare return.
if (item) {
return
}