home/categories/automation-tools/moonbitlang-moonbit-agent-guide-moonbit-refactoring-skill-md
automation-toolstools

moonbit-refactoring

Refactor MoonBit code to be idiomatic: shrink public APIs, convert functions to methods, use pattern matching with views, add loop invariants, and ensure test coverage without regressions. Use when updating MoonBit packages or refactoring MoonBit APIs, modules, or tests.

moonbitlang
maintainer
moonbitlang
更新於 1/20/2026
星標
35
分支
4
quick start

Installation and usage

Refactor MoonBit code to be idiomatic: shrink public APIs, convert functions to methods, use pattern matching with views, add loop invariants, and ensure test coverage without regressions. Use when updating MoonBit packages or refactoring MoonBit APIs, modules, or tests.

安裝
$ install --globalskills.sh
使用

安裝後,您可以通過在終端運行以下命令來使用此技能:

skills use moonbit-refactoring