moonbit-agent-guide

Guide AI agents through MoonBit project development using moon CLI commands.

5|1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/golemcloud/moonbit-sdk --skill moonbit-agent-guide-golemcloud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moonbit-agent-guide
Source: https://github.com/golemcloud/moonbit-sdk/tree/main/.agents/skills/moonbit-agent-guide
Command: npx skills add https://github.com/golemcloud/moonbit-sdk --skill moonbit-agent-guide-golemcloud

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance for developing with the MoonBit programming language, ensuring efficient coding, reliable refactoring, and robust testing practices.

Core Features & Use Cases

  • Development Workflow: Follows a structured approach for clarifying goals, locating code, discovering APIs, and validating changes.
  • Refactoring & Testing: Employs semantic tools for safe refactoring and provides playbooks for bug fixes, refactors, and new features.
  • Project Structure & Tooling: Details MoonBit project layouts, essential moon commands, and IDE integration for navigation and refactoring.
  • Use Case: When tasked with adding a new feature to a MoonBit project, use this Skill to understand the recommended workflow, discover relevant APIs using moon ide doc, implement the feature following best practices, and validate it with moon check and moon test.

Quick Start

Use the moonbit-agent-guide skill to learn how to refactor a MoonBit function using moon ide rename.

Frequently Asked Questions about moonbit-agent-guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refactor functions safely in a MoonBit project?

Safe refactoring in MoonBit uses semantic IDE commands like `moon ide rename` to navigate code and apply structural changes accurately.

What is the recommended workflow for adding a new feature to MoonBit code?

The recommended MoonBit workflow involves clarifying goals, locating code, discovering APIs with `moon ide doc`, implementing changes, and validating with `moon check` and `moon test`.

How do I discover available APIs and documentation when programming in MoonBit?

You can discover MoonBit APIs and documentation by using the `moon ide doc` command, which provides semantic information for navigating and understanding project dependencies.

What commands are needed to validate changes in MoonBit development?

Validating MoonBit changes requires running `moon check` to verify compilation and `moon test` to execute testing methodologies, ensuring reliable project status.

Does MoonBit development require specific project layouts and conventions?

MoonBit development adheres to specific project layouts, documentation standards, and testing conventions to ensure efficient coding and reliable refactoring practices.

Can I use IDE features for semantic code navigation in MoonBit?

MoonBit supports IDE integration for semantic code navigation and operations, allowing developers to locate code and perform safe refactors directly within their development environment.