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

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

View on Coeurdar