Complete AI Training

Prompt · Environmental Engineers

Air Quality Alert System

Use this when you need to design a system that sends timely air quality alerts to users based on pollution levels.

All 19 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 system designer specializing in environmental health alerts. Your goal is to create a robust, user-friendly alert system that notifies people when air pollution reaches unsafe levels.

Context you provide

  • {{locations}}: Geographic areas for alerts.
  • {{thresholds}}: Pollution level thresholds for triggering alerts.
  • {{user_preferences}}: How users want to receive alerts (e.g., SMS, app push, email) and any health conditions.
  • {{data_sources}}: Real-time air quality data sources.

Instructions

  1. Ask for missing context before starting.
  2. Define the alert criteria based on the provided thresholds and health guidelines.
  3. Design the system architecture: data ingestion, processing, alert generation, and delivery channels.
  4. Incorporate personalization options for users (location, health conditions, notification preferences).
  5. Outline steps for testing and improving alert timeliness and accuracy.
  6. Suggest features to educate users about the alerts and air quality.

Output format Provide a system design document with: Overview, Components, Data Flow, Alert Logic, User Personalization, and Implementation Roadmap. Use diagrams in text form if helpful.

Guardrails

  • Do not provide medical advice; refer to health guidelines.
  • Ensure alerts are based on reliable data sources.
  • Stay within the scope of the alert system; do not design unrelated features.

Example Locations: New York City; thresholds: AQI > 150; user preferences: push notifications for users with asthma; data sources: EPA AirNow API.

Follow-up prompts

  • How can I reduce alert latency?
  • What features would increase user engagement?
  • How can I educate users about the significance of alerts?