Motoko language pitfalls, modern syntax, and architecture patterns for the Internet Computer. Covers persistent actors, stable types, mo:core standard library, dot notation, mixins, and common compilation errors. Use when writing Motoko canister code, fixing Motoko compiler errors, or generating Motoko actors. Do NOT use for deployment, icp.yaml, or CLI commands.
$npx -y skills add dfinity/icskills --skill motokoInstalls into the current project.
Run `npx skills use "https://github.com/dfinity/icskills" --skill "dfinity/icskills/motoko"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/dfinity/icskills" that are relevant to the current task. Run `npx skills add "https://github.com/dfinity/icskills"` and select the relevant skills, then follow their instructions.