Skills
Skills are pre-built instruction sets that give AI coding agents specialized knowledge about M0. They provide context about the protocol, smart contracts, integration patterns, and best practices — so you can build on M0 without needing to explain everything from scratch.
What are Skills?
Skills are markdown-based instruction files that AI coding tools load as context. They contain:
- Protocol architecture and terminology
- Smart contract interfaces and addresses
- Integration patterns and code examples
- Best practices and common pitfalls
When installed, your AI assistant can help you write M0 integration code, debug contract interactions, and follow M0 conventions automatically.
Available Skills
| Skill | Description |
|---|---|
| M0 Protocol | Core protocol concepts, M token, minting/burning, TTG governance |
| Stablecoin Integration | Building with Wrapped M, extension patterns, cross-chain bridging |
Installation
Install skills directly from the CLI:
claude install-skill https://docs.m0.org
Or add manually to your project's .claude/skills/ directory.
Add M0 documentation as context in your .cursor/rules file:
@https://docs.m0.org/llms-full.txt
Cursor will use this context when answering questions about M0.
For tools that support custom instructions or system prompts, you can reference the M0 documentation:
- Use the LLMs.txt files as context
- Connect via the MCP Server for on-demand access
Usage
Once installed, you can ask your AI assistant to:
- "Create a contract that wraps M tokens"
- "How do I integrate M0 minting into my dApp?"
- "What's the correct way to call proposeMint()?"
- "Set up cross-chain M token bridging"
The assistant will use its M0 knowledge to provide accurate, context-aware code and guidance.