Help us improve
Share bugs, ideas, or general feedback.
From rust-agents
Structures and writes mdBook technical documentation for Rust/software projects: SUMMARY.md, book.toml, chapters, API references, tutorials, architecture docs.
npx claudepluginhub bug-ops/claude-plugins --plugin rust-agentsHow this skill is triggered — by the user, by Claude, or both
Slash command
/rust-agents:mdbook-tech-writerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Write professional technical documentation for software projects using mdBook.
Drafts READMEs, API docs, tutorials, release notes, and reviews technical docs for clarity and structure. Activates on docs/ .md files and READMEs.
Guides writing technical documentation including README files, API docs, user guides, and inline code documentation. Provides templates and best practices for clear, scannable docs.
Provides templates and best practices for README files, API documentation, user guides, changelogs, inline code comments, and architecture docs.
Share bugs, ideas, or general feedback.
Write professional technical documentation for software projects using mdBook. This skill covers the full lifecycle: planning, structuring, writing, reviewing, and maintaining docs.
references/mdbook-structure.md for mdBook conventions, book.toml config, and SUMMARY.md patterns.references/writing-style.md for technical writing rules and Rust ecosystem conventions.templates/ as starting points for different chapter types.Assess the project before writing:
///), existing markdown files.Output: a docs-plan.md with audience matrix and chapter list.
Create the mdBook project structure:
docs/
├── book.toml
├── src/
│ ├── SUMMARY.md
│ ├── introduction.md
│ ├── getting-started/
│ │ ├── installation.md
│ │ ├── quick-start.md
│ │ └── configuration.md
│ ├── guides/
│ │ ├── basic-usage.md
│ │ └── advanced-usage.md
│ ├── architecture/
│ │ ├── overview.md
│ │ ├── design-decisions.md
│ │ └── internals.md
│ ├── api-reference/
│ │ └── (module-per-file)
│ ├── operations/
│ │ ├── deployment.md
│ │ ├── monitoring.md
│ │ └── troubleshooting.md
│ ├── contributing.md
│ └── changelog.md
└── theme/ (optional customizations)
Rules for SUMMARY.md:
# Part Title- prefix for all entries, not *Rules for book.toml:
[book] title, authors, description, language[output.html.search] for searchability[output.html] git-repository-url for "edit this page" links[build] build-dir if CI/CD needs itFor each chapter, follow this process:
templates/ matching the chapter type.```rust, ```toml, etc.)# prefix for hidden lines in Rust examples (mdBook convention)mdbook test)[text](../path/file.md#anchor).After writing, perform these checks:
mdbook build and fix all warnings.mdbook test to verify Rust code examples compile.| Type | Template | When to use |
|---|---|---|
| Getting Started | templates/getting-started.md | Installation, first steps, quick wins |
| Concept/Guide | templates/guide.md | Explaining how/why something works |
| Tutorial | templates/tutorial.md | Step-by-step hands-on walkthrough |
| API Reference | templates/api-reference.md | Per-module or per-type documentation |
| Architecture | templates/architecture.md | System design, internals, decisions |
| Operations | templates/operations.md | Deployment, config, monitoring, troubleshooting |
| Changelog | templates/changelog.md | Version history following Keep a Changelog |
Full details in references/writing-style.md. Key rules:
{{#include}} — include code from actual source files to keep examples in sync{{#rustdoc_include}} — include Rust code with line range from source# in Rust blocks to hide boilerplate{{#playground}} — embed Rust Playground links for interactive examplesmdbook-mermaid for diagrams, mdbook-toc for auto TOC, mdbook-admonish for calloutsBefore marking a chapter complete:
For large documentation projects: