motoko-doc-strings
Installation
SKILL.md
Motoko doc strings
Purpose
Add triple-slash (///) doc comments to every public declaration in Motoko
source files so that mo-doc renders meaningful documentation pages. This
skill captures the conventions used in mo:core (caffeinelabs/motoko-core)
and the lessons learned applying them across the motoko-bitcoin library.
When to Use
- The user asks to "add doc strings", "document the public API", or "generate docs" for a Motoko package.
- Reviewing or polishing a library before release / publication on MOPS.
- After adding new public symbols and noticing missing entries in the
generated
docs/.