Doc Engine, CLI pipeline for product documentation generation and publishing
Internal pivot tool for Product teams: generates 8 standardized document types (PRD, Design, DoR, DoD, Workflow, DCL, Design System) from master templates and publishes them to Confluence. 12-step pipeline with parallel collection (Confluence, Airtable, Miro, GitHub, Figma), over 1,500 template variables, automatic cascade detection between parent/child documents, and Next.js prototype linking. Optional AI agents (LangChain) with circuit breakers and fallbacks. 7 scheduled tasks (daily sync, monthly audit, weekly PR generation).
What it does
- 12-step pipeline: Parallel collection, validation, generation, HTML transform, publishing, cascade
- Multi-source: 5 parallel collectors: Confluence, Airtable, Miro, GitHub, filesystem
- Automatic cascade: When a parent document changes, impacted children are flagged and regenerated
- Integrated Design System: 3 layers (atomic/molecular/organic) with fan-in cascade detection
- Optional AI agents: LangChain + Chroma with circuit breakers and native fallbacks when LLM unavailable
- 7 scheduled tasks: Daily sync, monthly audit, automatic documentation PR generation
How it was built
~45K lines of Node.js built over ~3 months to become the pivot tool for Product teams. Many blockers resolved progressively, mostly infrastructure: needed a solid structure for internal/external document sharing per use case, Confluence permissions handling, reliable bidirectional sync. Scalable architecture: adding a new document type = 1 JSON entry + 1 template, the pipeline handles the rest.
Stack
Node.js, CommonJS, Confluence API, Airtable API, Miro API, LangChain, Chroma, Vitest, Biome, Husky
Projects
- Arkanes
Immersive theatre: the platform writes the night and runs it on its own - Coeurdar
AI Platform: innovation agency, interactive academy & experimental lab - Calibre
A CV tailored to each job offer, writing only what your background proves - VidScope
Decode any video, AI transcription + analysis in 10 seconds - Parascenium
Learn your stage part with partners who give you your cues, without sending anything online - DocNexus
Employee directory with constellation-style org chart visualization