DMAIC Companion
A guided web app for Lean Six Sigma improvement work and Apollo root cause analysis. It teaches the method while you use it, with guides, interactive labs and gentle checks, and replaces PowerPoint and Excel/Minitab templates with guided workflows that end in a PowerPoint report.

Context & Purpose
Learning by Building
As a Lean Six Sigma Green Belt learning the Apollo root cause analysis method, my course material came as slide decks and Excel templates: good for reading, slow for doing.
I wanted a tool that walks through the method step by step and explains why each step exists.
From One Method to a Toolbox
It started as the Apollo RCA Guide: 12 guided steps from problem definition to lessons learned, structured by DMAIC.
It grew into DMAIC Companion: full DMAIC improvement projects, Apollo RCAs and single Lean Six Sigma tools in one format. Then it became a place to learn, with a library of 50 guides and seven hands-on labs.
Personal Project
An ongoing personal project and learning vehicle, not a commercial product or SaaS.
Built without a formal coding background: I write the requirements, test every step, and let an AI coding assistant write the code under a written method guide and strict working rules. Since October 2026 it is online for invited test users.
Local-First Principles
Improvement work often holds confidential information, so project data is never sent to a server, not even when the app runs online. The server only knows who may sign in (names, e-mails, roles), feedback messages and which tools are released. On a laptop the app also runs fully offline, without sign-in.
Every change is autosaved in the browser as a safety net. The real save is a versioned .dmaic.json project file that can be kept, backed up and shared. Older files, including the original RCA files, still open.
Every tool checks the input against the method (for example, “this looks like a cause; describe only what happened”) and explains why. The user can always continue.
Complete Technology Architecture
React 19 & Vite 8
Declarative interface, fast local builds.
TypeScript 7 (Strict)
Typed models for all 37 tools, statistics, file schema and migrations.
Tailwind CSS 4 & 12 Themes
From calm "Cream paper" to a vonporat.com theme with the site's own fonts; colour meanings (action, condition, root cause) are the same in every theme.
React Flow, Installable App, Phone Layout
Interactive charts (Cause & Effect Tree, Fishbone, Value Stream Map…) with full-screen mode; installs as an app; usable on a phone.
One JSON Object per Project
Schema version and backward-compatible migrations on open.
Modular Tool Registry
Every project is a list of tools, so any project can grow.
Statistics in Plain TypeScript
Mean, standard deviation, histograms, normal/t/F distributions, normality test. No maths library.
Quality & Process Control
Capability (Cp/Cpk), control charts, hypothesis tests and ANOVA, regression and Gage R&R. No Minitab needed. Data is pasted straight from Excel.
Vercel + Supabase
Hosted at dmaic.vonporat.com; invite-only sign-in with e-mail invites, user/admin roles, and an Admin panel for people, tool release and feedback. Tight database rules: each user can only read their own profile.
Vitest (678 Tests in 79 Files)
Including checks that every worked example passes every tool's checklist, and that every guide and glossary term is consistent.
Oxlint & PowerPoint Export
Fast code checks; client-side PowerPoint report (pptxgenjs) for every project type.

Data Model & Mechanics

Three Ways In
Entry PointsAny tool can be added to a project later without starting over.

Method Built In
Apollo PrinciplesLabs: Change Something, See What Happens
Learn is for reading; Labs is for trying. Seven interactive experiments with the charts and numbers of improvement work. Drag a data point, change the process, draw a new sample, and watch the chart and the numbers respond. Each lab has five challenges: guess what will happen, try it, then see why it happened and what it means in a project. The data is made up, so nothing touches your projects.

Center, spread and histograms
Drag the dots and watch the mean, median and histogram move.
Sampling
Draw samples and see why bigger samples give more precise answers.
Process capability
Slide the centre, the spread and the limits; watch Cp and Cpk respond.
Control charts
Shift or drift the process and see when the chart notices, and by which rule.
Boxplots
Three shifts as boxes, with the data points that make them.
Correlation
Order size against packing time, and why correlation is not causation.
Process flow
Orders flowing through a warehouse: throughput, lead time, work in progress, Little's law and the bottleneck.


Learn Library

- •50 guides: one per tool, plus The method (DMAIC, Apollo principles, actions and conditions, roles, which project to choose) and Statistics basics. Each guide: what it is, when to use it, how to do it, common mistakes and a short quiz.
- •Four learning paths, “Which tool when?” and a glossary of about 300 terms.
- •Linked both ways:every step's help panel links to its guide; guides link to the matching labs.
- •All guides as one PDF: a printable book with cover and contents.
37 Tools Across the DMAIC Framework

Problem definition, Team & scope, Improvement Charter, Stakeholder analysis, Communication plan, Voice of the Customer, Define tollgate
Evidence & timeline, SIPOC, Process map, Value Stream Map, CTQ tree, Data collection plan, MSA / Gage R&R
Analysis tools (5 Whys, Fishbone, Pareto), Cause & Effect Tree, Root causes, Basic statistics & histogram, Boxplot & stratification, Scatter plot & correlation, Hypothesis tests, Regression, FMEA, Affinity diagram
Solutions, Action plan, Solution selection matrix, Poka-yoke, Minimal Viable Product (pilot), Six Thinking Hats, House of Change
Validate & sustain, Lessons learned, Control plan, Control charts (SPC), Capability before/after, Final report
Status & Future Development
Completed (Current State)
- Apollo RCA Guide v1: 12 guided steps, worked examples and PowerPoint export
- DMAIC Companion: All 37 tools built, no placeholders left; report and PowerPoint export for every project type
- Learn library: 50 guides, learning paths, glossary and a printable PDF book
- Labs: Seven interactive labs with five challenges each
- Online: Live at dmaic.vonporat.com with invite-only sign-in, roles, an Admin panel, tool release and in-app feedback
- 11 worked examples, 12 colour themes, installable, usable on a phone
Roadmap (Next)
- Full self-test of the app with the written test guide
- Inviting initial test users and collecting feedback
- PowerPoint export for all users (admin-only online until verified)
- Phone layout, the next steps
- Swedish translation (all interface text is already kept in one place)