TS CLI House Rules

Hardens a TypeScript CLI project against cross-platform and CI pitfalls with eight battle-tested rules: build-first test scripts, a portable node --test launcher, LF pinning, CRLF tolerance, POSIX process-group kills, CI-runner env stripping, quote-context substitution, and no-network fixtures. Use when scaffolding a new Node CLI tool or when an existing one only "works on my machine". Each rule prevents a real, production-observed bug.

zhengqiuyang Updated

File contents

zhengqiuyang/agent-skills/tree/main/skills/ts-cli-house-rules commit 37d2d6e792

Frequently asked questions

npx skillmds@latest add zhengqiuyang/ts-cli-house-rules