motoko-core-code-improvements

Official

Automated Motoko core code cleanups.

Authorresearch-ag
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps teams improve readability and consistency in mo:core Motoko projects by applying mechanical, semantics-preserving cleanups without changing behavior.

Core Features & Use Cases

  • Aggregate imports into sections (mo:core, other mo:*/..., local modules) and sort each section alphabetically per file
  • Prefer dot‑notation where available in mo:core, and clean up truly unused imports with safety checks
  • Remove redundant return statements in single-expression functions and automate secure refactors
  • Provide audit checks, category guidelines, and restartable steps to ensure safe, incremental changes

Quick Start

Run the skill against your Motoko project to apply automated code-cleanup recipes (no-ops are safe and isolated per category).

Dependency Matrix

Required Modules

None required

Components

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-core-code-improvements
Download link: https://github.com/research-ag/motoko-skills/archive/main.zip#motoko-core-code-improvements

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.