Manufacturing Prompt: Downtime Log to Shift Pareto Summary
Turn a shift downtime log into totals by cause, a ranked Pareto, availability math and a handoff summary, with each missing cause or fix flagged as a question.
Prompt
Act as a plant production analyst who turns a shift downtime log into a Pareto summary an oncoming supervisor can act on. You total minutes by cause exactly as the log records them, rank the causes, calculate availability only from the planned production time you are given, and flag every event whose cause or fix was not written down. You never state a root cause the log does not state, and you never suggest lockout, safety or process-parameter steps; those belong to the plant's own procedures. Inputs: - Line or cell and shift: [Line and Shift] - Planned production time in minutes, breaks already removed: [Planned Minutes] - Downtime log entries with start, stop, cause code and operator note: [Downtime Log] - Cause codes and what each means at this plant: [Cause Codes] - Open maintenance or quality tickets: [Open Tickets] - What the oncoming shift needs to know first: [Handoff Focus] Generate: 1. Downtime table from [Downtime Log]: each event with minutes (stop minus start), cause code and note, then a total in minutes. 2. Pareto of causes: minutes, share of total downtime and cumulative share, ranked from largest to smallest, using only the codes in [Cause Codes]. 3. Availability for [Line and Shift]: planned minutes minus total downtime, divided by [Planned Minutes], with the arithmetic shown. 4. Shift summary of five sentences or fewer for the oncoming supervisor, ordered by [Handoff Focus]. 5. Open questions: events with no cause, no recorded fix or an unclear stop time, and who on the shift could answer each. 6. Handoff list tied to [Open Tickets], with no new actions the log does not support.
Instructions
Paste the log exactly as written, including entries that look messy; the prompt flags what it cannot total instead of fixing it. Give it your plant's own cause codes, or the Pareto will use whatever categories the model prefers. Check the arithmetic on one or two rows before you hand the summary on. Variation: run it for a week by pasting five shifts, then ask for the Pareto per shift and for the whole week side by side. Variation: add part counts and ideal cycle time to a second pass if you track performance, and keep counts you did not record out of it. Tip: ask the oncoming supervisor which question on the list they would answer first, and reorder your Handoff Focus next time. Decisions about restarting equipment, lockout and safety belong to your maintenance and safety procedures, not to this summary. Not affiliated with any equipment maker, quality registrar or plant-software vendor.
Generated Output
This image was generated using the prompt above.

Examples
Example Input
Line and Shift: Press 4 (injection molding cell), second shift, Tuesday. Planned Minutes: 450 (8-hour shift minus a 30-minute break). Downtime Log: 14:12 to 14:31, Changeover, waiting on the next mold from the tool crib. 15:40 to 15:52, Material, hopper ran out of resin. 16:55 to 17:38, Equipment, hot runner zone 3 temperature fault. Maintenance replaced a thermocouple per their note. 18:20 to 18:35, Quality hold, waiting for first-article signoff. 19:50 to 20:03, Equipment, robot pick fault. Operator cleared it. No cause written. 20:45 to 21:10, Material, resin dryer had not finished. Resin ran out again. 21:30 to 21:38, Quality hold, QC re-checked a sample. Cause Codes: Changeover = tool or mold swap time; Material = resin or inserts not at the press; Equipment = any machine fault; Quality hold = production waiting on QC. Open Tickets: Maintenance ticket MT-2291 for the zone 3 thermocouple (closed, waiting for a day-shift check). Quality ticket QT-118 for the second re-check (open). Handoff Focus: whether the press is safe to keep running on zone 3, and the resin shortage.
Example Output
PRESS 4, SECOND SHIFT: DOWNTIME SUMMARY 1. DOWNTIME TABLE (minutes = stop minus start) 14:12-14:31 | 19 | Changeover | waiting on next mold from tool crib 15:40-15:52 | 12 | Material | hopper ran out of resin 16:55-17:38 | 43 | Equipment | hot runner zone 3 temperature fault, thermocouple replaced by maintenance 18:20-18:35 | 15 | Quality hold | waiting for first-article signoff 19:50-20:03 | 13 | Equipment | robot pick fault, cleared by operator, no cause written 20:45-21:10 | 25 | Material | resin dryer had not finished, resin ran out again 21:30-21:38 | 8 | Quality hold | QC re-checked a sample Total downtime: 135 minutes 2. PARETO Equipment | 56 min | 41.5% | cumulative 41.5% Material | 37 min | 27.4% | cumulative 68.9% Quality hold | 23 min | 17.0% | cumulative 85.9% Changeover | 19 min | 14.1% | cumulative 100.0% 3. AVAILABILITY (450 - 135) / 450 = 315 / 450 = 70.0% 4. SHIFT SUMMARY Press 4 lost 135 of 450 planned minutes (70.0% availability). Equipment was the largest cause at 56 minutes, mostly the 43-minute zone 3 hot runner fault; maintenance replaced a thermocouple under MT-2291. Material caused 37 minutes: the hopper ran out of resin twice, and the second time the log says the dryer had not finished. Quality holds added 23 minutes, and QT-118 is still open. 5. OPEN QUESTIONS - 19:50 robot pick fault: no cause written. Ask the Press 4 operator what cleared it and whether it has happened before this week. - 20:45 resin dryer: the log says it had not finished, but not why. Ask the material handler or the person who loaded the dryer. - 21:30 QC re-check: the log does not say what sample was re-checked or the result. Ask the QC tech on QT-118. 6. HANDOFF LIST - MT-2291 (zone 3 thermocouple): closed, day shift check still pending. The log does not say whether the press is cleared to run on zone 3 without watching it, so ask maintenance before assuming. - QT-118: open. Oncoming shift should get the status from QC. - Resin: two stockouts in one shift. The log does not show how much resin is staged for the next shift; confirm with the material handler.