cc-defensive-programming
CommunityAudit defensive coding to prevent failures.
Software Engineering#input validation#error handling#defensive programming#assertions#crisis triage#barricades
Authorryanthedev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps teams enforce defensive programming best practices by auditing code against a comprehensive 24-item checklist to catch issues like empty catch blocks, unvalidated input, and incorrect assertion usage.
Core Features & Use Cases
- A 24-item defensive programming checklist that guides reviewers through input validation, error handling, and barricade design.
- Guidance on when to use assertions vs. error handling, and how to triage defects in crisis situations.
- A structured pattern reuse gate to promote consistent error-handling strategies across modules.
Quick Start
Load the cc-defensive-programming skill and run the CHECKER mode against your codebase. Review the resulting VIOLATION/WARNING/PASS statuses to identify critical issues and recommended improvements.
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: cc-defensive-programming Download link: https://github.com/ryanthedev/code-foundations/archive/main.zip#cc-defensive-programming 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.