Skip to content
cccskills

Results for “defensive-programming”

2 skills · sorted by relevance

Apply the fail-early (fail-fast) pattern to detect and report errors at the earliest possible point. Covers input validation with guard clauses, meaningful error messages, assertion functions, and anti-patterns that silently swallow failures. Primary examples in R with general/polyglot guidance. Use when writing functions that accept external input, adding input validation before CRAN submission, refactoring code that silently produces wrong results, reviewing PRs for error-handling quality, or hardening internal APIs against invalid arguments.

The English summary is being prepared. Showing the original description.

pjt222/agent-almanac42Updated Oct 15, 2026

Detect null/undefined/empty handling gaps where callers or consumers may receive unexpected nullish values.

The English summary is being prepared. Showing the original description.

s977043/river-review7Updated Oct 19, 2026