motoko-dot-notation-migration
OfficialMigrate Motoko calls to dot notation effortlessly
Authorresearch-ag
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Converts Motoko core function calls from a self-first parameter style to dot notation to streamline and modernize codebases using mo:core.
Core Features & Use Cases
- Converts zero-argument self functions such as Module.func(self) to self.func()
- Converts multi-argument self function calls while preserving type parameters and nested expressions
- Respects operator precedence and type-parameter angle-bracket depth to avoid breaking code
- Applicable when migrating from mo:base to mo:core or upgrading core versions, and when you want to modernize Motoko call syntax
Quick Start
Process a Motoko project with mo:core to migrate relevant self-first function calls to dot notation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: motoko-dot-notation-migration Download link: https://github.com/research-ag/motoko-skills/archive/main.zip#motoko-dot-notation-migration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.