Skip to main content

defensive-programming

Type safety practices including exhaustive checks, explicit return types, Result-based error handling, and non-mutating array methods. Use when writing TypeScript logic that handles multiple cases or error conditions, or when sorting, reversing, splicing, or replacing an element (indexed assignment) in an array you did not create.

Jump to install

Source facts

Repository
trezor/trezor-suite
Last source activity
August 24, 2026 at 11:32
Detected SKILL.md language
English
Stars
1,032
Forks
376

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.