A static type checker that catches bugs before runtime by analyzing Python type hints. You'd use this when adding type safety to existing code, building FastAPI or Django apps where types matter, or enforcing stricter guarantees in CI/CD pipelines. The skill covers gradual typing (so you can add hints incrementally), Protocol support for structural typing, and the strict mode flag for maximum safety. The examples span basics like annotating functions and collections through advanced patterns like generics and TypeVar. Honest take: mypy has a learning curve with complex types, but it pays off by turning entire classes of runtime errors into build-time failures. Works well with modern Python frameworks that already lean on type hints.
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill mypy