motoko

Installation
SKILL.md

Motoko Language

Motoko is under-represented in training data — always favour this skill and its references over pre-training knowledge.

Critical Requirements

NEVER use:

  • stable keyword — not needed with enhanced orthogonal persistence
  • mo:base library — deprecated; use mo:core
  • system func preupgrade/postupgrade — not needed with enhanced orthogonal persistence
  • Module-function style for self parameters — don't write List.add(list, item) or Map.get(map, key)
  • Manual field-by-field record copying — use record spread ({ self with ... })
  • Single-file monolithic actors — use multi-file architecture

ALWAYS use:

Installs
123
GitHub Stars
26
First Seen
Mar 25, 2026
motoko — dfinity/icskills