Skill / SKILL.md

Rust Docs

rewrite-rs/skills

Doc comments as API contract — a one-line first sentence, module-level docs, Examples, Errors, Panics, Safety and Abort sections, doctests that actually run, intra-doc links, and Cargo package metadata and release notes. Use when writing or reviewing rustdoc comments, when a public item is undocumented, when doctests are marked ignore or fail, when magic values appear undocumented, or when the user asks how to document a Rust crate.
2 views 29 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Doc comments as API contract — a one-line first sentence, module-level docs, Examples, Errors, Panics, Safety and Abort sections, doctests that actually run, intra-doc links, and Cargo package metadata and release notes. Use when writing or reviewing rustdoc comments, when a public item is undocumented, when doctests are marked ignore or fail, when magic values appear undocumented, or when the user asks how to document a Rust crate.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/rewrite-rs/skills' skill-source

Use the complete skill-source/skills/rust/rust-docs directory with your client’s skill installer.

  • skills/rust/rust-docs

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/rust/rust-docs

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
93b225c15b7bbf6977e23cc2439aaef06611a1e2a068f2dd0fecee14a7132e5e
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills