mops-cli

Installation
SKILL.md

Mops CLI

Opinionated guide for Motoko projects. Covers project config, dependency management, type-checking, building, and linting.

Key Principles

  1. No dfx — always pin moc in [toolchain]. Use the newest moc version. Pin pocket-ic too if you have replica tests or benchmarks (otherwise mops test --mode replica, mops bench, and mops watch fall back to the deprecated dfx replica and print a warning).
  2. No mo:base — it is deprecated. Always use mo:core (import Array "mo:core/Array").
  3. All config in mops.toml — canisters, moc flags, toolchain versions, build settings.
  4. Canister-centric workflow — define all canisters in [canisters]; never pass file paths to mops check. Exception: library packages (no [canisters]) use file paths directly: mops check src/**/*.mo.

Project Setup

Minimal mops.toml

Installs
42
GitHub Stars
26
First Seen
May 10, 2026
mops-cli — dfinity/icskills