Rustdoc-документация по стандартам библиотек

documentation

documenting-rust-code is a Claude Code skill that enforces rustdoc documentation standards for Rust code in the HASH codebase, following the quality bar set by libraries like `time`, `jiff`, and `serde`. It covers doc comments for functions, types, traits, and modules: a single-line summary opener, intra-doc links for all type references, `# Errors` sections listing each failure variant with links, `# Examples` blocks with proper error handling, and `# Arguments` sections for functions with three or more parameters. The skill ships with reference files for function, type, error, and example documentation patterns, and uses `cargo doc --no-deps --all-features` for verification. It suits Rust developers writing or reviewing public API documentation who need a consistent, project-wide rustdoc style.