moonbit-refactoring - MoonBit Code Refactoring for Idiomatic Style
Refactor MoonBit code to be idiomatic while preserving behavior and public contracts
Tags
Updated: 2026-02-11Capabilities
Typical Inputs
Typical Outputs
What this skill does
- review package structure
- inventory public APIs
- minimize public APIs
- convert functions to methods
- use pattern matching
- add loop invariants
- update documentation
- run coverage analysis
Inputs
- MoonBit codebase
- public APIs
- test coverage data
- Moon IDE commands
Outputs
- refactored MoonBit code
- updated documentation
- test cases
- coverage reports
Requirements
- MoonBit compiler (moon)
- Moon IDE tools
- test environment
