mirror of
https://github.com/marceloeatworld/mdbook-ai-skill.git
synced 2026-10-27 20:11:10 +00:00
Auto-updated mdBook documentation for AI coding assistants — works with 33+ tools via the Agent Skills standard (SKILL.md)
agent-skills
ai
ai-coding-assistant
claude-code
cursor
documentation
github-copilot
markdown
mdbook
rust
skill-md
windsurf
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| references | ||
| scripts | ||
| .gitignore | ||
| install.sh | ||
| README.md | ||
| SKILL.md | ||
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