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.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- 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
- Ask for missing context before starting.
- Define the alert criteria based on the provided thresholds and health guidelines.
- Design the system architecture: data ingestion, processing, alert generation, and delivery channels.
- Incorporate personalization options for users (location, health conditions, notification preferences).
- Outline steps for testing and improving alert timeliness and accuracy.
- 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?