What problem does it solve?
This Skill addresses the risk of unsafe generic type usage in Sui Move modules by providing a structured analysis workflow that identifies misused type parameters, phantom type misuse, and One-Time Witness (OTW) handling weaknesses during module initialization and currency-related logic.
Core Features & Use Cases
- Generic function inventory across modules to surface all type parameters.
- Constraint analysis to detect under- or over-constrained type parameters and their practical implications.
- Phantom type correctness checks to ensure phantom params do not affect runtime behavior.
- Witness pattern audit and OTW verification to prevent forgery or misuse of one-time authorities.
- Coin/Balance type safety review to maintain strict type distinctions and accounting integrity.
Quick Start
Review the Sui Move modules for type-parameter misuse and OTW handling to begin a safety assessment.