Invariant First Coding

Reason from proven invariants before coding. Use when reviewing fallback logic, narrowing types, handling conversions, deciding whether an error path is real or impossible, removing overdefensive code, or when the user questions whether code is being too theatrical, too hedged, or not fail-closed enough.

kevin-liu-01 55a9fc6 7.3 KB Updated

File contents

kevin-liu-01/agent-machines/tree/main/knowledge/skills/invariant-first-coding commit 55a9fc66cb

Frequently asked questions

npx skillmds@latest add kevin-liu-01/invariant-first-coding