Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Writing Motoko: language, architecture and mops v1.0.0

Use this resource to write or change a Motoko backend that follows current practice

New

  • 451 downloads
  • 156 likes
  • 115 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install motoko-backend-writing

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent writes .mo files following the skill's rules: mo:core instead of mo:base, no stable keyword in enhanced orthogonal persistence mode, contextual dot notation, mixins, the ?? operator and a layered architecture. It also uses mops commands for dependencies and checks.

Mostly picked by

Updated November 2, 2026

Card for the “Writing Motoko: language, architecture and mops” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • SKILL.md: rules to follow and modern features
  • references/project-setup.md and references/type-conversions.md: setup and type conversions
  • api-reference.md and examples.md: API reference and examples

Good fit for

  • You build a Motoko backend for the Internet Computer
  • You update code written with mo:base

Not for

    Tags

    • motoko
    • mo:core
    • internet computer
    • backend

    About

    You say

    “Write the Motoko module that manages a task list per user, with mo:core and without mo:base.”

    Card for the “Writing Motoko: language, architecture and mops” skill

    Skill published by caffeinelabs under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write or change a Motoko backend that follows current practice
    3. Review and adjust the result

    Content preview

    Files

    • api-reference.md33.4 KB
    • examples.md17.3 KB
    • LICENSE10.7 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/control-flow.md3.4 KB
    • references/equality.md4.7 KB
    • references/project-setup.md2.4 KB
    • references/reserved-keywords.md2.2 KB
    • references/type-conversions.md1.7 KB
    • SKILL.md58.5 KB

    Origin and licence

    Listed unmodified

    Author
    caffeinelabs
    Source
    github.com/caffeinelabs/skills/tree/d03174cc42ab2833293ba1cb313b7593a611a73f/skills/writing-motoko
    Licence
    Apache-2.0

    Notice

    « writing-motoko » (caffeinelabs, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.