Fix Types

Audit code for loose types that allow semantically invalid values to compile. Introduces newtypes, checked casts, enums over booleans, and documents wire/DB discriminant contracts. Use when writing structs with bare primitives, reviewing database or protocol code, or when a function takes 2+ parameters of the same type.

kevin-liu-01 feb4ca3 3.9 KB Updated

File contents

kevin-liu-01/agent-machines/tree/main/knowledge/skills/fix-types commit feb4ca327d

Frequently asked questions

npx skillmds@latest add kevin-liu-01/fix-types