validate-type-safety
Installation
SKILL.md
Validate Type Safety
Final verification gate before marking any TypeScript work complete. Combines type checking with reward hacking detection, test verification, and linting. ALL 5 steps must pass.
Tooling Detection
Before running any commands, detect the project's package manager and linting tool. Do NOT hardcode bun, npm, or trunk — detect from what's available.
Package Manager
Check for lockfiles in the project root:
| Lockfile | Package Manager | Run Command |
|---|---|---|
bun.lockb or bun.lock |
bun | bun run |
pnpm-lock.yaml |
pnpm | pnpm run |
yarn.lock |
yarn | yarn run |
package-lock.json |
npm | npm run |