moonbit-agent-guide
Installation
SKILL.md
Agent Workflow
For fast, reliable task execution, follow this order:
-
Clarify goal and constraints
- Confirm expected behavior, non-goals, and compatibility constraints (target backend, public API stability, performance limits).
-
Locate module/package boundaries
- Find
moon.mod.json(module root) and relevantmoon.pkg/moon.pkg.jsonfiles (package boundaries and imports).
- Find
-
Discover APIs before coding
- Prefer
moon ide docqueries to discover existing functions/types/methods before adding new code. - Use
moon ide outline,moon ide peek-def, andmoon ide find-referencesfor semantic navigation.
- Prefer
Related skills
More from pnsk-lab/hikkaku
hikkaku
Create Scratch project with TypeScript using Hikkaku; use when the user asks how to build or structure a Scratch project in this repo.
40moonbit-refactoring
Refactor MoonBit code to be idiomatic: shrink public APIs, convert functions to methods, use pattern matching with views, add loop invariants, and ensure test coverage without regressions. Use when updating MoonBit packages or refactoring MoonBit APIs, modules, or tests.
6moonbit-practice
MoonBit code generation best practices. Use when writing MoonBit code to avoid common AI mistakes with syntax, tests, and benchmarks.
5