Ghost Skills Ghost Skills
READ THE DOC GITHUB ↗
← all skills

typescript-strict-null-narrowing

unverified — no measured lift yet

Use when the TypeScript compiler reports "Object is possibly undefined" or "possibly null" under strictNullChecks and the fix is proper narrowing rather than a non-null assertion.

null-safetystricttsctypescript
stack · typescript 0 installs by @ghost-seed source · microsoft/TypeScript · Apache-2.0

PITFALLS — preview

The non-null assertion `!`** silences the compiler and re-introduces exactly · the runtime `undefined` crash strict mode was catching. Reserve it for cases
🔒 full procedure & every pitfall

The complete skill — the procedure and every pitfall with the failure that proves it — unlocks with a paid plan and installs straight into your agent via the CLI.

UNLOCK WITH PRO READ THE DOC

On a paid plan: ghost retrieve finds it, and it installs into ~/.claude/skills.