/dev-agents:mdbook-tech-writerfrom dev-agents
Write, structure, and maintain high-quality technical documentation using mdBook. Covers project setup, SUMMARY.md structure, chapters, API references, tutorials, architecture docs, and user/developer guides.
Ships in dev-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.Assess the project before writing:
///), existing markdown files.Output: .local/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:
```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 | When to use |
|---|---|
| Getting Started | Installation, first steps, quick wins |
| Concept/Guide | Explaining how/why something works |
| Tutorial | Step-by-step hands-on walkthrough |
| API Reference | Per-module or per-type documentation |
| Architecture | System design, internals, decisions |
| Operations | Deployment, config, monitoring, troubleshooting |
| Changelog | Version history following Keep a Changelog |
Every chapter follows this skeleton:
# Chapter Title
One paragraph: what the reader will learn and why it matters to them.
## Prerequisites (if any)
## [Main content sections, each building on the previous]
## What's Next
One sentence pointing to the next chapter, framed as what the reader will learn to do.
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:
What SKILL.md sets; muted values are Claude Code's defaults
"mdbook", "documentation", "write docs", "technical writing", "book.toml", "SUMMARY.md", "chapter", "tutorial", "API reference", "architecture doc", "user guide", "developer guide".
Three short reads, in order
mdbook, technical-writing, documentation, rust-docs, docs-as-code
npx claudepluginhub bug-ops/claude-plugins --plugin dev-agents21 skills in this plugin
/agent-handoffHandoff protocol for the dev-agents multi-agent system. Subagents communicate via Markdown+frontmatter files in .local/handoff/. ALWAYS read on agent startup./arch-inspectArchitecture and code quality audit protocol for Rust, TypeScript, and Luau/Lua projects. Activates expert knowledge across type safety, modularity, testability, readability, DRY, async concurrency, error-handling design, API stability, observability, and lint/manifest hygiene, with language checklists from the stack profile. Called by arch-analyst at startup via Skill(...); invoked directly as /arch-inspect [focus] it delegates the audit to a background arch-analyst./continuous-improvementOther plugins' skills for the same job