Invariant Guard

Correctness-first: forces writing the function contract, loop invariant, termination argument, and edge cases BEFORE code. Catches Boyer-Moore, leftmost binary search, QuickSelect traps.

thedixitjain b310f81 17.8 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/writing-and-content/invariant-guard commit b310f8162d

Frequently asked questions

npx skillmds add thedixitjain/invariant-guard