📚 Read the Book Online | PMAT GitHub Repository
Official comprehensive documentation for PMAT (PAIML MCP Agent Toolkit) - Zero-configuration AI context generation with extreme quality enforcement.
This book is the official user-facing documentation for PMAT, featuring 28 chapters with TDD-validated examples, real-world tutorials, and complete command reference. For technical/architectural documentation, see the PMAT repository docs/.
This book provides comprehensive documentation for PMAT, covering:
- Installation and setup
- Core concepts and analysis capabilities
- MCP (Model Context Protocol) integration
- Technical Debt Grading (TDG) system
- Code similarity detection
- Real-world usage examples
- Advanced features and optimization
- Rust and Cargo (for installing mdBook)
- Git
# Clone the repository
git clone https://github.com/paiml/pmat-book.git
cd pmat-book
# Install git hooks (RECOMMENDED to prevent 404 issues)
bash scripts/install-hooks.sh
# Install dependencies
make install-deps
# Build the book
make build
# Serve locally (opens in browser)
make serveThe book will be available at http://localhost:3000
Important: The git hook warns you about unpushed commits that would cause the live book at https://paiml.github.io/pmat-book/ to be out of date. Always push your commits after committing!
make help # Show all available commands
make build # Build the book
make serve # Serve with auto-reload
make clean # Remove build artifacts
make validate # Run quality checks
make test # Test code examples (when implemented)src/
├── SUMMARY.md # Table of contents
├── title-page.md # Title page
├── foreword.md # Foreword
├── introduction.md # Introduction
├── ch01-*.md # Installation and setup
├── ch02-*.md # Core concepts
├── ch03-*.md # MCP integration
├── ch04-*.md # Advanced features
├── ch05-*.md # CLI mastery
├── ch06-*.md # Real-world examples
├── ch07-*.md # Architecture patterns
├── ch08-*.md # Performance and scale
├── appendix-*.md # Reference materials
└── conclusion.md # Conclusion
Contributions are welcome! Please ensure:
- All code examples are tested and working
- Chapter status blocks are updated
- Run
make validatebefore submitting
The book is currently in active development. Chapters marked as "✅ Working" are production-ready.
MIT License - See LICENSE file for details