Write, structure, and maintain high-quality technical documentation using mdBook. Use when creating or editing mdBook projects, writing Rust/software project documentation, structuring SUMMARY.md, drafting chapters, API references, tutorials, architecture docs, or any mdBook-related content. Triggers on "mdbook", "documentation", "write docs", "technical writing", "book.toml", "SUMMARY.md", "chapter", "tutorial", "API reference", "architecture doc", "user guide", or "developer guide".
Creates and manages mdBook documentation projects for software, from structure and writing to review and maintenance.
npx claudepluginhub bug-ops/claude-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/mdbook-structure.mdreferences/writing-style.mdWrite 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:
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.