moonbitlangmoonbitlangOfficialยท2 Agent Skills Included

moonbit-agent-guide

Write, refactor, test, and verify MoonBit code correctly

Guides coding agents through MoonBit project structure, tooling, testing, and idiomatic refactoring. Covers C library bindings via native FFI, OCaml-to-MoonBit migration, and proof-carrying verified code. Eliminates common pitfalls like wrong string handling, broken ownership annotations, and silent memory bugs. Helps agents produce correct, tested MoonBit code faster with built-in checklists and validation commands.
npx skills add moonbitlang/moonbit-agent-guide --all -g -y

All Skills in This Repository (2)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install moonbit-agent-guide?โ–ผ

Run `npx skills add moonbitlang/moonbit-agent-guide --all -g -y` in your terminal to install all MoonBit skills globally.

What does the MoonBit agent guide cover?โ–ผ

It teaches agents MoonBit project layout, the moon toolchain, testing conventions, refactoring patterns, C FFI bindings, OCaml migration, and proof-carrying code.

How to bind C libraries to MoonBit?โ–ผ

The moonbit-c-binding skill walks through extern declarations, ownership annotations, callback trampolines, and AddressSanitizer validation step by step.

Can I migrate OCaml code to MoonBit automatically?โ–ผ

Yes. The ocaml2moonbit-migration skill maps OCaml types, strings, and exceptions to idiomatic MoonBit with behavior-preserving tests.

Does it work with Claude Code and Codex?โ–ผ

Yes. All skills follow the standard SKILL.md format and work in Claude Code, Codex CLI, Cursor, and other compatible coding agents.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’