LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

moonbit-refactoring - MoonBit Code Refactoring for Idiomatic Style

Refactor MoonBit code to be idiomatic while preserving behavior and public contracts

Tags

Updated: 2026-02-11

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • review package structure
  • inventory public APIs
  • minimize public APIs
  • convert functions to methods
  • use pattern matching
  • add loop invariants
  • update documentation
  • run coverage analysis

Inputs

  • MoonBit codebase
  • public APIs
  • test coverage data
  • Moon IDE commands

Outputs

  • refactored MoonBit code
  • updated documentation
  • test cases
  • coverage reports

Requirements

  • MoonBit compiler (moon)
  • Moon IDE tools
  • test environment

Source

  • Spec: SKILL.md
code-refactoring
moonbit
static-analysis
code-quality
developer-tools
review package structure
inventory public APIs
minimize public APIs
convert functions to methods
MoonBit codebase
public APIs
test coverage data
refactored MoonBit code
updated documentation
test cases