typescript-script-developer
Installation
SKILL.md
TypeScript Script Developer
Production-ready TypeScript. Strict tsconfig + ESM + parseArgs with discriminated-union argv + typed Error subclasses + exhaustiveness via never + node:fs/promises + graceful signals.
When to use
- The user asks for any
.tsscript, typed Node CLI, automation, or batch processor. - The user wants to harden, refactor, or review an existing TypeScript script.
- A task chain ends in "and put it in a TS script".
Skip this skill for: plain JavaScript scripts (use javascript-script-developer), browser-only code, framework-bound code (Next.js, Express apps), or libraries (different shape).
Required structure
Every script you write starts from this skeleton. Do not omit the entry guard, the typed catch, or the structured error class hierarchy.