Rustdoc Library Documentation

SkillDocs & knowledge

Write and review Rust library documentation with rustdoc module docs, public API examples, doctests, examples directories, missing-docs gates, docs.rs readiness, and user-first crate narratives. Use when documenting a Rust crate, improving docs before publishing, or turning examples into tested rustdoc.

Use Rustdoc Library Documentation in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Rustdoc Library Documentation and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Rustdoc Library Documentation skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Rustdoc Library DocumentationStart free

What this skill tells your AI

The instructions your AI receives, as published by hashgraph-online/awesome-codex-plugins in plugins/LVTD-LLC/skills/skills/rustdoc-library-documentation/SKILL.md and read by Ahel’s review.

Use this skill to make Rust library documentation executable, navigable, and useful to downstream crate consumers.

Core Workflow

  1. Start from the consumer's first task, not from internal module order.
  2. Add crate-level and module-level docs that explain purpose and boundaries.
  3. Document public types, functions, errors, features, and invariants.
  4. Prefer short compiling examples and doctests for core APIs.
  5. Put longer scenarios in examples/ and reference them from docs.
  6. Run docs and doctests before publishing.

Read Next

TaskLoad
Document a public crate APIguidelines.md, workflows/document-library.md
Add doctests or examplesreferences/rustdoc-patterns.md
Prepare docs for publishingreferences/rustdoc-patterns.md

Source Notes

Guidance is transformed and paraphrased from Herbert Wolverson, Advanced Hands-On Rust, especially Chapter 4 on documenting a library and Chapter 15 on sharing crates. Examples are original skeletons.

Signals

GitHub stars
1k
Forks
316
Last commit
Oct 2026
Advanced
Item type
skill
Key
rustdoc-library-documentation
Source
github.com/hashgraph-online/awesome-codex-plugins