Tech & Programming AI Prompts for Developers

Code smarter, not harder! Instant AI prompts for developers to generate scripts, debug code & solve tech challenges on any platform. 10 specialized prompt categories for developers and tech professionals!

Tech Programming AI Prompts

Tech/Programming AI Prompts

Web Development

Frontend Code

Create a responsive [component] using [framework] that: 1. Implements mobile-first design 2. Includes accessibility features 3. Has smooth animations 4. Works across browsers 5. Follows [BEM/SMACSS] methodology Example: "Navigation bar with dropdown menus"
Replace [component], [framework], and choose methodology

Backend API

Design a RESTful API for [application] using [language/framework] that: 1. Has CRUD endpoints for [resource] 2. Implements JWT authentication 3. Includes rate limiting 4. Has proper error handling 5. Follows OpenAPI specification Database: [SQL/NoSQL]
Replace [application], [language/framework], [resource], and choose database

Performance Optimization

Analyze this [website/web app] and recommend: 1. 3 frontend performance improvements 2. 2 backend optimizations 3. Database query optimizations 4. Caching strategies 5. Critical rendering path fixes Current issues: [describe if known]
Replace [website/web app] and add known issues

Security Best Practices

List 10 essential security measures for [type of application] including: 1. Authentication protections 2. Data validation approaches 3. Secure communication protocols 4. Dependency management 5. Monitoring strategies Tech stack: [list if specific]
Replace [type of application] and add tech stack if needed

Mobile Development

Android App

Create a [feature] for an Android app using Kotlin that: 1. Follows Material Design guidelines 2. Implements ViewModel architecture 3. Handles configuration changes 4. Includes unit tests 5. Works with API level [version] Example: "User profile screen with edit functionality"
Replace [feature] and [version]

iOS App

Develop a [component] for iOS using SwiftUI that: 1. Adapts to different screen sizes 2. Implements MVVM pattern 3. Has smooth animations 4. Follows Human Interface Guidelines 5. Supports dark/light mode Example: "Custom tab bar with badges"
Replace [component]

Cross-Platform

Build a [feature] using [Flutter/React Native] that: 1. Shares maximum code between platforms 2. Implements platform-specific UI where needed 3. Handles device permissions 4. Optimizes performance 5. Includes integration tests Example: "Camera integration with image processing"
Replace [feature] and choose framework

App Optimization

Recommend improvements for [mobile app] to: 1. Reduce battery consumption 2. Minimize memory usage 3. Decrease APK/IPA size 4. Improve cold start time 5. Enhance scrolling performance Current issues: [describe if known]
Replace [mobile app] and add known issues

Data Science

Data Analysis

Analyze [dataset] using Python to: 1. Clean and preprocess the data 2. Identify key trends and patterns 3. Create visualizations for insights 4. Detect outliers and anomalies 5. Generate summary statistics Libraries: [Pandas/Matplotlib/Seaborn]
Replace [dataset] and list libraries

Machine Learning

Build a [type of model] to predict [outcome] that: 1. Explores different algorithms 2. Handles feature engineering 3. Implements cross-validation 4. Optimizes hyperparameters 5. Evaluates performance metrics Framework: [Scikit-learn/TensorFlow/PyTorch]
Replace [type of model], [outcome], and choose framework

Deep Learning

Design a neural network for [task] using [framework] that: 1. Selects appropriate architecture 2. Handles data preprocessing 3. Implements callbacks 4. Visualizes training progress 5. Deploys as a web service Example: "Image classification with transfer learning"
Replace [task], [framework]

Big Data

Process [large dataset] using [Spark/Hadoop] to: 1. Clean and transform the data 2. Perform distributed computations 3. Optimize resource usage 4. Handle streaming data 5. Store results efficiently Cluster size: [describe if known]
Replace [large dataset], choose framework, and add cluster details

DevOps & Cloud

CI/CD Pipeline

Create a CI/CD pipeline for [project] that: 1. Automates testing (unit, integration) 2. Handles build artifacts 3. Implements deployment strategies 4. Includes rollback procedures 5. Monitors deployment health Tools: [GitHub Actions/Jenkins/CircleCI]
Replace [project] and choose tools

Cloud Architecture

Design a [AWS/Azure/GCP] architecture for [application] that: 1. Implements high availability 2. Scales automatically 3. Optimizes costs 4. Ensures security compliance 5. Includes disaster recovery Expected traffic: [estimate if known]
Replace [AWS/Azure/GCP], [application], and add traffic estimate

Containerization

Containerize [application] using Docker that: 1. Minimizes image size 2. Handles multi-stage builds 3. Implements health checks 4. Follows security best practices 5. Orchestrates with Kubernetes Runtime requirements: [list if specific]
Replace [application] and add runtime requirements

Infrastructure Security

Secure [cloud environment] by implementing: 1. Network segmentation 2. Identity and access management 3. Data encryption 4. Logging and monitoring 5. Compliance controls Standards: [ISO/SOC2/HIPAA if applicable]
Replace [cloud environment] and add compliance standards

Programming Languages

Python

Write a Python script to [task] that: 1. Uses type hints 2. Implements error handling 3. Follows PEP 8 guidelines 4. Includes unit tests 5. Has documentation Example: "Process CSV files with pandas"
Replace [task]

Java

Create a Java application to [function] that: 1. Follows OOP principles 2. Uses modern Java features 3. Implements design patterns 4. Includes JUnit tests 5. Handles exceptions properly Example: "REST client with Spring Boot"
Replace [function]

JavaScript

Develop a JavaScript [feature] that: 1. Works in modern browsers 2. Uses ES6+ features 3. Handles async operations 4. Includes error handling 5. Has unit tests Example: "Form validation with custom rules"
Replace [feature]

System Design

Design [system] that: 1. Scales to [number] users 2. Handles [data volume] 3. Implements fault tolerance 4. Optimizes for performance 5. Balances cost and efficiency Example: "URL shortening service"
Replace [system], [number], and [data volume]

Cybersecurity

Ethical Hacking

Conduct a security assessment of [system] that: 1. Identifies vulnerabilities 2. Tests authentication mechanisms 3. Checks for injection flaws 4. Verifies data protection 5. Recommends mitigation strategies Tools: [list preferred tools]
Replace [system] and list tools

Secure Coding

List 10 secure coding practices for [language] including: 1. Input validation techniques 2. Memory management 3. Cryptography usage 4. Error handling 5. Session management Standards: [OWASP/CERT if applicable]
Replace [language] and add standards

Network Security

Design a network security architecture that: 1. Segments internal networks 2. Implements firewall rules 3. Monitors for intrusions 4. Protects against DDoS 5. Logs security events Organization size: [small/medium/large]
Choose organization size

IAM Strategy

Create an Identity and Access Management plan that: 1. Implements least privilege 2. Uses multi-factor authentication 3. Manages credentials securely 4. Reviews permissions regularly 5. Integrates with [HR system] Compliance: [GDPR/HIPAA if applicable]
Replace [HR system] and add compliance

Blockchain

Smart Contracts

Develop a smart contract for [purpose] using [Solidity/Vyper] that: 1. Implements core functionality 2. Includes security checks 3. Handles edge cases 4. Optimizes gas usage 5. Has test coverage Example: "ERC-20 token with minting"
Replace [purpose] and choose language

DApp Architecture

Design a decentralized application for [use case] that: 1. Selects appropriate blockchain 2. Implements frontend integration 3. Handles wallet connections 4. Manages transaction flows 5. Includes fallback mechanisms Example: "NFT marketplace"
Replace [use case]

Tokenomics

Create a tokenomics model for [project] that: 1. Defines token utility 2. Plans distribution 3. Implements incentives 4. Ensures sustainability 5. Complies with regulations Token type: [utility/governance/security]
Replace [project] and choose token type

Blockchain Security

Audit [smart contract/DApp] for security vulnerabilities: 1. Check reentrancy risks 2. Verify access controls 3. Test arithmetic operations 4. Review oracle usage 5. Recommend improvements Tools: [MythX/Slither if preferred]
Replace [smart contract/DApp] and list tools

Game Development

Game Design

Design a [genre] game that: 1. Has compelling core mechanics 2. Balances difficulty 3. Implements progression 4. Includes feedback systems 5. Supports [single/multiplayer] Example: "Roguelike dungeon crawler"
Replace [genre] and choose player mode

Unity Development

Create a [feature] in Unity that: 1. Uses C# scripts 2. Implements physics 3. Handles input 4. Optimizes performance 5. Works across platforms Example: "Character controller with animations"
Replace [feature]

VR/AR Gameplay

Develop a VR/AR [game element] that: 1. Handles motion controls 2. Manages spatial audio 3. Optimizes for frame rate 4. Reduces motion sickness 5. Tests on target devices Example: "Inventory system with hand tracking"
Replace [game element]

Game Optimization

Optimize [game] performance by: 1. Analyzing frame timings 2. Reducing draw calls 3. Improving asset loading 4. Implementing LODs 5. Balancing quality settings Target platform: [console/PC/mobile]
Replace [game] and choose platform

AI & ML Engineering

Model Training

Train a [type of model] on [dataset] that: 1. Preprocesses data effectively 2. Selects appropriate architecture 3. Implements callbacks 4. Tracks experiments 5. Evaluates thoroughly Framework: [TensorFlow/PyTorch]
Replace [type of model], [dataset], and choose framework

ML Pipeline

Create an ML pipeline for [task] that: 1. Handles data ingestion 2. Implements feature engineering 3. Trains and validates models 4. Serves predictions 5. Monitors performance Tools: [MLflow/Kubeflow]
Replace [task] and choose tools

Model Deployment

Deploy [model] as a web service that: 1. Containerizes the application 2. Scales automatically 3. Monitors performance 4. Handles versioning 5. Secures endpoints Platform: [AWS SageMaker/GCP Vertex AI]
Replace [model] and choose platform

NLP Application

Build an NLP application for [purpose] that: 1. Preprocesses text data 2. Implements [BERT/GPT] models 3. Fine-tunes on domain data 4. Evaluates performance 5. Deploys with API Example: "Sentiment analysis for reviews"
Replace [purpose] and choose model

IT & SysAdmin

Automation Script

Write a [bash/Python] script to automate [task] that: 1. Handles errors gracefully 2. Logs activities 3. Sends notifications 4. Can be scheduled 5. Has documentation Example: "Backup database weekly"
Replace [bash/Python] and [task]

Network Setup

Design a network for [organization] that: 1. Segments departments 2. Implements VLANs 3. Configures firewalls 4. Sets up monitoring 5. Plans for growth Size: [small/medium/large enterprise]
Replace [organization] and choose size

Database Administration

Optimize [database] performance by: 1. Analyzing query execution 2. Creating proper indexes 3. Configuring caching 4. Setting up replication 5. Planning maintenance DBMS: [MySQL/PostgreSQL/MongoDB]
Replace [database] and choose DBMS

IT Security Policy

Develop an IT security policy for [company] covering: 1. Access controls 2. Device management 3. Data protection 4. Incident response 5. Employee training Compliance: [ISO 27001/NIST if needed]
Replace [company] and add compliance

Post a Comment

0Comments

Please do not enter any spam links in the comment box.

Post a Comment (0)