defensive-coding
CommunityBuild robust, safe code with layered validation.
Software Engineering#security#validation#observability#reliability#coding#input-validation#defensive
Authorcyarie
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Defensive coding makes bugs structurally impossible rather than temporarily fixed. The core principle: validate at every layer data passes through, and instrument for observability so failures are diagnosable. A bug isn't fixed until it's impossible.
Core Features & Use Cases
- Layered validation across entry points, business logic, environment guards, and observability
- Clear exception handling with context propagation
- Structured logging and tracing for diagnosability
- Guards against dangerous operations and unsafe contexts
Quick Start
Instrument multi-layer validation and observability in your module to prevent defects.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: defensive-coding Download link: https://github.com/cyarie/cyarie-claude-plugin/archive/main.zip#defensive-coding Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.