LogoClawIndex
CasesSkillsAbout
LogoClawIndex

api-doc-comments - Guide for writing Rust doc comments for contract APIs

Guide for writing Rust doc comments that produce accurate generated contract documentation when editing schema-facing types.

Tags

Updated: 2026-09-12

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Document schema-facing Rust types
  • Explain protocol semantics and preconditions
  • Document encoded representations explicitly
  • Provide domain examples in comments

Inputs

  • Rust source code with schema-facing types

Outputs

  • Updated Rust doc comments
  • Generated contract documentation

Requirements

  • Rust codebase

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
rust
doc-comments
contract-documentation
api-documentation
axone
Document schema-facing Rust types
Explain protocol semantics and preconditions
Document encoded representations explicitly
Provide domain examples in comments
Rust source code with schema-facing types
Updated Rust doc comments
Generated contract documentation