Defensive Patterns

Defensive-programming patterns to apply when writing or reviewing lifecycle, concurrency, subprocess, teardown, error-reporting, or untrusted-IO code. Use when a change touches async setup or teardown, callbacks, spawned processes, workers, event listeners, disposal, error aggregation, temp files, or anything receiving untrusted input — and when reviewing a PR that touches any of those.

arch3rPro Updated 5 repo stars

File contents

arch3rPro/dsh-skills commit 8a672b3af6

Frequently asked questions

npx get-skill add arch3rpro/defensive-patterns