Skip to content

07 / 11Building and checkingDev pack

fix-typescript

Fix TypeScript errors at their root cause, under strict anti-reward-hacking rules.

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 /fix-typescript in your coding agent, or describe the task and the agent picks the skill up.

Sourcecoalesce-labs/catalyst-dev-skills › fix-typescript

Fixes TypeScript errors for runtime type safety. Say “fix type errors”, “fix typescript”, “type-check is failing”, or whenever compilation errors need resolving.

Fixes root causes instead of silencing errors: no as any, no @ts-ignore, no non-null assertions to make the checker go away. The strict anti-reward-hacking rules keep the fix honest, so the types you end with actually describe the runtime.

  • A red typecheck, before anyone reaches for a cast.
  • After a merge that left the build broken.

The errors fixed at their cause. Changes that would silence the checker without fixing the safety are refused by design.