Skip to main content
Run any Skill in Manus
with one click

defensive-programming

Stars19
Forks6
UpdatedApril 3, 2026 at 01:21

Apply when writing code that must be hard to misuse: immutability, visibility, contracts, assertions, resource safety, and type-level invariant enforcement. Trigger on mentions of const, encapsulation, access control, defensive coding, RAII, or 'harder to misuse.' Not for security against adversarial input — use the security skill for that. Language-specific idioms are in references/.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
5 files
SKILL.md
readonly