void-box: Skill for Claude Code

.claude/skills/rustdoc/SKILL.md

rustdoc is a skill for Claude Code from the-void-ia/void-box. It costs 35 tokens per session (811 once invoked), scanned A, original, Apache-2.0.

A style guide for documentation comments on public Rust code. RFC 1574 is a Rust documentation standard covering summaries, headings, type references, and examples.

In plain words
What is it for?
Use it when writing or reviewing `///` comments for public Rust functions, types, modules, or other items.
Why use it?
It keeps public Rust documentation consistent and easier to read. It also prevents common issues such as missing summary sentences or incorrectly named sections.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is the-void-ia/void-box's own configuration. It tells Claude Code how to work on void-box itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything void-box configures →

Reuse

Borrowing it

Nothing to install: this file belongs to the-void-ia/void-box. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/the-void-ia/void-box/main/.claude/skills/rustdoc/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/the-void-ia/void-box

Made for: Claude Code.

Wrote 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.

agentmods badge for rustdoc

README.md
[![agentmods](https://agentmods.dev/badge/skills/the-void-ia/void-box/rustdoc/github.svg)](https://agentmods.dev/skills/the-void-ia/void-box/rustdoc)
Your own site
<a href="https://agentmods.dev/skills/the-void-ia/void-box/rustdoc"><img src="https://agentmods.dev/badge/skills/the-void-ia/void-box/rustdoc/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.

agentmods 80×15 button for rustdoc

Your own site · 80×15
<a href="https://agentmods.dev/skills/the-void-ia/void-box/rustdoc"><img src="https://agentmods.dev/badge/skills/the-void-ia/void-box/rustdoc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00811
Opus 5.5 $0.00014 $0.00324
Sonnet 5.5 $0.00007 $0.00162
Haiku 4.5 $0.00003 $0.00081

Measured 2mo ago against content hash fedc824541d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rustdoc 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.

.claude/skills/rustdoc/SKILL.md · 186 lines

How it starts

The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rust Documentation Conventions (RFC 1574)

Apply these rules when writing doc comments (///) on public Rust items.

Summary Sentence

Every doc comment starts with a single-line summary sentence.

// DO: third person singular present indicative, ends with period
/// Returns the length of the string.
/// Creates a new instance with default settings.
/// Parses the input and returns the result.

// DON'T: imperative, missing period, or verbose
/// Return the length of the string
/// This function creates a new instance with default settings.
/// Use this to parse the input and get the result back.

Comment Style

Use line comments, not block comments.

// DO
/// Summary sentence here.
///
/// More details if needed.

// DON'T
/**
 * Summary sentence here.
 *
 * More details if needed.
 */

Use //! only for crate-level and module-level docs at the top of the file.

Section Headings

Use these exact headings (always plural):

/// Summary sentence.
///
/// # Examples
///
/// # Panics
///
/// # Errors
///
/// # Safety
///
/// # Aborts
///
/// # Undefined Behavior
// DO
/// # Examples

// DON'T
/// # Example
/// ## Examples
/// **Examples:**

Type References

Use full generic forms and link with reference-style markdown.

// DO
/// Returns [`Option<T>`] if the value exists.
///
/// [`Option<T>`]: std::option::Option

// DON'T
/// Returns `Option` if the value exists.
/// Returns an optional value.

Examples

Every public item should have examples showing usage.

/// Adds two numbers together.
///
/// # Examples
///
/// ```
/// let result = my_crate::add(2, 3);
/// assert_eq!(result, 5);
/// ```
pub fn add(a: i32, b: i32) -> i32 {
    a + b
}

For multiple patterns:

/// Parses a string into a number.
///
/// # Examples
///
/// Basic usage:
///
/// ```
/// let n: i32 = my_crate::parse("42").unwrap();
/// assert_eq!(n, 42);
/// ```
///
/// Handling errors:
///
/// ```
/// let result = my_crate::parse::<i32>("not a number");
/// assert!(result.is_err());
/// ```

Read the full file on GitHub · 186 lines

Changes

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.

  1. 2mo ago First seen · 186 lines · 35 tokens per session scan A fedc824541d7

Subscribe to this mod's changes

rustdoc is a skill published in the GitHub repository the-void-ia/void-box (89 stars, last pushed 4d ago), licensed Apache-2.0. It adds 35 tokens to every session and 811 once invoked, about $0.0001 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.

Related

rustdoc compared with skills from other repositories

rustdoc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rustdocthe-void-ia/void-boxSkill894d agoApache-2.0A35Claude Code
dd-code-generationDataDog/pupSkill1.0kyesterdayApache-2.0A16Claude Code
opentelemetry-net-instrumentationAaronontheweb/dotnet-skillsSkill1.3k9d agoMITA56Claude Code
otel-goollygarden/opentelemetry-agent-skillsSkill125yesterdayApache-2.0A130Claude Code
golang-observabilityseaworld008/Commonly-used-high-value-skillsSkill742d agoMITA20Claude Code, Codex
otel-javaollygarden/opentelemetry-agent-skillsSkill125yesterdayApache-2.0A127Claude Code
otel-dotnetollygarden/opentelemetry-agent-skillsSkill125yesterdayApache-2.0A187Claude Code