moonbit-refactoring
CommunityRefactor MoonBit to lean, idiomatic APIs.
Authorf4ah6o
Version1.0.0
Installs0
System Documentation
What problem does it solve?
MoonBit refactoring aims to reduce surface area and improve maintainability by converting free functions to methods, adopting pattern matching with views, and enforcing consistent architecture across packages while preserving public contracts.
Core Features & Use Cases
- Minimize public API surface while preserving behavior.
- Convert functions to methods and apply fluent chaining where beneficial.
- Use view types (ArrayView/StringView/BytesView) to minimize copies.
- Split large files and packages to improve readability and testing.
- Update tests and docs alongside refactors.
Quick Start
Run the MoonBit refactor workflow on a target package to begin a safe modernization pass.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: moonbit-refactoring Download link: https://github.com/f4ah6o/http11.mbt/archive/main.zip#moonbit-refactoring Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.