Preventive Maintenance Schedule Generator: Auto-Build the Next PM Work Order When It's Due
Hold a PM plan per asset, let the tool compute which preventive maintenance is due, then a planner reviews and approves the batch before work orders and checklists go out to techs.
A web tool where you define a preventive-maintenance rule per asset, the system computes which PMs are due (and overdue), a planner reviews and approves the batch — adjusting dates and assignees — and only then are work orders released with their checklists, completion is tracked per task, and a PM compliance report plus CSV export drop out the other end.
Before you start
- A Supabase account (free)
- A Vercel account (free)
- A Resend account (free)
- A CSV of your assets with their PM frequency and task checklist, plus your tech list
- Claude Code or any AI coding agent
The problem this kills
Every asset in your building has a rhythm. The HVAC filters want changing every 90 days. The generator needs a load test every month. The fire pump, the elevators, the rooftop units, the backflow preventers — each on its own clock. Keeping all of those clocks in your head, or in a tab of a spreadsheet that only one person understands, is how PMs slip. A filter goes six months. A test gets skipped two cycles running. Then a unit fails, an auditor asks for the maintenance record, and you're reconstructing history from memory and email.
The maddening part is that preventive maintenance is the most predictable work you have. The due dates are pure arithmetic: frequency plus the last time it was done. What's missing is something that does that arithmetic for every asset at once, builds the next work order with the right checklist, shows you what's overdue, and — crucially — lets a human planner look the batch over and adjust before techs get pinged. You do not need to be a developer to build that something.
What you'll build
A simple internal web tool for your maintenance team. You define a PM rule per asset — how often it's due, and the task checklist that goes with it. The tool computes, for any period you pick, exactly which PMs are coming due and which are overdue, and drafts the next work order for each, pre-filled with its checklist and a suggested tech. Your planner opens the proposed batch, nudges dates, reassigns techs, drops anything that doesn't apply — and approves. Only then are the work orders released: techs are notified, and each tech checks off tasks as they go. When a PM is completed, the asset's clock resets and the next due date is computed automatically. Out the other end: a PM compliance report (done on time, late, missed) and a CSV export for your CMMS.
What's inside the Implementation Plan
The downloadable plan is a step-by-step file you paste into an AI coding agent. It opens by interviewing you about your business — your current PM process and who runs it, the CMMS or spreadsheet you use today, the exact way your assets are named and coded, how you express frequency (every N days, monthly, by runtime hours), your real checklists, your techs and how work gets assigned, and the messy exceptions like seasonal equipment and shutdown windows. It reads a short spec back to you for a thumbs-up, then builds the tool around your answers instead of a generic template. From there it walks the agent through the data model, the asset and PM-rule import, the due-date engine, the propose-and-approve batch screen, the human gate, the per-task completion tracking, and the compliance report and CSV export. Every step ends with a ready-to-copy prompt.
The governance it includes (this is the point)
This isn't a toy. The plan builds in the controls a real facilities function needs: login so only your team can use it, row-level security so people only see their own organization's assets and work orders, a complete audit trail of every generated, approved, edited, and completed work order (who, what, when), a hard human-approval gate so no PM work order is released until a planner signs off on the batch, and duplicate guards so the same PM can't be generated twice for the same period. The whole tool exists to make a careful human decision easy — the system drafts the schedule, a person approves it.
Who it's for
Maintenance planners, facilities managers, and building engineers who own preventive maintenance and are tired of chasing due dates across spreadsheets. If you can describe how often each asset needs servicing and what the tech should check, you can build this.
You've got this — open the plan, paste the first prompt, and you'll be generating your first approved PM batch this weekend.