bymoonbitlang· 5 skills
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.
$npx -y skills add moonbitlang/moonbit-agent-guide --skill moonbit-refactoringInstalls into the current project.
Run `npx skills use "https://github.com/moonbitlang/moonbit-agent-guide" --skill "moonbitlang/moonbit-agent-guide/moonbit-refactoring"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/moonbitlang/moonbit-agent-guide" that are relevant to the current task. Run `npx skills add "https://github.com/moonbitlang/moonbit-agent-guide"` and select the relevant skills, then follow their instructions.