- Simplifying Complexity
- Pages
- Prompts for Engineers
Prompts for Engineers
Software Development
Write a clean, efficient code snippet in [programming language] that solves [specific problem]. Include comments explaining each step.
I’m getting this error [paste error]. Explain why it’s happening and provide a step-by-step solution to fix it.
List 10 best practices for [language/framework/technology] that improve performance, maintainability, and security.
Suggest 5 beginner-to-advanced software development projects using [language/framework] with brief descriptions of functionality and key features.
Suggest ways to optimize this code [paste code] for speed, readability, and scalability.
Generate a unit test suite for [function/module] using [testing framework]. Include examples for edge cases.
Write a [backend/frontend/full-stack] module for [functionality] with proper structure, error handling, and documentation.
Create a step-by-step tutorial for beginners to learn [programming language/tool/framework], including exercises and example projects.
Identify common performance bottlenecks or security vulnerabilities in [software/system] and suggest best practices to resolve them.
Refactor this code [paste code] to improve readability, efficiency, and maintainability. Explain each improvement in detail.
Profile this application [paste repo or code snippet] and list the top 5 CPU / memory bottlenecks with exact commands/tools to reproduce and fix them.
Design an API contract (endpoints, request/response schemas, error codes) for [feature/service]. Include example payloads and versioning strategy.
Create a secure dependency management plan for [language/project], including commands to audit dependencies, pin versions, and handle vulnerable packages.
Write a production-ready Dockerfile and minimal Docker best-practices checklist for building and running [app/service].
Implement logging and observability for this service [paste code or describe stack]: include log format, correlation IDs, metrics to emit, and sample Grafana/Prometheus metrics.
Draft a code-review checklist tailored to [language/framework] that reviewers must follow before approving a PR (style, tests, security, performance, docs).
Write a migration plan (data + schema + rollout strategy) for changing the database schema from [old schema] to [new schema] with zero downtime.
Create automated test and release steps (scripts and CI config snippets) to run linting, unit tests, integration tests, and semantic-release on merge to main.
Explain concurrency/threading issues that can arise in [language/runtime] for [use case], with sample code showing the bug and the corrected, thread-safe implementation.
Produce a security-hardening checklist for a web service built in [language/framework], covering input validation, auth, rate-limiting, CORS, helmet-like headers, and secrets rotation.
Debugging & Optimization
A system in production is intermittently failing, and we’re struggling to isolate the root cause. Based on the following logs, metrics, and recent changes: [insert context], help identify the most likely causes and suggest next steps for mitigation.
I’m seeing a sudden spike in CPU and memory usage on [service/server]. Given these recent deployments and usage patterns: [insert context], analyze possible reasons and recommend optimization strategies.
This function/code snippet [paste code] is running slower than expected under heavy load. Examine it and suggest improvements to enhance performance and scalability.
A database query [paste query] is timing out intermittently. Based on the schema, indexes, and recent changes: [insert context], identify potential bottlenecks and propose optimization techniques.
A web page [paste URL or code snippet] is loading slowly on certain devices. Analyze possible causes related to frontend performance, and suggest actionable fixes.
An API endpoint [paste endpoint or code] is returning inconsistent responses under specific conditions. Investigate possible root causes and suggest debugging steps.
We are seeing memory leaks in [application/service]. Based on the following profiling data and recent code changes: [insert context], identify likely sources and recommend fixes.
Logs show frequent errors in [module/service] after the last deployment. Analyze the logs and suggest a step-by-step approach to isolate and resolve the issue.
A system under stress testing is showing latency spikes. Given the current configuration, traffic patterns, and recent updates: [insert context], propose optimization strategies.
A batch job/process is failing sporadically without clear error messages. Review the job details, logs, and system state: [insert context], and outline troubleshooting steps and possible solutions.
Design and Product Engineering
Create a detailed wireframe or mockup for [type of product/page/app] using [tool/software]. Include layout, UI elements, and annotations.
Analyze this product design [paste design/mockup] and provide actionable feedback on usability, aesthetics, and functionality.
List 10 best practices for product design and engineering that improve user experience, accessibility, and scalability.
Suggest 5 beginner-to-advanced design or product engineering projects using [tool/framework] with brief descriptions of goals, features, and deliverables.
Optimize this design [paste design/mockup] for usability, visual hierarchy, and interaction efficiency.
Generate a responsive UI/UX layout for [website/app] using [tool/framework]. Include sample components, color schemes, and typography suggestions.
Write a step-by-step tutorial for beginners to learn [design tool/framework/product engineering concept], including exercises and example projects.
Create a product spec or requirement document for [product/project] including features, user flows, and technical requirements.
Identify usability issues or bottlenecks in this product [paste product/design] and suggest improvements to enhance user experience and performance.
Refactor this design workflow/process [paste workflow] to make it more efficient, scalable, and maintainable. Explain each improvement.
Data Analysis & Reporting
Analyze this CSV of product usage logs. Context: We want to identify usage trends over time and across user segments. Output: Summary stats + line or bar charts highlighting key trends.
Plot error rates over time from this dataset. Context: It contains application logs from the last month. Output: A time-series chart with callouts for error spikes and a short interpretation.
Analyze this set of performance test results. Context: It compares two versions of our backend service. Output: Side-by-side comparison charts + text summary of improvements or regressions.
Analyze this bug report dataset. Context: Each row includes severity, frequency, and affected users. Output: A prioritized list of top bugs with charts showing frequency vs. severity.
Analyze this dataset [paste dataset] and provide key insights, trends, and patterns. Include visualizations where relevant.
I’m getting this error [paste error] while running [tool/language]. Explain why it’s happening and provide a step-by-step solution.
List 10 best practices for data cleaning and preprocessing in [tool/language] that improve accuracy and reliability of analysis.
Suggest 5 beginner-to-advanced data analysis projects using [tool/language] with brief descriptions of goals, datasets, and expected outcomes.
Optimize this code/script [paste code] for faster data processing, better memory usage, and readability.
Generate a dashboard in [tool/software] that visualizes [metrics/KPIs]. Include sample charts, tables, and filters.
Develop a user journey map for [product/use case], outlining key touchpoints, emotions, and opportunities for improvement.
Create a design system for [brand/product] including color palette, typography, spacing, and reusable components with documentation.
Generate an accessibility checklist for a web or mobile product built with [framework/tool], ensuring compliance with WCAG guidelines.
Write a UX case study outline for [product/project] covering problem statement, research, design process, and results.
Suggest ways to improve the onboarding experience of [app/website] to increase user activation and retention.
Design an interactive prototype for [feature/page] using [tool/software] that demonstrates user flow and key interactions.
Write a usability testing plan for [product/feature], including test objectives, participant criteria, and key metrics to measure success.
Create a handoff checklist for designers and developers to ensure consistent implementation across design and engineering teams.
Evaluate this product’s information architecture [paste structure or sitemap] and suggest improvements for navigation and content hierarchy.
Generate a product roadmap for [app/product] with milestones, feature priorities, and dependencies for the next 6 months.
Web Developers
Build a complete folder structure for a scalable [React/Next.js/Vue] project following industry best practices.
Review this code [paste code] and suggest improvements for performance, readability, and scalability.
Generate a database schema for a [type of app] with tables, relationships, and constraints.
Write a clean, reusable component in [framework] for a dynamic navigation bar with dropdown menus.
Optimize this page [paste HTML/CSS/JS] for faster loading and better Core Web Vitals.
Create a step-by-step deployment plan for hosting a full-stack app on [AWS/Vercel/Netlify].
Suggest 10 best practices for structuring a large-scale front-end project to improve maintainability.
Write unit test examples for this function [paste function] using Jest or Mocha.
Build a responsive layout for a dashboard interface with side navigation, header, and main content area.
Explain how to implement authentication using JWT and refresh tokens in [framework/language].
Generate a Dockerfile and docker-compose setup for a full-stack [React + Node.js] application.
Convert this vanilla JS snippet [paste code] into optimized React hooks.
Write a RESTful API structure for a CRUD app that manages [type of data].
Review and refactor this CSS [paste code] to use modern techniques like Flexbox or Grid.
Create a CI/CD pipeline configuration for GitHub Actions that runs tests and auto-deploys on merge.
Suggest accessibility improvements for this HTML snippet [paste code].
Write SEO-friendly meta tags, titles, and descriptions for a [type of website].
Create error-handling middleware for a Node.js + Express app with custom error responses.
Generate a caching strategy for improving load times in a high-traffic web app.
Write a README.md file template that clearly documents setup, usage, and contribution guidelines for a new project.
Mobile App Development
Build a complete folder and file structure for a scalable [React Native/Flutter/Swift/Kotlin] mobile app.
Generate a UI layout for a [type of app, e.g. fitness tracker] including navigation flow, color scheme, and typography suggestions.
Review this code [paste code] and suggest performance, memory, and battery-efficiency improvements.
Write API integration code for fetching and displaying data from [API name] inside a mobile app screen.
Create a secure user authentication flow with email, social login, and JWT token management in [framework].
Optimize app startup time and suggest lazy-loading strategies for large assets and modules.
Build a step-by-step release checklist for publishing a mobile app to both Google Play and Apple App Store.
Suggest the best local storage approach (SQLite, Realm, Hive, AsyncStorage, etc.) for caching offline data in a [type of app].
Generate push-notification setup steps for sending targeted alerts using Firebase Cloud Messaging or OneSignal.
Write test cases for a login screen using [testing framework, e.g. Jest, Flutter Test, XCTest].
Create a responsive layout strategy that adapts UI for various screen sizes and orientations.
Generate code for smooth navigation transitions and animations between screens in [framework].
Build a crash-reporting and analytics setup plan using Firebase Crashlytics and Google Analytics.
Suggest 10 best practices for securing API calls and sensitive user data within the mobile app.
Create a roadmap for converting a web app into a cross-platform mobile app using [React Native/Flutter].
Write a reusable component for a bottom navigation bar with icons and labels in [framework].
Generate code for implementing dark mode with smooth transitions and saved preferences.
Build a CI/CD pipeline setup using [GitHub Actions/Bitrise/Fastlane] to automate testing and deployment.
Suggest strategies for optimizing image assets and reducing overall app bundle size.
Write a README template documenting setup, dependencies, environment variables, and build instructions for a mobile app project.
Data Science and Machine Learning
Explain the difference between supervised, unsupervised, and reinforcement learning with practical examples for each.
Write Python code to train a Random Forest model on this dataset: [insert dataset details]. Include feature scaling, training, and evaluation steps.
Suggest the best model architectures for a binary classification problem with imbalanced data. Explain why.
Generate an EDA (Exploratory Data Analysis) plan for this dataset: [insert dataset description]. Include specific plots and metrics to check.
Create a pipeline for preprocessing numerical and categorical features for a regression model using scikit-learn.
Write a function to evaluate model performance using accuracy, precision, recall, F1-score, and ROC-AUC.
Explain how to tune hyperparameters for a gradient boosting model using GridSearchCV and RandomizedSearchCV.
Write clean, modular Python code to train, validate, and save a deep learning model using TensorFlow or PyTorch.
Explain how to handle missing values and outliers in time-series data with code examples.
Suggest 3 feature engineering techniques that could improve model accuracy for a credit risk prediction problem.
Write a Python script to visualize feature importance from an XGBoost model.
Build a short, clear explanation of bias-variance tradeoff for presentation to non-technical stakeholders.
Create a notebook outline for a complete data science project workflow from data loading to model deployment.
Generate an end-to-end example of deploying a trained ML model with FastAPI, including input validation and prediction endpoint.
Write SQL queries to extract insights from a large dataset for churn prediction.
Explain how to evaluate a time-series forecasting model using metrics like MAPE, RMSE, and MAE.
Write a Python function that performs K-Means clustering and visualizes the results using PCA for dimensionality reduction.
Compare logistic regression and decision trees for interpretability and performance trade-offs.
Generate documentation for an ML project, including sections for objective, methodology, data sources, results, and limitations.
Create a checklist for deploying a machine learning model into production, covering testing, monitoring, and rollback procedures.
Cloud Computing and DevOps
Write a Terraform script to deploy a 3-tier web application on AWS (EC2 + RDS + Load Balancer).
Create a CI/CD pipeline using GitHub Actions to build, test, and deploy a Node.js app to AWS Elastic Beanstalk.
Explain the difference between IaaS, PaaS, and SaaS with examples of each from AWS, Azure, and GCP.
Generate a Dockerfile and docker-compose.yml for a Python Flask app with Redis as a cache layer.
Write Kubernetes deployment and service YAML files to deploy a containerized app with autoscaling.
Suggest best practices for implementing Infrastructure as Code (IaC) using Terraform or AWS CDK.
Build a bash script that automates provisioning of EC2 instances and configures Nginx on startup.
Explain the steps to set up centralized logging using ELK Stack (Elasticsearch, Logstash, Kibana) on AWS.
Create an AWS CloudFormation template to deploy an S3 static website with CloudFront and SSL.
Write a detailed incident response plan for downtime caused by a failed deployment in a Kubernetes cluster.
Generate a GitLab CI/CD configuration to build a Docker image and push it to Docker Hub on every commit.
Explain how to set up blue-green deployment and rollback strategy on AWS ECS.
Suggest monitoring and alerting setup using Prometheus and Grafana for a microservices architecture.
Write an Ansible playbook to install Docker, set up containers, and configure firewall rules.
Design an AWS architecture diagram for a scalable SaaS application with fault tolerance and high availability.
Write a script that automatically backs up databases from RDS to S3 every day using AWS Lambda and CloudWatch events.
Explain the process to migrate an on-premise app to AWS using the “lift and shift” approach.
Generate best practices for managing secrets and environment variables in CI/CD pipelines securely.
Write step-by-step commands to set up and manage a Kubernetes cluster using kubectl and helm.
Build a disaster recovery plan for a production system hosted on AWS, including RPO, RTO, and backup strategies.
Robotics and Automation
Write a Python script using ROS (Robot Operating System) to control a robotic arm with joint angle inputs.
Explain the difference between forward kinematics and inverse kinematics with equations and examples for a 3-DOF manipulator.
Generate a control algorithm for an autonomous mobile robot to navigate through obstacles using ultrasonic sensors.
Design a PID controller for a DC motor and show how to tune its parameters step-by-step.
Create a ROS launch file that initializes multiple nodes for camera input, motor control, and object detection.
Suggest 5 real-world robotics projects (beginner to advanced) with a short description of objectives, hardware used, and expected outcomes.
Write a simulation setup in Gazebo for a differential drive robot with camera and LiDAR sensors.
Optimize this motion control algorithm [paste code] for smoother path tracking and lower energy consumption.
Design a gripper mechanism for an industrial robot to handle fragile objects include material choice, actuation type, and control logic.
Explain the working principle of SLAM (Simultaneous Localization and Mapping) and implement a simple version using Python or ROS.
Develop a PLC ladder logic for a conveyor belt system with sensors for object detection and sorting.
Write an automation workflow using Arduino/Raspberry Pi to control lights, motors, or temperature sensors in a smart factory setup.
Analyze this robotic workflow [paste system diagram] and identify bottlenecks or points of failure. Suggest optimizations.
Create a state machine model for a warehouse robot performing pick-and-place operations.
Suggest the best sensor fusion techniques for combining IMU and GPS data in autonomous navigation.
Build a machine vision pipeline for detecting and tracking moving objects using OpenCV.
Generate a preventive maintenance schedule for an automated manufacturing line with predictive alerts.
Design a human-robot interaction interface, focusing on safety, feedback mechanisms, and control intuitiveness.
Write a Python ROS node that subscribes to camera input, processes frames for object recognition, and publishes results to another topic.
Create a complete documentation template for a robotics project include hardware specs, control algorithms, flow diagrams, and safety protocols.
Cybersecurity
Write a step-by-step incident response plan for detecting, containing, and recovering from a ransomware attack.
Analyze this network configuration [paste config] and identify potential security risks or misconfigurations.
Generate a checklist of best practices for securing web applications against common OWASP Top 10 vulnerabilities.
Write a Python script to detect and log failed login attempts, including IP tracking and alerting via email or Slack.
Explain how public key infrastructure (PKI) works and provide an example of setting up SSL/TLS for a web server.
Create a penetration testing plan for a small organization, including tools, scope, and reporting format.
Suggest methods to securely store passwords and API keys in an application built with [framework/language].
Evaluate this firewall rule set [paste rules] and suggest improvements for better network segmentation and access control.
Write a guide on setting up multi-factor authentication (MFA) across a company’s internal systems and cloud accounts.
Generate a security awareness training outline for employees to prevent phishing and social engineering attacks.
Explain how to perform vulnerability scanning using tools like Nmap and OpenVAS, and how to interpret the results.
Create a policy for handling sensitive data, including encryption standards, retention periods, and access control.
Write a bash or PowerShell script that checks for outdated packages, weak permissions, or insecure configurations.
Design a secure network architecture for a small business, including DMZ, VPN access, and monitoring setup.
Suggest ways to harden a Linux or Windows server for production environments.
Write a disaster recovery and data backup strategy that minimizes downtime and ensures data integrity.
Explain how to detect and mitigate DDoS attacks using both on-premise and cloud-based solutions.
Generate a detailed report template for documenting penetration test findings, including severity ratings and remediation steps.
Write a plan for implementing zero trust architecture in a mid-sized company’s IT infrastructure.
Create a regular security audit checklist for servers, networks, and cloud resources, including log reviews, patches, and permissions.
Hardware Engineering
Design a schematic for a microcontroller-based system that monitors temperature and controls a fan automatically.
Explain how to select the right microcontroller for a project based on power consumption, memory, and I/O requirements.
Write a step-by-step guide for designing a PCB using tools like Altium, KiCad, or Eagle, including layout and routing tips.
Analyze this circuit diagram [paste diagram] and identify design flaws or potential reliability issues.
Suggest 5 beginner-to-advanced hardware engineering projects with descriptions, required components, and expected outcomes.
Create a bill of materials (BOM) for this circuit [paste details], including component specifications and sourcing suggestions.
Write embedded C code to interface a microcontroller with a sensor and display real-time data on an LCD screen.
Optimize this circuit [paste schematic] for power efficiency and component cost reduction.
Generate a test and validation plan for verifying a new PCB design before production.
Explain how to use simulation tools (like LTspice or Proteus) to test circuit behavior and performance.
Design a power supply circuit that converts 230V AC to 5V DC with protection mechanisms for overload and short-circuit.
Write a detailed explanation of how to perform signal integrity analysis on high-speed PCB traces.
Suggest best practices for designing circuits that are EMI/EMC compliant and meet regulatory standards.
Create a step-by-step guide for integrating sensors and actuators into an embedded hardware prototype.
Explain the process of moving a hardware prototype from breadboard to production-ready PCB.
Write firmware code to handle interrupts and manage communication between peripherals (like UART, SPI, or I2C).
Develop a hardware testing procedure to verify component functionality, connectivity, and tolerance margins.
Suggest techniques for thermal management in high-power electronic systems.
Write documentation for a hardware project, including system overview, block diagrams, design rationale, and testing results.
Create a maintenance and troubleshooting checklist for diagnosing faults in embedded or power electronic systems.