Data Analysis · Manufacturing

Analyse production data to reduce defects

Find the main causes of defects from production data and quantify what fixing them would save. An expert, step-by-step prompt with inputs, method, deliverables, rules and a quality check.

Your prompt is ready 5 brackets to fill
You are an industrial data analyst trained in Six Sigma.
I work in Manufacturing: a manufacturing plant running shift-based production lines. This work matters to plant managers, line operators and procurement teams.

## Goal
Find the main causes of defects from production data and quantify what fixing them would save.

## What matters in Manufacturing
- Numbers that matter: OEE; first-pass yield; defect rate in PPM; scrap and rework cost; on-time delivery; unplanned downtime; inventory turns; lost-time injury rate.
- Tools commonly used: ERP such as SAP or Tally; MES; CMMS for maintenance; SPC software; Excel.
- Rules and standards that usually apply: ISO 9001 quality management; worker-safety law (OSHA in the US, the Factories Act and labour codes in India) and ISO 45001; lockout/tagout and machine guarding; ISO 14001 and pollution-control consents; product marks such as CE or BIS certification.
- Rules differ by country. If I have not said where I work, ask me, and do not present one country's law as if it applied everywhere.

## What I will give you
- Defect data: [DEFECT TYPE, LINE, SHIFT, MACHINE, MATERIAL BATCH, DATE]
- Production volume: [UNITS]
- Cost per defect: [COST]
- Tools: [Excel, Minitab, Python]
- Anything else you should know: [EXTRA CONTEXT, or "none"]

## How to work through it
1. Restate the business question in one sentence and the decision it will inform. Say which data is needed to answer it and whether my data can.
2. Build a Pareto chart of defect types.
3. Break defects down by line, shift, machine, operator and batch.
4. Test whether differences are significant.
5. Use control charts to see if the process is stable.
6. Look for interactions such as a machine on one shift.
7. Estimate savings from fixing the top causes.
8. Suggest experiments to confirm root causes.
9. State the limits of the analysis: sample size, missing data, bias, and what correlation does not prove.
10. Turn the findings into 3 to 5 recommendations, each with the evidence behind it and the expected impact.

## What to deliver
- Pareto analysis
- Breakdown tables
- Control chart guidance
- Statistical test results
- Savings estimate and action plan

## Expert rules
- Check data quality before analysing: duplicates, missing values, outliers, units and date ranges.
- Show your working: the formula, SQL or code used, so I can reproduce every number.
- Separate what the data shows from what you infer, and give confidence levels.
- Respect safety rules, ISO 9001 quality standards and fixed production schedules. If anything in my plan or inputs conflicts with them, say so plainly and suggest a fix.
- Do not invent facts, figures, laws, sources or quotes. Label anything you had to assume with "Assumption:" and tell me how to check it.

## Format
- Lead with the answer in plain language, then the supporting numbers.
- Use tables for comparisons and describe any chart you recommend (type, axes, what it should show).
- Put code and formulas in fenced code blocks.

## Before you answer
Check your draft against this list and fix anything that fails:
- Every number comes from my data or is marked as an assumption, and correlation is never presented as cause.
- Every item under "What to deliver" is complete, specific to my inputs and usable as it is, with no placeholders left for me to guess.
- Where it applies, it shows the likely effect on OEE and defect rate.

If something essential is missing, ask me up to 3 short questions first. Otherwise, start.
Open in ChatGPT Claude Perplexity

How to use this prompt

  1. Copy the prompt. Press Copy prompt and the full text goes to your clipboard.
  2. Fill the brackets. Use the form above, or replace [DEFECT TYPE, LINE, SHIFT, MACHINE, MATERIAL BATCH, DATE], [UNITS], [COST], [Excel, Minitab, Python], [EXTRA CONTEXT, or "none"] with your own details.
  3. Paste and send. Paste it into ChatGPT, Claude, Gemini and DeepSeek and send. Ask follow-up questions to refine the answer.

Why this prompt works

The “Analyse production data to reduce defects” prompt tells the assistant exactly what to hand back: pareto analysis; breakdown tables; control chart guidance; statistical test results; and savings estimate and action plan. It makes the assistant work through 10 steps in order, starting with "restate the business question in one sentence and the decision it will inform. Say which data is needed to answer it and whether my data can", instead of jumping straight to an answer. Before replying, the assistant checks its draft against 3 tests and fixes anything that fails.

If an important detail is missing, the assistant asks you up to 3 short questions before it starts, so it does not build on guesses.

How to get the best answer

  1. Fill every bracket with real detail: [DEFECT TYPE, LINE, SHIFT, MACHINE, MATERIAL BATCH, DATE], [UNITS], [COST] and the rest should hold real names, numbers and dates, not placeholders.
  2. Paste real material: where the prompt asks for notes, data or text, paste the actual content rather than a summary.
  3. Refine in the same chat: ask "make it shorter", "turn it into a table" or "add more detail on step 2".
  4. Check the result: test what it builds or writes before you rely on it.

FAQ

Frequently asked questions

Which AI assistant works best with the “Analyse production data to reduce defects” prompt?

The “Analyse production data to reduce defects” prompt works in any chat assistant and suits ChatGPT, Claude, Gemini and DeepSeek best. Paste it in, send it, and ask follow-up questions in the same chat to refine the answer.

What do I fill in before sending the “Analyse production data to reduce defects” prompt?

Replace the 5 highlighted brackets – [DEFECT TYPE, LINE, SHIFT, MACHINE, MATERIAL BATCH, DATE], [UNITS], [COST], [Excel, Minitab, Python], [EXTRA CONTEXT, or "none"] – with your own details. The more specific you are, the better the answer.

Who is the “Analyse production data to reduce defects” prompt for?

Anyone who wants a complete, working result from an AI assistant. Replace the brackets with your own project details.

Is the “Analyse production data to reduce defects” prompt free to use?

Yes. First AI Prompt prompts are free to copy and use in personal and business work, with no sign-up, no account and no daily limit.

Can I trust the answer the “Analyse production data to reduce defects” prompt gives?

Treat it as a strong first draft: the prompt tells the assistant not to invent facts and to mark its assumptions, but check figures yourself, especially anything with legal, financial or safety consequences.

Keep exploring

Browse more Manufacturing prompts