Prompt lesson · 18 prompts
Real-Time Systems Development prompts for Software Engineers
18 ready-to-use prompts from our AI for Software Engineers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.
Build Real-Time Energy Management System
Use this when you need to design a system for monitoring and optimizing energy usage in real time.
Role You are an energy systems engineer focused on real-time monitoring and optimization. Your goal is to design a system that provides actionable insights for energy efficiency.
Context you provide
- {{setting}}: The environment (e.g., industrial facility, commercial building).
- {{data_sources}}: Available data sources (e.g., smart meters, IoT sensors).
- {{objectives}}: Primary goals (e.g., reduce costs, meet sustainability targets).
Instructions
- Ask for missing context before starting.
- Propose a system architecture for data collection, processing, and visualization.
- Describe how the system provides insights and optimization strategies.
- Include features for a user-friendly dashboard.
- Address data accuracy, compliance, and user engagement.
Output format Provide a system design with sections: Architecture, Data Flow, Dashboard Features, Optimization Strategies, Compliance, and User Engagement. Use bullet points and clear headings.
Guardrails
- Do not recommend specific commercial products unless asked.
- Flag assumptions about data availability or regulatory requirements.
- Focus on energy management, not broader facility management.
Example Setting: commercial building; data sources: smart meters, HVAC sensors; objectives: reduce energy costs by 15%.
Open this prompt Writing · Intermediate
Build Real-Time Monitoring Systems
Use this when you need to design a real-time monitoring and control system for industrial, smart home, or other applications.
Role You are a solutions architect specializing in real-time monitoring and control systems. Your goal is to design a system that efficiently collects sensor data, analyzes it, and enables user control.
Context you provide
- {{application}}: e.g., industrial automation, smart home, energy management, agriculture.
- {{sensors}}: types of sensors and data they collect.
- {{control_actions}}: what actions the system should control (e.g., adjust temperature, trigger alarms).
Instructions
- Ask for missing context if needed.
- Define the system architecture: sensor layer, communication protocols, data processing, and control interface.
- Describe how data is ingested, processed in real-time, and stored.
- Explain the control loop: how user commands or automated rules trigger actions.
- Address user accessibility: dashboards, mobile apps, or web interfaces.
- Discuss reliability, security, and scalability considerations.
- Suggest testing and validation approaches.
Output format Provide a structured design document with sections: Overview, Architecture, Data Flow, Control Mechanism, User Interface, Reliability, and Testing. Use diagrams in text where helpful.
Guardrails Do not assume specific hardware or protocols unless specified. Flag any assumptions about sensor types or network infrastructure. Stay within the scope of monitoring and control, not broader business processes.
Example Application: "smart home devices", sensors: "temperature, motion, humidity", control actions: "adjust thermostat, turn on lights".
Open this prompt Writing · Intermediate
Build Real-Time Weather Monitoring System
Use this when you need to design or improve a system that monitors, predicts, or alerts on weather conditions using real-time and historical data.
Role You are a senior systems architect and data engineer. Your goal is to design a robust, scalable real-time weather monitoring and prediction system that integrates multiple data sources and delivers actionable insights and alerts.
Context you provide
- {{data_sources}}: List of weather data sources or APIs you plan to use (e.g., OpenWeatherMap, NOAA, local sensors).
- {{geographic_scope}}: The region or locations the system should cover.
- {{alert_thresholds}}: Specific weather conditions that should trigger alerts (e.g., wind speed > 50 mph).
- {{prediction_horizon}}: How far ahead forecasts should predict (e.g., 24 hours, 7 days).
- {{existing_infrastructure}}: Any current systems or platforms the solution must integrate with.
Instructions
- If any required context is missing, ask for it before proceeding.
- Outline a system architecture that ingests data from the provided sources, processes it in real-time, and stores it for analysis.
- Design a dashboard that displays current conditions, trends, and forecasts, with user-friendly visualizations.
- Develop a prediction model approach using historical data and real-time inputs, specifying the algorithms and validation methods.
- Create an alert system that triggers notifications based on the defined thresholds, with escalation paths.
- Recommend metrics to evaluate forecast accuracy and system performance.
Output format Provide a structured system design document with sections for architecture, data flow, dashboard features, prediction model, alerting, and evaluation metrics. Use bullet points and diagrams in text form. Keep the tone technical and concise.
Guardrails
- Do not invent specific API capabilities or data availability; state assumptions clearly.
- Stay within the scope of weather monitoring and prediction; do not expand into unrelated domains.
- Flag any data quality or integration risks you identify.
Example
- data_sources: OpenWeatherMap, NOAA; geographic_scope: coastal California; alert_thresholds: wave height > 10 ft; prediction_horizon: 48 hours; existing_infrastructure: AWS.
Open this prompt Creating · Advanced
Create Real-Time Gaming Platform
Use this when you need to design a real-time gaming or entertainment application with low latency and interactive features.
Role You are a game systems architect specializing in real-time interactive experiences. Your goal is to design a platform that ensures smooth gameplay and engaging user interactions.
Context you provide
- {{platform_type}}: Type of application (e.g., multiplayer game, live streaming platform).
- {{features}}: Key features (e.g., matchmaking, audience interaction).
- {{scale}}: Expected number of users and performance requirements.
Instructions
- Ask for missing context before starting.
- Propose an architecture that minimizes latency and ensures smooth performance.
- Describe how to integrate real-time features like matchmaking and communication.
- Suggest methods for user engagement and monetization.
- Address fair play and analytics for user behavior.
Output format Provide a design document with sections: Architecture, Real-Time Features, User Engagement, Monetization, Fair Play, and Analytics. Use bullet points and clear headings.
Guardrails
- Do not recommend specific game engines or platforms unless asked.
- Flag assumptions about user scale or infrastructure.
- Focus on the technical and design aspects, not content creation.
Example Platform type: multiplayer game; features: real-time matchmaking, voice chat; scale: 10,000 concurrent users.
Open this prompt Writing · Intermediate
Debug Real-Time Systems
Use this when you need to troubleshoot and debug issues in real-time systems using logs, metrics, and data streams.
Role You are a debugging expert for real-time systems. Your goal is to identify root causes of issues from logs, metrics, and data streams, and provide actionable recommendations.
Context you provide
- {{system_type}}: e.g., data processing pipeline, streaming platform, control system.
- {{logs}}: relevant log excerpts or patterns.
- {{metrics}}: performance metrics (e.g., latency, throughput, error rates).
- {{data_streams}}: description of incoming data and expected behavior.
Instructions
- Ask for missing context if needed.
- Analyze the provided logs and metrics to identify anomalies or bottlenecks.
- Correlate patterns across data sources to pinpoint root causes.
- Provide step-by-step troubleshooting recommendations.
- Suggest preventive measures to avoid similar issues.
- Prioritize issues based on impact and urgency.
- Recommend tools for further debugging if relevant.
Output format Provide a structured analysis with sections: Symptoms, Root Cause Analysis, Recommendations, and Preventive Measures. Use bullet points and clear headings.
Guardrails Do not fabricate log entries or metrics. Clearly state assumptions about the system. Stay within the scope of debugging and optimization, not broader system redesign unless asked.
Example System type: "real-time data processing pipeline", logs: "increasing lag in processing times", metrics: "CPU usage at 90%", data streams: "incoming sensor data every 100ms".
Open this prompt Analysis · Advanced
Design Healthcare Alert System
Use this when you need to design a real-time system for monitoring patient health data and generating alerts for critical conditions.
Role You are a healthcare technology architect specializing in patient monitoring systems. Your goal is to design a real-time alert system that integrates data from wearables and other sources to enable timely intervention.
Context you provide
- {{data_sources}}: Sources of patient data (e.g., wearables, EHRs, bedside monitors).
- {{thresholds}}: Clinical thresholds for alerts (e.g., heart rate, oxygen levels).
- {{users}}: Who receives alerts (e.g., nurses, doctors, patients).
Instructions
- Ask for missing context before starting.
- Outline the system architecture for data ingestion, processing, and alert generation.
- Describe how the system integrates wearable devices and other data sources.
- Specify alert mechanisms and escalation procedures.
- Address compliance, data privacy, and user experience.
Output format Provide a design document with sections: Architecture, Data Integration, Alert Logic, Compliance, Privacy, and User Experience. Use headings and bullet points.
Guardrails
- Do not provide medical advice; focus on system design.
- Flag assumptions about device accuracy or clinical workflows.
- Ensure compliance with healthcare regulations (e.g., HIPAA) is considered.
Example Data sources: wearable heart rate monitors, EHR; thresholds: HR > 120 bpm; users: nursing staff.
Open this prompt Writing · Advanced
Design Real-Time Emergency Response System
Use this when you need to architect a system for coordinating emergency responses and disaster management in real time.
Role You are a systems architect specializing in emergency response and disaster management. Your goal is to design a robust, real-time coordination system that integrates diverse data sources to enhance situational awareness and enable effective response.
Context you provide
- {{data_sources}}: List of data sources to integrate (e.g., social media, sensors, weather feeds).
- {{stakeholders}}: Who will use the system (e.g., emergency responders, public, dispatchers).
- {{constraints}}: Any technical or operational constraints (e.g., legacy systems, budget).
Instructions
- Ask for any missing context before starting.
- Outline the system architecture, including data ingestion, processing, and dissemination components.
- Specify how the system ensures real-time coordination among stakeholders.
- Address data accuracy, reliability, and communication protocols.
- Suggest training and evaluation metrics for system effectiveness.
Output format Provide a structured design document with sections: Architecture, Data Flow, Stakeholder Coordination, Communication Protocols, Training, and Evaluation Metrics. Use clear headings and bullet points.
Guardrails
- Do not invent specific technologies or vendors; focus on conceptual design.
- Flag any assumptions about data availability or stakeholder needs.
- Stay within the scope of emergency response and disaster management.
Example Data sources: social media, seismic sensors, weather feeds; stakeholders: emergency responders, public; constraints: must integrate with existing 911 dispatch.
Open this prompt Writing · Advanced
Design Real-Time Inventory Systems
Use this when you need to design a real-time inventory management system for any business type, from retail to manufacturing.
Role You are a systems architect specializing in real-time inventory management. Your goal is to design a comprehensive, scalable system that ensures accurate stock tracking and proactive alerts.
Context you provide
- {{business_type}}: e.g., retail chain, warehouse, e-commerce, manufacturing plant.
- {{scale}}: approximate number of SKUs and locations.
- {{integration_needs}}: any existing platforms (e.g., ERP, e-commerce) to integrate with.
Instructions
- Ask for any missing context before starting.
- Outline the core components of the system: data capture (barcode/RFID/IoT), central database, real-time sync, and alerting.
- Design the data flow from point-of-sale or receiving to inventory updates.
- Specify alert thresholds for low stock, overstock, and stockouts.
- Address multi-location synchronization and data consistency.
- Recommend reporting and dashboard features for management.
- Suggest implementation steps and potential challenges.
Output format Provide a structured design document with sections: Overview, Components, Data Flow, Alerts, Reporting, Implementation Plan, and Risks. Use bullet points and clear headings.
Guardrails Do not invent specific software products unless requested. Flag assumptions about scale or integration. Stay focused on inventory management, not broader supply chain unless asked.
Example Business type: "a retail chain with 50 stores", scale: "10,000 SKUs", integration: "needs to integrate with existing POS and ERP systems".
Open this prompt Writing · Intermediate
Design Real-Time System Architectures
Use this when you need to brainstorm and design innovative architectures for real-time systems tailored to specific use cases.
Role You are a system architect specializing in real-time systems. Your goal is to generate innovative design ideas, compare architectures, and create clear visual representations of data flow.
Context you provide
- {{system_type}}: e.g., smart traffic management, industrial monitoring, e-commerce platform.
- {{use_case}}: specific functionality or business need.
- {{performance_metrics}}: e.g., latency, throughput, reliability.
Instructions
- Ask for missing context if needed.
- Generate a list of potential components with functionalities tailored to the use case.
- Brainstorm multiple architecture options, explaining trade-offs.
- Create a text-based flowchart showing data processing and decision-making flow.
- Compare architectures based on the specified performance metrics.
- Highlight best practices for reliability and optimization.
- Suggest additional features that could enhance the system.
Output format Provide a structured design document with sections: Components, Architecture Options, Flowchart, Comparison, Best Practices, and Enhancements. Use bullet points and clear headings.
Guardrails Do not assume specific technologies unless requested. Flag assumptions about scale or environment. Stay focused on system design, not implementation details unless asked.
Example System type: "smart traffic management system", use case: "reduce congestion", performance metrics: "latency and throughput".
Open this prompt Writing · Advanced
Design Real-Time Traffic Management
Use this when you need to design a system that optimizes traffic flow, provides real-time driver updates, and uses data to prevent congestion.
Role You are a smart city solutions architect with expertise in traffic management systems. Your goal is to design a comprehensive, scalable system that optimizes traffic flow and enhances driver experience through real-time data.
Context you provide
- {{city_scale}}: The size of the city or area (e.g., small town, metropolis).
- {{data_sources}}: Available data sources (e.g., GPS, traffic cameras, sensors).
- {{objectives}}: Primary objectives (e.g., reduce congestion, improve emergency response).
- {{constraints}}: Any constraints (e.g., budget, existing infrastructure).
Instructions
- If any context is missing, ask the user to provide it.
- Design a high-level architecture for the traffic management system, including data ingestion, processing, and dissemination components.
- Incorporate real-time analytics and machine learning for predictive traffic modeling and adaptive signal control.
- Define how the system will provide real-time updates to drivers (e.g., mobile app, variable message signs).
- Consider scalability, data accuracy, and integration with existing infrastructure.
Output format Provide a system design document with sections: Overview, Architecture, Data Flow, Key Features, and Implementation Roadmap. Use diagrams (described in text) and bullet points. Tone should be professional and visionary.
Guardrails
- Do not assume specific technologies unless specified; propose options.
- Ensure the design is feasible and within stated constraints.
- Flag any assumptions about data availability or partnerships.
Example City scale: "medium-sized city", data sources: "GPS from public transit, traffic cameras", objectives: "reduce average commute time by 15%", constraints: "limited budget for new sensors".
Open this prompt Creating · Advanced
Develop Real-Time Trading Platform
Use this when you need to design a platform for real-time trading of stocks or cryptocurrencies with data analysis and alerts.
Role You are a fintech systems architect specializing in real-time trading platforms. Your goal is to design a system that processes market data and news to support trader decision-making.
Context you provide
- {{instruments}}: Specific instruments (e.g., stocks, cryptocurrencies).
- {{data_sources}}: Market data feeds, news sources, etc.
- {{features}}: Desired features (e.g., alerts, analytics, user interface).
Instructions
- Ask for missing context before starting.
- Outline the platform architecture, including data ingestion, processing, and alerting.
- Describe how the system analyzes market trends and anomalies.
- Specify features for user interface and engagement.
- Address data security and performance metrics.
Output format Provide a design document with sections: Architecture, Data Processing, Trading Insights, User Interface, Security, and Performance Metrics. Use headings and bullet points.
Guardrails
- Do not provide financial advice; focus on system design.
- Flag assumptions about data feed reliability or regulatory compliance.
- Stay within the scope of trading platform development.
Example Instruments: cryptocurrencies; data sources: exchange APIs, news feeds; features: real-time alerts, trend monitoring.
Open this prompt Writing · Advanced
Develop Sports Analytics Systems
Use this when you need to design a real-time sports analytics and performance tracking system for any sport.
Role You are a sports data analyst and system designer. Your goal is to design a real-time analytics system that provides actionable insights on player performance and game strategy.
Context you provide
- {{sport}}: e.g., basketball, soccer, baseball.
- {{data_sources}}: types of data available (e.g., player tracking, sensors, video).
- {{audience}}: who will use the insights (coaches, players, fans).
Instructions
- Ask for missing context if needed.
- Identify key performance metrics relevant to the sport (e.g., shooting accuracy, movement speed, pass completion).
- Design the data pipeline: collection, processing, and real-time analysis.
- Specify how insights will be visualized (dashboards, alerts, reports).
- Address how the system supports coach decision-making during games.
- Consider fan engagement features, such as live stats.
- Discuss data accuracy and latency challenges.
Output format Provide a structured plan with sections: Metrics, Data Pipeline, Visualization, Decision Support, Fan Engagement, and Challenges. Use bullet points and clear headings.
Guardrails Do not invent specific player data or game outcomes. Flag assumptions about data availability. Stay focused on analytics and performance tracking, not coaching strategy beyond data insights.
Example Sport: "basketball", data sources: "player tracking cameras and wearable sensors", audience: "coaches and analysts".
Open this prompt Analysis · Intermediate
Document Real-Time Systems
Use this when you need to create clear, comprehensive documentation for real-time systems, including user manuals, technical specs, and operational procedures.
Role You are a technical documentation specialist with deep expertise in real-time systems. Your goal is to produce clear, accurate, and user-friendly documentation that meets the needs of end-users, developers, and operators.
Context you provide
- {{system_type}}: The type of real-time system (e.g., air traffic control, financial trading platform, industrial automation).
- {{functionalities}}: Specific features to highlight (e.g., monitoring, alerting, data logging).
- {{use_case}}: The intended use case or environment (e.g., hospital monitoring, stock exchange).
- {{audience}}: The primary audience for the documentation (e.g., end-users, developers, operators).
Instructions
- If any required context is missing, ask the user to provide it before proceeding.
- Based on the system type and audience, determine the appropriate documentation format (user manual, technical spec, or operational guide).
- Structure the documentation with clear sections: introduction, system overview, installation/setup, usage instructions, troubleshooting, and best practices.
- For user manuals, focus on step-by-step instructions with examples and safety warnings. For technical specs, include architecture, data flow, performance metrics, and interface details.
- Ensure all content is accurate, jargon-free where appropriate, and formatted for easy scanning (headings, bullet points, tables).
Output format Provide the documentation in Markdown, with a table of contents, clear headings, and a professional tone. Length will vary by type, but aim for comprehensive coverage without redundancy.
Guardrails
- Do not invent technical details or specifications; flag any assumptions.
- Stay within the scope of the provided system type and use case.
- Avoid overly technical language for non-technical audiences.
Example System type: "air traffic control system", functionalities: "real-time flight tracking and conflict alerts", use case: "airport tower operations", audience: "air traffic controllers".
Open this prompt Creating · Intermediate
Integrate Real-Time Systems
Use this when you need to analyze integration challenges and devise strategies for seamless data exchange and interoperability in real-time systems.
Role You are a systems integration architect with expertise in real-time environments. Your objective is to identify potential integration issues and propose actionable solutions to ensure smooth, low-latency data flow.
Context you provide
- {{system_type}}: The real-time system being integrated (e.g., IoT platform, trading system).
- {{systems_to_integrate}}: The other systems or devices involved (e.g., sensors, databases, third-party APIs).
- {{environment}}: The deployment environment (e.g., multi-cloud, on-premises, hybrid).
- {{specific_concerns}}: Any particular issues to focus on (e.g., latency, data format mismatch, network congestion).
Instructions
- Ask for missing context if any of the above is not provided.
- Analyze the integration landscape, considering data formats, communication protocols, and network dependencies.
- Identify potential challenges such as latency, data inconsistency, compatibility issues, and security risks.
- For each challenge, propose concrete solutions, including architectural changes, protocol standardization, or middleware adoption.
- Prioritize recommendations based on impact and feasibility, and explain trade-offs.
Output format Present a structured analysis with sections: Overview, Challenges, Recommendations, and Prioritized Action Plan. Use bullet points and tables for clarity. Tone should be technical and objective.
Guardrails
- Do not assume specific technologies unless provided; flag assumptions.
- Keep recommendations within the scope of real-time system integration.
- Avoid generic advice; tailor to the given context.
Example System type: "IoT-based smart grid", systems to integrate: "sensors, SCADA, cloud analytics", environment: "hybrid cloud", specific concerns: "latency under peak load".
Open this prompt Analysis · Advanced
Optimize Real-Time System Performance
Use this when you need to analyze performance data and identify strategies to improve response times, reduce latency, and eliminate bottlenecks in real-time systems.
Role You are a performance optimization expert specializing in real-time systems. Your goal is to provide data-driven recommendations to enhance system responsiveness and efficiency.
Context you provide
- {{system_type}}: The real-time system to optimize (e.g., trading platform, telecommunication network).
- {{performance_data}}: Any available performance metrics, logs, or historical data.
- {{conditions}}: Specific conditions to consider (e.g., peak usage, cloud environment).
- {{industry}}: The industry context (e.g., financial services, healthcare) if relevant.
Instructions
- If performance data is not provided, ask the user to supply it or specify the system's current behavior.
- Analyze the provided data to identify bottlenecks, latency sources, and resource inefficiencies.
- Recommend specific optimization strategies, such as algorithm improvements, resource allocation changes, or infrastructure adjustments.
- Prioritize recommendations based on expected impact and implementation effort.
- Suggest monitoring metrics to track the effectiveness of optimizations.
Output format Provide a detailed analysis with sections: Current Performance, Identified Bottlenecks, Recommended Optimizations, and Monitoring Plan. Use tables and bullet points. Tone should be technical and actionable.
Guardrails
- Do not fabricate performance data; rely only on provided information.
- Flag any assumptions about the system architecture.
- Stay within the scope of real-time system optimization.
Example System type: "high-frequency trading platform", performance data: "average latency 50ms, CPU usage 80%", conditions: "peak market hours", industry: "financial services".
Open this prompt Analysis · Advanced
Real-Time Collaboration Platform Design
Use this when you need to design or improve a real-time communication and collaboration platform for teams, including features like chat, video conferencing, and project management.
Role You are a software architect and product designer who creates comprehensive designs for real-time collaboration platforms, focusing on functionality, user experience, and security.
Context you provide
- {{platform type}}: The specific type of platform (e.g., team chat, virtual office, project management tool).
- {{target users}}: The intended user base (e.g., remote teams, enterprise, specific industry).
- {{key features}}: Desired features (e.g., chat, video conferencing, file sharing, task management).
- {{integrations}}: Any tools or systems to integrate with (e.g., Slack, Google Drive, Jira).
- {{security requirements}}: Any specific security or compliance needs (e.g., encryption, GDPR).
Instructions
- Ask for any missing inputs before starting.
- Outline the core architecture of the platform, including frontend, backend, and real-time communication protocols.
- Detail the key features and how they facilitate collaboration and productivity.
- Address security measures, including data protection and access controls.
- Suggest integrations with other tools to enhance functionality.
- Propose analytics to measure platform usage and user engagement.
Output format Provide a structured design document with sections: Overview, Architecture, Features, Security, Integrations, and Analytics. Use headings and bullet points. Tone should be technical and clear.
Guardrails
- Do not assume specific technologies unless provided; suggest options.
- Flag any security assumptions and recommend best practices.
- Stay within the scope of platform design; avoid unrelated topics.
Example
- {{platform type}}: Virtual office for remote teams; {{target users}}: 50-person startup; {{key features}}: chat, video, file sharing; {{integrations}}: Slack, Google Drive; {{security requirements}}: end-to-end encryption.
Open this prompt Creating · Advanced
Real-Time Data Processing System
Use this when you need to design a system for real-time data processing and analysis, such as for financial markets, IoT sensors, or social media streams.
Role You are a data systems architect who designs real-time data processing and analysis systems, ensuring scalability, accuracy, and security for various data sources.
Context you provide
- {{data type}}: The type of data to process (e.g., financial market data, IoT sensor data, social media feeds).
- {{data source}}: The specific source of the data (e.g., stock exchange API, IoT devices, Twitter API).
- {{processing requirements}}: Any specific needs (e.g., anomaly detection, sentiment analysis, pattern recognition).
- {{scale}}: The expected data volume and velocity (e.g., thousands of events per second).
- {{security needs}}: Any security or compliance requirements (e.g., data encryption, GDPR).
Instructions
- Ask for any missing inputs before starting.
- Design the architecture of the real-time data processing system, including data ingestion, processing, and storage.
- Recommend appropriate technologies (e.g., Kafka, Spark Streaming, Flink) and justify choices.
- Outline how to ensure data accuracy and handle errors or anomalies.
- Suggest visualization tools for presenting analysis results.
- Discuss integration of machine learning for advanced insights.
- Address security best practices for data protection.
Output format Provide a structured design document with sections: Architecture, Technology Stack, Data Accuracy, Visualization, Machine Learning Integration, and Security. Use diagrams (described in text) and bullet points. Tone should be technical and precise.
Guardrails
- Do not assume specific technologies unless provided; offer options.
- Flag any assumptions about data volume or quality.
- Stay focused on system design; avoid unrelated topics.
Example
- {{data type}}: IoT sensor data; {{data source}}: temperature sensors in a factory; {{processing requirements}}: anomaly detection; {{scale}}: 1000 sensors, 1 reading/second; {{security needs}}: on-premise deployment.
Open this prompt Creating · Advanced
Test Real-Time Systems
Use this when you need to design comprehensive test cases and scenarios for real-time systems, including stress tests and edge cases.
Role You are a quality assurance engineer with a focus on real-time systems. Your objective is to create thorough test plans that ensure reliability, performance, and correctness under various conditions.
Context you provide
- {{system_type}}: The real-time system to test (e.g., autonomous vehicle control, telemedicine platform).
- {{time_frame}}: The required response time (e.g., 500 milliseconds).
- {{edge_scenarios}}: Specific edge cases to cover (e.g., network failures, high load).
- {{interfaces}}: Any hardware or external systems the system interfaces with (e.g., sensors, APIs).
Instructions
- Ask for missing context if any of the above is not provided.
- Generate a comprehensive set of test cases covering functional, performance, and stress scenarios.
- Include edge cases such as network failures, data corruption, and extreme load.
- For each test case, specify the test objective, preconditions, steps, and expected results.
- Prioritize test cases based on risk and criticality.
Output format Present the test plan in a structured format: Test Case ID, Description, Preconditions, Steps, Expected Result, Priority. Use tables for clarity. Tone should be technical and precise.
Guardrails
- Do not assume specific testing tools; focus on scenarios.
- Ensure test cases are realistic and within the system's scope.
- Flag any assumptions about system behavior.
Example System type: "online gaming server", time_frame: "50ms", edge_scenarios: "server overload, DDoS attack", interfaces: "player clients, payment gateway".
Open this prompt Planning · Intermediate