cc-defensive-programming

Community

Audit defensive coding to prevent failures.

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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.