Entry Point 22: This document is the definitive master blueprint for setting up automated Markdown-to-MDX user manual compilation and a hardened one-way sync pipeline to downstream Mintlify repositories (e.g. linuxmalaysia/my-knowledge-brain) powering sites like harisfazillah.mintlify.site.
1. Architectural Philosophy: The Three Manuals Principle
When building documentation sites for production systems, the primary repository source of truth and the downstream public documentation repository serve distinct purposes:The Three Manuals Stratification
- User Manual (End Users / Customers): Focuses on features, getting started, workflows, how-to guides, and UI actions.
- Admin Manual (Operators / Integrators): Focuses on deployment, identity/access setup, public configuration, backup/recovery, and monitoring.
- Developer Manual (Engineers / API Users): Focuses on public SDKs, CLI utilities, webhooks, REST APIs, and extension points.
2. The Universal AI Agent Prompt
Copy the section below into any AI coding assistant (Google Antigravity, Claude Code, Cursor, GitHub Copilot Workspace, Aider) working inside any project repository:3. Related Files & Implementation References
SOURCES
- tools/build_mintlify_mdx.py: MD-to-MDX compiler and navigation generator.
- scripts/sync_docs.py: 5-Guard synchronization tool.
- .github/workflows/sync-docs.yml: GitHub Actions deployment workflow.
- .agents/skills/mintlify-docs-compiler/SKILL.md: Mintlify docs compiler skill SOP.
- Mintlify Official Documentation: Production MDX specification and component guidelines.
Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-08-23 Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0