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
Mis à jour 1/20/2026
Étoiles
35
Forks
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.

Installation
$ install --globalskills.sh
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use moonbit-refactoring