Auto-updated mdBook documentation for AI coding assistants — works with 33+ tools via the Agent Skills standard (SKILL.md)
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-22 06:19:23 +00:00
.github/workflows feat: mdBook AI skill with auto-updated guide references 2026-04-09 01:44:17 +01:00
references docs: update references from mdBook guide 9431c82 2026-10-22 06:19:23 +00:00
scripts fix: align skill with Agent Skills spec and reduce update noise 2026-09-05 23:55:25 +01:00
.gitignore fix: align skill with Agent Skills spec and reduce update noise 2026-09-05 23:55:25 +01:00
install.sh feat: mdBook AI skill with auto-updated guide references 2026-04-09 01:44:17 +01:00
README.md fix: align skill with Agent Skills spec and reduce update noise 2026-09-05 23:55:25 +01:00
SKILL.md fix: align skill with Agent Skills spec and reduce update noise 2026-09-05 23:55:25 +01:00

mdBook AI Skill

Auto-updated mdBook documentation for AI coding assistants.

Uses the open Agent Skills standard (SKILL.md). Works with 33+ AI coding assistants including Claude Code, Cursor, Windsurf, GitHub Copilot, OpenAI Codex, Gemini CLI, Amp, OpenCode, Cline, Aider, Goose, Roo Code, and many more.

References are auto-generated daily from the official mdBook guide via GitHub Actions.

Install

Quick start

# Claude Code (global)
git clone https://github.com/marceloeatworld/mdbook-ai-skill.git ~/.claude/skills/mdbook

# Cursor
git clone https://github.com/marceloeatworld/mdbook-ai-skill.git .cursor/skills/mdbook

# Windsurf
git clone https://github.com/marceloeatworld/mdbook-ai-skill.git .windsurf/skills/mdbook

# Cross-agent standard
git clone https://github.com/marceloeatworld/mdbook-ai-skill.git .agents/skills/mdbook

With the install script

curl -fsSL https://raw.githubusercontent.com/marceloeatworld/mdbook-ai-skill/main/install.sh | bash -s -- --claude
curl -fsSL https://raw.githubusercontent.com/marceloeatworld/mdbook-ai-skill/main/install.sh | bash -s -- --cursor

Run ./install.sh --help for all options.

Update

git -C <install-path> pull

What it covers

Category Topics
Getting Started Installation, creating a book, reading books
CLI init, build, watch, serve, test, clean, completions
Book Format SUMMARY.md syntax, Markdown extensions, mdBook-specific features, MathJax
Configuration book.toml (general, preprocessors, renderers, environment variables)
Theme Custom themes, index.hbs, syntax highlighting, editor integration
For Developers Writing preprocessors, writing backends (Rust API)
Deployment GitHub Actions, GitLab CI, GitHub Pages

How it works

The SKILL.md maps topics to reference files. The references/ directory contains the full unmodified guide from the mdBook repository.

A GitHub Actions workflow runs daily to keep references in sync.

Structure

mdbook-ai-skill/
├── SKILL.md                              # Topic -> reference routing table
├── install.sh                            # Multi-tool install script
├── scripts/
│   └── generate-references.sh            # Fetches guide and generates references
├── .github/workflows/
│   └── update-references.yml             # Daily auto-update
└── references/                           # Auto-generated from mdBook guide
    ├── .wiki-version                     # Source commit tracker
    ├── cli.md                            # All CLI commands
    ├── configuration.md                  # book.toml reference
    ├── summary-format.md                 # SUMMARY.md syntax
    ├── theme.md                          # Theme customization
    └── ...

Credits

  • mdBook by the Rust team and contributors