/moonbit-skills:moonbit-spec-test-developmentfrom moonbit-skills
Creates formal spec-driven MoonBit APIs and test suites with spec.mbt, type-checked tests, and module scaffolding for contract-first workflows.
Ships in moonbit-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Define a formal API contract in <pkg>_spec.mbt, write type-checked tests against it, and scaffold a minimal MoonBit module so moon check passes before implementation work begins.
moon new (preferred for new projects)moon new, fall back to the moon.mod.json and moon.pkg.json templates.<pkg>_spec.mbt)#declaration_only for all types/functions that will be implemented later.#declaration_only must still have a body: { ... }.pub(all) for types you need to construct in tests; keep pub for opaque types.<pkg>_easy_test.mbt, <pkg>_mid_test.mbt, and <pkg>_difficult_test.mbt (or similar) in the same package.@json.inspect(...) for complex values.moon check to confirm the spec + tests type-check.moon test only after some implementations existreferences/templates.md for scaffolding and file templates.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/make-moonbit-c-bindingsGuides agents through complete, maintainable MoonBit bindings for C/C++ libraries, from upstream source survey through vendoring, safe API design, documentation tests, and ASan validation. Use when creating or hardening MoonBit native FFI bindings, wrapping C APIs, vendoring C sources into native-stub, or turning a C library into a MoonBit package./moonbit-agent-guideGuide for writing, refactoring, and testing MoonBit projects, including exclusive use of `.mbtx` for agent-authored automation. Use when working in MoonBit modules or packages, organizing MoonBit files, using moon tooling (build/check/run/test/doc/ide etc.), or following MoonBit-specific layout, scripting, documentation, and testing conventions./npx claudepluginhub moonbitlang/skills --plugin moonbit-skillsOther plugins' skills for the same job