{
  "name": "motoko-commandments",
  "title": "Motoko Commandments",
  "category": "Motoko",
  "summary": "The ground rules for writing modern Motoko, each pointing to the skill with the details.",
  "keywords": [
    "ground rules",
    "rules",
    "best practices",
    "coding standards",
    "conventions",
    "style guide",
    "Motoko 2.0",
    "moc 2",
    "modern Motoko",
    "checklist"
  ],
  "description": "The ground rules for writing Motoko on the Internet Computer: Motoko 2.0 syntax, small modules instead of monoliths, invariants in types, state from the migration chain, independent verification of every migration, authorization, Result-based errors and the mops toolchain, each pointing to the skill with the details. Load at the start of any Motoko work, migrations included, next to the skill for the task, or when asked for Motoko rules, standards or best practices. Do NOT use it instead of that skill for a specific API or compiler error (writing-motoko), the steps of a migration (migrating-motoko-actors), or a design review of existing code (reviewing-motoko).",
  "license": "Apache-2.0",
  "compatibility": "moc >= 2.0.0, mops >= 3.0.0",
  "updated": "2026-12-04T14:58:54.000Z",
  "urls": {
    "html": "https://skills.internetcomputer.org/skills/motoko-commandments/",
    "markdown": "https://skills.internetcomputer.org/.well-known/agent-skills/motoko-commandments/SKILL.md",
    "json": "https://skills.internetcomputer.org/api/skills/motoko-commandments.json",
    "source": "https://github.com/dfinity/icskills/blob/61dd7f9dc54d3d521b895ae13de0a64347f39e03/skills/motoko-commandments/SKILL.md"
  },
  "publisher": {
    "name": "DFINITY Foundation",
    "url": "https://dfinity.org"
  },
  "canonicalRepo": {
    "name": "dfinity/icskills",
    "url": "https://github.com/dfinity/icskills"
  }
}
