What is hide-unsafe-assertions?
Use when type assertions are necessary. Use when function implementations need any. Use when hiding unsafe code. Source: marius-townhouse/effective-typescript-skills.
Use when type assertions are necessary. Use when function implementations need any. Use when hiding unsafe code.
Quickly install hide-unsafe-assertions AI skill to your development environment via command line
Source: marius-townhouse/effective-typescript-skills.
If a function needs a type assertion or any internally, that's OK - as long as the public signature is correct. Users see a well-typed API; the unsafe code is contained.
The assertion is hidden inside; callers get a clean API.
We know k in b is true, but TypeScript doesn't connect this to b[k].
Use when type assertions are necessary. Use when function implementations need any. Use when hiding unsafe code. Source: marius-townhouse/effective-typescript-skills.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill hide-unsafe-assertionsBrowse more skills from marius-townhouse/effective-typescript-skills
Use when type assertions are necessary. Use when function implementations need any. Use when hiding unsafe code. Source: marius-townhouse/effective-typescript-skills.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/marius-townhouse/effective-typescript-skills --skill hide-unsafe-assertions Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/marius-townhouse/effective-typescript-skills