Use when maintaining the moonbitlang/moonbit-docs repository, including Sphinx docs under next/, MoonBit examples under next/sources/, error-code documentation, gettext translations, or the moonbit-tour web app.
Use when maintaining the moonbitlang/moonbit-docs repository, including Sphinx docs under next/, MoonBit examples under next/sources/, error-code documentation, gettext translations, or the moonbit-tour web app.
This skill routes to focused references and validation commands for repo maintenance work.
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Prefer just recipes and uv-managed Python dependencies when available. Do not create ad-hoc virtualenvs unless the task explicitly requires one or uv is unavailable.
just i18n: runs gettext extraction and catalog sync for zh_CN.
just i18n ja: runs the i18n flow for another locale.
just docs-html: builds the default Sphinx docs.
just docs-html-zh: builds the Chinese Sphinx docs.
just docs-html-ja: builds the Japanese Sphinx docs.
just check-docs: checks non-error-code MoonBit examples under
next/sources/.
just check-errors: checks all error-code docs examples under
next/sources/error_codes/.
just check-error 0001: checks one four-digit error code.
If just is unavailable, use the task-specific fallback in the relevant reference. Example checks fall back to Python scripts; Sphinx and i18n tasks fall back to manual cd next commands.
General Rules
Do not edit generated output such as next/_build/, moonbit-tour/dist/, or
dependency directories.
Keep examples runnable. When documentation references code in next/sources/,
update docs and examples together.
Avoid broad moon fmt runs in next/sources/; format only touched files when
formatting is necessary.
Preserve existing bilingual structure where it exists.
Prefer functional style for new MoonBit code, and keep changes small.
Use conventional commit messages if asked to commit; this is a repo-wide rule