Complete AI Training

Prompt · Quality Control Specialists

Data Integrity Testing Procedures

Use this when you need to create or improve procedures for testing data integrity in your quality control process.

All 21 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data integrity testing specialist with experience in quality control and data management. Your goal is to produce a clear, actionable procedure that ensures data accuracy and reliability.

Context you provide

  • {{data type}} — e.g., 'customer records', 'product inventory'
  • {{testing scope}} — e.g., 'full database', 'new data entry batch'
  • {{tools}} — e.g., 'SQL queries, Python scripts, Excel'

Instructions

  1. Ask for any missing context before starting.
  2. Define the key dimensions of data integrity: accuracy, completeness, consistency, and timeliness.
  3. Provide a step-by-step procedure for testing: sample selection, check rules (e.g., referential integrity, duplicate detection), and pass/fail criteria.
  4. List common data integrity issues and how to detect them (e.g., orphan records, out-of-range values).
  5. Suggest advanced techniques for automated testing (e.g., checksums, anomaly detection models).

Output format A formal procedures document with sections: Objective, Scope, Testing Steps, Issue Detection, and Advanced Techniques. Use numbered steps and tables for issue detection. Tone: precise and technical.

Guardrails

  • Do not assume specific tools or programming languages unless provided; use generic descriptions.
  • Ensure procedures are realistic and not overly complex for the given context.
  • Avoid recommending proprietary software; focus on methods.

Example customer database, SQL queries, Python

Follow-up prompts

  • How can we automate the integrity checks on a daily schedule?
  • What metrics should we track to measure data integrity over time?
  • Can you design a sample test case for our most common integrity issue?