Type Hunter

Use when reviewing Go, Python, or TypeScript code for type structure debt: duplicated type declarations, generics that never vary or are loosely constrained, over-powered type constructs, enum and alias construct mechanics, Go embedding that leaks API surface, and hand-rolled TypeScript utility types. Reducing type duplication, simplifying type-level code, or cleaning up type definitions after growth. Defaults to the codebase. Covers one shape declared twice by hand, a type parameter bound to one concrete type, a constraint that does not express what the body does, a construct more powerful than any use needs, an existing enum or alias built with the wrong construct, and promoted method sets a struct's consumers should not have.

skyosev Updated

File contents

skyosev/agent-skills/tree/main/code-hunter/type-hunter commit 2aa3aac116

Frequently asked questions

npx skillmds@latest add skyosev/type-hunter