RocketMQ-Rust is a Rust reimplementation of Apache RocketMQ, a distributed message-queue system for sending and processing messages between applications. It is for Rust developers who need messaging middleware compatible with the RocketMQ protocol.
Borrowing it
Nothing to install: this file belongs to mxsm/rocketmq-rust. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mxsm/rocketmq-rust/main/.agents/skills/rust-doc-comment-generator/SKILL.mdgit clone --depth 1 https://github.com/mxsm/rocketmq-rustWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mxsm/rocketmq-rust/rust-doc-comment-generator)<a href="https://agentmods.dev/skills/mxsm/rocketmq-rust/rust-doc-comment-generator"><img src="https://agentmods.dev/badge/skills/mxsm/rocketmq-rust/rust-doc-comment-generator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mxsm/rocketmq-rust/rust-doc-comment-generator"><img src="https://agentmods.dev/badge/skills/mxsm/rocketmq-rust/rust-doc-comment-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.00873 |
| Opus 5.5 | $0.00016 | $0.00349 |
| Sonnet 5.5 | $0.00008 | $0.00175 |
| Haiku 4.5 | $0.00004 | $0.00087 |
Grade A, and why
rust-doc-comment-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rust Documentation & Comment Generator Skill
Overview
This skill generates standard-compliant Rust comments and documentation for Rust source code. It strictly follows Rust’s official documentation guidelines and produces output suitable for production-quality open-source and enterprise Rust projects.
The generated comments are:
- Idiomatic and precise
- Free of AI-identifiable artifacts
- Fully aligned with Rustdoc conventions
- Suitable for blocking, async, and unsafe code
Standards & References
This skill MUST comply with the following authoritative sources:
- Rust API Guidelines — Documentation
https://rust-lang.github.io/api-guidelines/documentation.html - The Rustdoc Book
https://doc.rust-lang.org/rustdoc/ - Rust Style Guide
https://doc.rust-lang.org/style-guide/
Supported Targets
This skill applies to the following Rust items:
struct,enum,uniontraitimplblocksfn/async fn- Modules (
mod) unsafeblocks and functions
Comment & Documentation Rules
1. Comment Types
| Context | Format |
|---|---|
| Public item | /// Rustdoc comment |
| Module-level documentation | //! |
| Private implementation detail | // |
| Unsafe API explanation | /// # Safety |
2. Rustdoc Section Usage
Rustdoc sections MUST be included only when semantically relevant:
# Examples# Panics# Errors# Safety# Performance
Empty or boilerplate sections are not allowed.
3. Language & Tone
- Use formal, neutral, technical language
- Avoid conversational or instructional phrasing
- Avoid marketing or subjective language
- Describe behavior, constraints, and guarantees precisely
✅ Correct:
Represents the configuration used by the message consumer.
❌ Incorrect:
This struct is very useful and highly optimized.
4. Blocking vs Async Behavior
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 182 lines · 39 tokens per session scan A 76cab3e0082f
rust-doc-comment-generator is a skill published in the GitHub repository mxsm/rocketmq-rust (1,538 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 873 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
rust-doc-comment-generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rust-doc-comment-generatormxsm/rocketmq-rust | Skill | 1.5k | today | Apache-2.0 | A | 39 | Claude Code, Codex |
| rust-engineerJeffallan/claude-skills | Skill | 12k | 7d ago | MIT | A | 120 | Claude Code |
| azure-eventhub-rustmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 58 | Claude Code |
| apollo-router-plugin-creatorclidey/whodb | Skill | 5.0k | yesterday | Apache-2.0 | A | 116 | Claude Code |
| azure-eventhub-rustbenjaminasterA/antigravity-awesome-skills | Skill | 461 | yesterday | MIT | A | 0 | Claude Code, Codex |
| rust-gatewayBerriAI/litellm | Skill | 63k | yesterday | none | A | 70 | Claude Code, Codex |
| axumTerminalSkills/skills | Skill | 192 | yesterday | Apache-2.0 | A | 94 | Claude Code, Codex |