doc-rigor-verify

Write and verify Rust documentation against actual code.

1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/ahrav/Gossip-rs --skill doc-rigor-verify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-rigor-verify
Source: https://github.com/ahrav/Gossip-rs/tree/main/.claude/skills/doc-rigor-verify
Command: npx skills add https://github.com/ahrav/Gossip-rs --skill doc-rigor-verify

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation and verification of code documentation, ensuring that your documentation is not only comprehensive but also accurately reflects the current state of your codebase, preventing common documentation drift and errors.

Core Features & Use Cases

  • Automated Documentation Writing: Generates and improves documentation for Rust code using an AI writer.
  • Automated Documentation Verification: Independently verifies that all claims in the documentation are factually correct against the code.
  • Agent Isolation: Enforces a strict separation between the writing and verification agents to eliminate confirmation bias.
  • Use Case: After updating a complex Rust module, run this Skill to have an AI write detailed documentation and then have a separate AI verify every statement against the code, ensuring accuracy before merging.

Quick Start

Run the doc-rigor-verify skill on all recently changed Rust files.

Frequently Asked Questions about doc-rigor-verify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Rust documentation verification against the actual code?

Automated Rust documentation verification uses an AI agent to check that all statements in your docs factually match the codebase. It independently reviews generated documentation to prevent drift and ensure accuracy before merging.

What is the best way to prevent documentation drift in Rust projects?

Preventing documentation drift in Rust projects requires an automated pipeline that writes and verifies code docs in one pass. By enforcing agent isolation between writing and checking, it eliminates confirmation bias and keeps docs aligned with code.

How do I generate and verify Rust code docs in one pass?

Generating and verifying Rust code docs in one pass involves orchestrating an end-to-end pipeline. A doc-rigor agent writes or improves documentation for specified files, followed by a separate doc-verify agent checking the output against the actual code.

Can I use an AI agent to write and check documentation for specific Rust files?

Yes, you can use an AI agent to write and check documentation for specific Rust files. The pipeline handles file scope resolution to target recently changed modules and presents a combined report of documentation changes and verification findings.

Why use separate AI agents for writing and verifying code documentation?

Using separate AI agents for writing and verifying code documentation enforces strict agent isolation. This separation eliminates confirmation bias, ensuring the verification agent rigorously and independently checks the generated docs against the actual codebase.

Does automated documentation verification work for recently changed Rust files?

Automated documentation verification works for recently changed Rust files by resolving file scope and running targeted checks. You can run the pipeline on updated modules to automatically generate accurate documentation and verify it before merging.