Agent skill

Moonbit Practice

by mizchi in mizchi/skills

MoonBit code generation and packaging best practices. An agent skill from mizchi/skills.

No licenceAuto-check passed

Install Moonbit Practice

skills CLI
$ npx skills add mizchi/skills --skill moonbit-practice -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mizchi/skills moonbit-practice --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mizchi/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/moonbit-practice .claude/skills/moonbit-practice && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
moonbit-practice
GitHub stars
356
Token cost
~7.8k tokens
SKILL.md length
2,772 words
Files
19 (incl. assets)
Skills in repo
69
Repo updated
First seen
Licence
None found

At a glance

MoonBit code generation and packaging best practices. An agent skill from mizchi/skills.

  • Works in 2 steps: v0.10.0 — add fn to the trait method and… → v0.10.4 — add an extend declaration for…
  • Writing MoonBit code to avoid common AI mistakes with syntax
  • SKILL.md covers Guidelines, Common Pitfalls, Common Syntax Mistakes by AI and Snapshot Tests, plus 13 more sections
  • Calls pnpm and npm; reaches mooncakes.io; needs NPM_TOKEN

What it does

Moonbit Practice is an agent skill from mizchi/skills. MoonBit code generation and packaging best practices. Use when writing MoonBit code to avoid common AI mistakes with syntax, tests, and benchmarks, or when defining and publishing a Wasm executable with SKILL.md for the MoonBit Skills Marketplace.

Its SKILL.md is about 7.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including assets (for example `README.md`, `assets/ci-nix.yaml` and `assets/ci.yaml`).

It works with WebAssembly. The repository describes itself as: Agent skills by mizchi, distributed via APM.

When your agent uses it

  • Writing MoonBit code to avoid common AI mistakes with syntax
  • Defining and publishing a Wasm executable with SKILL.md for the MoonBit Skills Marketplace

Example prompts

  • “/moonbit-practice”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. v0.10.0 — add fn to the trait method and the impl.
  2. v0.10.4 — add an extend declaration for every trait method that callers

What it can do on your machine

Read from SKILL.md and the folder at commit 62f5808. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mooncakes.io

    Also links to:

    • docs.moonbitlang.com
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • NPM_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Moonbit Practice loads about 7.8k tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 2,772 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~7.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 2,772 words (~7,835 tokens).

“Best practices for AI when generating MoonBit code. If you don't understand something here, use moonbit-docs skill to search the official documentation.”

— opening of SKILL.md by mizchi
name
moonbit-practice

Read the full SKILL.md on GitHub

Files

SKILL.md and 18 other files (assets) in moonbit-practice of mizchi/skills.

  • SKILL.md
  • README.md
  • assets/ci-nix.yaml
  • assets/ci.yaml
  • assets/moon.mod
  • assets/moon.pkg
  • assets/publish-to-npm.yaml
  • reference/configuration.md
  • reference/ffi-native.md
  • reference/ffi.md
  • reference/ide.md
  • reference/language.md
  • reference/mbtx.md
  • reference/nix.md
  • reference/performance.md
  • reference/refactor.md
  • reference/skills-marketplace.md
  • reference/stdlib.md
  • reference/testing.md

Open the folder on GitHubat commit 62f5808

Compare with similar skills

Moonbit Practice next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Moonbit Practice compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Moonbit Practice this skillmizchi/skills356—~7.8kAutomated safety check: PassNone
RuView CLI, API and WASMruvnet/RuView97k—~1.2kAutomated safety check: NotesMIT
Nginx To Higress Migrationhigress-group/higress9.5k—~3.9kAutomated safety check: PassApache-2.0
Update V86felixrieseberg/windows9524k—~1.7kAutomated safety check: PassCustom licence
Dotlottie WebLottieFiles/dotlottie-web892—~3.5kAutomated safety check: PassMIT
Adding Internal API RouteTriliumNext/Trilium38k—~3.3kAutomated safety check: PassAGPL-3.0

Similar skills

  • Covers the RuView `wifi-densepose` command line binary, its Axum REST API and the WebAssembly builds for browsers and ESP32, for embedding or scripting RuView.

    97k GitHub stars~1.2k tokensUpdated today
    Backend & APIsAuto-check: notes
  • Nginx To Higress Migration

    higress-group/higress

    Migrate from ingress-nginx to Higress in Kubernetes environments.

    9.5k GitHub stars~3.9k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Update V86

    felixrieseberg/windows95

    Build and install v86 (wasm + libv86.js + BIOS) into windows95.

    24k GitHub stars~1.7k tokensUpdated 27 days ago
    Testing & QAAuto-check passed
  • Dotlottie Web

    LottieFiles/dotlottie-web

    Implement Lottie animations using dotLottie runtimes (@lottiefiles/dotlottie-web and @lottiefiles/dotlottie-react).

    892 GitHub stars~3.5k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Adding Internal API Route

    TriliumNext/Trilium

    A skill your agent uses when adding, moving, or wiring an internal REST endpoint in Trilium (a new /api/ route) — choosing between a core-shared handler (packages/trilium-core/src/routes/index.ts…

    38k GitHub stars~3.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Client Request Signature Reversal

    awarexone/Agentic-Bug-Hunter

    Recovers a client-side request signature or anti-bot token just far enough to replay blocked requests in bug bounty testing, starting from a captured packet.

    5.3k GitHub stars~4.7k tokensUpdated 3 days ago
    SecurityAuto-check passed

More from mizchi/skills

All 69 skills in this repo
  • Publish Agent Skill

    mizchi/skills

    Package, publish, verify and update an agent skill through a Claude Code plugin marketplace, APM or the npx skills CLI.

    356 GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • AI Index

    mizchi/skills

    Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English.

    356 GitHub stars~3.6k tokensUpdated 6 days ago
    Auto-check passed
  • Cloudflare Deploy

    mizchi/skills

    Deploy applications and infrastructure to Cloudflare with the cf CLI and typed cloudflare.config.ts.

    356 GitHub stars~2.9k tokensUpdated 6 days ago
    Auto-check: notes
  • Review Image

    mizchi/skills

    Review screenshots or other images with OpenRouter vision models via bundled Deno scripts.

    356 GitHub stars~1.3k tokensUpdated 6 days ago
    Auto-check passed
  • Post-generation safety checks for sqlc-gen-moonbit + Cloudflare D1.

    356 GitHub stars~995 tokensUpdated 6 days ago
    Auto-check passed
  • Apm Usage

    mizchi/skills

    Reference for APM (Agent Package Manager) — apm.yml syntax, install / uninstall / update commands, target detection, lockfile workflow.

    356 GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed

Works with

Questions about Moonbit Practice

What does Moonbit Practice do?

MoonBit code generation and packaging best practices. An agent skill from mizchi/skills. Moonbit Practice is an agent skill from mizchi/skills. MoonBit code generation and packaging best practices.

When should I use Moonbit Practice?

Moonbit Practice fits situations like: writing MoonBit code to avoid common AI mistakes with syntax; defining and publishing a Wasm executable with SKILL.md for the MoonBit Skills Marketplace.

How do I install Moonbit Practice in Claude Code?

Run `npx skills add mizchi/skills --skill moonbit-practice -a claude-code`. Or copy the skill folder (moonbit-practice in mizchi/skills) into .claude/skills/moonbit-practice in your project. Claude Code loads it when a task matches its description.

How do I install Moonbit Practice in Codex?

Run `npx skills add mizchi/skills --skill moonbit-practice -a codex`. Or copy the skill folder (moonbit-practice in mizchi/skills) into .agents/skills/moonbit-practice in your project. Codex loads it when a task matches its description.

Can I use Moonbit Practice in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mizchi/skills --skill moonbit-practice -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/moonbit-practice, .gemini/skills/moonbit-practice, .github/skills/moonbit-practice and .opencode/skills/moonbit-practice in your project.

What does Moonbit Practice need to run?

Going by SKILL.md and its folder, Moonbit Practice needs the command-line tools its instructions call (pnpm and npm) and credentials named NPM_TOKEN.

Does Moonbit Practice access the network?

SKILL.md names 3 domains. In commands or code: mooncakes.io; the agent is likely to contact it when it follows the instructions. As links in the text: docs.moonbitlang.com and github.com. This is read from the text; nothing was executed.

Is Moonbit Practice safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Moonbit Practice use?

No licence was found for Moonbit Practice or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Moonbit Practice use?

About 7.8k tokens (SKILL.md is roughly 31k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Moonbit Practice?

Skills that share tags, products or a category with Moonbit Practice: RuView CLI, API and WASM (ruvnet/RuView, 97k stars), Nginx To Higress Migration (higress-group/higress, 9.5k stars), Update V86 (felixrieseberg/windows95, 24k stars) and Dotlottie Web (LottieFiles/dotlottie-web, 892 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Moonbit Practice?

mizchi (a GitHub user) maintains it in mizchi/skills, which has 356 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on October 2, 2026.

Source: mizchi/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.