## Lesson — Perform shell-level existence checks before invoking CLI

**Tags:** performance, curated
**Pattern:** ^(npx|node|npm|pnpm|yarn|bun)\b
**Engine:** regex
**Scope:** .husky/*, .git/hooks/*
**Severity:** warning

Perform shell-level existence checks before invoking CLI.
