fail-closed-case-matching

Community

Enforce explicit branching with named cases.

AuthorKevin-Liu-01
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Dedalus philosophy on conditional logic, error paths, and why we never write fallbacks. Use when writing or reviewing any branching logic that selects between strategies, modes, or error-recovery paths.

Core Features & Use Cases

  • Enforces explicit case matching in multi-branch logic to prevent silent fallbacks.
  • Guides code reviews and refactors to replace default or else fallbacks with named, justified branches.
  • Supports design discussions and testing strategies by requiring per-branch reasoning and tests.

Quick Start

Rewrite a conditional with a default fallback into explicit named cases with a test.

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: fail-closed-case-matching
Download link: https://github.com/Kevin-Liu-01/Agent-Machines/archive/main.zip#fail-closed-case-matching

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 471,000+ vetted skills library on demand.