coding-guidelines-typescript
Installation
SKILL.md
TypeScript Coding Guidelines
Typing
No any. No non-null assertions (!) unless the reason is documented in the
code. Prefer explicit return types on all exported functions. Use generics over
unknown casts.
// ❌
function parse(data: any): any { ... }
// ✅
function parse<T>(data: unknown): T { ... }
Interfaces and abstract classes
Define contracts explicitly. Use interface for pure shapes, abstract class
Related skills
More from bmsuisse/skills
autoresearch
>
15codeunit-analyzer
>
14deslop
>
14coding-guidelines-python
>
13init-app-stack
Use this skill whenever the user wants to bootstrap, scaffold, or initialize a new full-stack app with a Vite + React + TanStack + shadcn/ui frontend and a FastAPI + Postgres backend. Triggers on requests like "create a new app", "set up a project", "scaffold a full-stack app", "init a new project", or anything involving starting a fresh React/FastAPI application from scratch.
12databricks-sql-autotuner
>
12