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