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.
$npx -y skills add kevin-liu-01/agent-machines --skill fix-typesInstalls into the current project.
Run `npx skills use "https://github.com/kevin-liu-01/agent-machines" --skill "kevin-liu-01/agent-machines/fix-types"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/kevin-liu-01/agent-machines" that are relevant to the current task. Run `npx skills add "https://github.com/kevin-liu-01/agent-machines"` and select the relevant skills, then follow their instructions.