Skip to content
←Back to Selected Work
WEB · IMPROVEMENT TOOLS•
LIVE · INVITE ONLY

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.

STATUSLive at dmaic.vonporat.com (invite only). All 37 tools built; self-testing and initial user invites
CATEGORYWeb / Improvement Tools
ROLEProduct idea, method design, specification and testing, built through AI-assisted development (Claude Code)
ARCHITECTURELocal-first web app (client-side), installable, with an optional online sign-in
PERSISTENCEProjects stay on the user's computer: browser autosave + .dmaic.json project files. Online only: sign-in and user list
STACKVite, React, TypeScript, Tailwind CSS, React Flow, pptxgenjs, Supabase, Vercel, Vitest
DMAIC Companion: “Every Lean Six Sigma tool. One guided flow.” with a wall of real tool screens: Cause & Effect Tree, Pareto, control chart, capability, Fishbone, boxplot and more

Context & Purpose

Improvement Tool

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

Local-First
Projects Never Leave Your Machine

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.

Files Are the Real Save

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.

Guidance, Not Blockers

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

Specification
RUNTIME & INTERFACEUI Layer

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.

DATA & STATISTICSDomain Engine

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.

ONLINE, TESTING & QUALITYVerification & Online

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.

DMAIC Companion on a phone: the Learn page, a control chart and a lab
Responsive architecture: Learn page, control chart, and interactive lab running on phone width

Data Model & Mechanics

Workflow Design
The Home page: the D-M-A-I-C phase band and “continue where you left off”

Three Ways In

Entry Points
1. DMAIC improvementThe full Lean Six Sigma flow, from Improvement Charter to Final report.
2. Apollo RCA12 guided steps: problem definition, evidence and timeline, Cause & Effect Tree, root causes, solutions, action plan and lessons learned.
3. Single toolJust one tool, e.g. a Fishbone, an FMEA or a capability study.

Any tool can be added to a project later without starting over.

A Cause & Effect Tree with actions, conditions, evidence codes, root causes and stop signs

Method Built In

Apollo Principles
Action & conditionEvery effect needs at least one action and one condition; root causes are conditions.
Evidence drivenEvery cause needs evidence. A cause without it is marked with a “?”.
Blame free“Don't blame people. Blame the process.”
Worked examples11 complete examples, small to large: from the Titanic and a hot-coffee burn to a full manufacturing DMAIC project with Gage R&R, ANOVA, regression, control charts and capability. One is a practice case to solve yourself first.

Labs: Change Something, See What Happens

Interactive Labs

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.

The Labs page: seven interactive labs, each with a small picture of its chart
1.

Center, spread and histograms

Drag the dots and watch the mean, median and histogram move.

2.

Sampling

Draw samples and see why bigger samples give more precise answers.

3.

Process capability

Slide the centre, the spread and the limits; watch Cp and Cpk respond.

4.

Control charts

Shift or drift the process and see when the chart notices, and by which rule.

5.

Boxplots

Three shifts as boxes, with the data points that make them.

6.

Correlation

Order size against packing time, and why correlation is not causation.

7.

Process flow

Orders flowing through a warehouse: throughput, lead time, work in progress, Little's law and the bottleneck.

The Process capability lab: a histogram against the customer's limits, with Cp and Cpk
Process capability lab: histogram against customer limits with Cp and Cpk
The Process flow lab: orders moving through Picking, Packing and Shipping, with lead time and the bottleneck
Process flow lab: orders moving through Picking, Packing and Shipping

Learn Library

Knowledge Base
The Learn page with guides, learning paths, “Which tool when?” and a glossary
  • •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

Complete Coverage
The Tool library, every tool grouped by DMAIC phase
Define7 Tools

Problem definition, Team & scope, Improvement Charter, Stakeholder analysis, Communication plan, Voice of the Customer, Define tollgate

Measure7 Tools

Evidence & timeline, SIPOC, Process map, Value Stream Map, CTQ tree, Data collection plan, MSA / Gage R&R

Analyze10 Tools

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

Improve7 Tools

Solutions, Action plan, Solution selection matrix, Poka-yoke, Minimal Viable Product (pilot), Six Thinking Hats, House of Change

Control6 Tools

Validate & sustain, Lessons learned, Control plan, Control charts (SPC), Capability before/after, Final report

Status & Future Development

Evolution

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)
←Back to All Projects