Skip to content

09 / 11Building and checkingDev pack

validate-type-safety

The 5-step TypeScript validation gate, types, hacks, test inclusion, tests, lint.

In the dev pack

Run the Catalyst installer to add or refresh both packs. See The skills packs for update and manual install options.

curl -fsSL https://staging.catalystcloud.dev/install.sh | sh

Then type /validate-type-safety in your coding agent, or describe the task and the agent picks the skill up.

Sourcecoalesce-labs/catalyst-dev-skills › validate-type-safety

Runs the full TypeScript validation gate. Say “validate types”, “check type safety”, or run it before a PR or after a plan phase.

Five steps, in order:

  1. the type check,
  2. a reward hacking scan (the scan-reward-hacking skill, as one step),
  3. test inclusion: changed code has accompanying tests,
  4. the tests themselves,
  5. lint.

It detects the package manager and linter itself, and checks tsconfig strictness. The point is that no single step is enough: types can be silenced, tests can be skipped, strictness can be quietly lowered. The gate covers the whole surface.

  • The moment before you call TypeScript work done.
  • As the finish line after fix-typescript.