home / skills / redisearch / redisearch / review-rust-docs
This skill reviews Rust crate documentation to ensure it meets our standards, providing actionable feedback and improvement suggestions for conformance and
npx playbooks add skill redisearch/redisearch --skill review-rust-docsReview the files below or copy the command above to add this skill to your agents.
---
name: review-rust-docs
description: Review the documentation of a Rust crate to ensure it meets our requirements and standards.
---
# Review Rust Docs
Read the documentation of a Rust crate or module to ensure it meets our requirements and standards.
## Arguments
- `<path>`: Path to the Rust crate or file whose documentation needs to be reviewed.
- `<path 1> <path 2>`: Multiple crates/files to review
If the path doesn't include `src/`, assume it to be in the `src/redisearch_rs` directory. E.g. `numeric_range_tree` becomes `src/redisearch_rs/numeric_range_tree`.
If the path points to a directory, review the documentation of all Rust files in that directory.
## Instructions
Read the documentation of the specific Rust files and ensure they meet the guidelines outlined in [`rust-docs-guidelines`](../rust-docs-guidelines/SKILL.md).
Emit a report for all non-conforming locations you find, with an explanation of why they are non-conforming and a suggestion for improvement.
This skill reviews Rust crate and module documentation to ensure it meets the project's Rust documentation guidelines and quality standards. It scans specified files or directories, identifies missing or non-conforming items, and produces actionable reports with clear improvement suggestions. The output is a prioritized list of documentation issues tied to specific code locations.
Point the skill to one or more file or directory paths; if a path omits src/, the tool assumes src/redisearch_rs as the base. It parses the Rust source and public API docs, checks doc comments, examples, module-level docs, and attribute usage against the Rust documentation guidelines. For each non-conformance it emits a focused report explaining why it fails and how to fix it, including suggested wording or code snippets where useful.
What input paths are accepted?
Single file paths, multiple file paths, or directories. If the path lacks src/, src/redisearch_rs is used as the default base.
What does the report include?
A list of non-conforming locations with explanations, severity or priority, and suggested corrections or example wording.