Developers ChatGPT Prompts
Debug faster, write cleaner code, and learn new languages with your AI pair programmer.
Code Review for Python Application
Review the following Python code for best practices, security vulnerabilities, performance optimization, and maintainability. Provide specific recommendations and refactored code examples: [PASTE YOUR CODE HERE]
Code Review for JavaScript Application
Review the following JavaScript code for best practices, security vulnerabilities, performance optimization, and maintainability. Provide specific recommendations and refactored code examples: [PASTE YOUR CODE HERE]
Code Review for TypeScript Application
Review the following TypeScript code for best practices, security vulnerabilities, performance optimization, and maintainability. Provide specific recommendations and refactored code examples: [PASTE YOUR CODE HERE]
Code Review for Java Application
Review the following Java code for best practices, security vulnerabilities, performance optimization, and maintainability. Provide specific recommendations and refactored code examples: [PASTE YOUR CODE HERE]
Code Review for C++ Application
Review the following C++ code for best practices, security vulnerabilities, performance optimization, and maintainability. Provide specific recommendations and refactored code examples: [PASTE YOUR CODE HERE]
API Design for task management
Design a RESTful API for a task management application. Include endpoint definitions, request/response schemas, authentication methods, error handling, and API documentation structure.
API Design for social media scheduling
Design a RESTful API for a social media scheduling application. Include endpoint definitions, request/response schemas, authentication methods, error handling, and API documentation structure.
API Design for e-commerce
Design a RESTful API for a e-commerce application. Include endpoint definitions, request/response schemas, authentication methods, error handling, and API documentation structure.
API Design for booking
Design a RESTful API for a booking application. Include endpoint definitions, request/response schemas, authentication methods, error handling, and API documentation structure.
API Design for file sharing
Design a RESTful API for a file sharing application. Include endpoint definitions, request/response schemas, authentication methods, error handling, and API documentation structure.
Database Schema for e-commerce
Create a normalized database schema for a e-commerce system. Include tables, relationships, indexes, constraints, and sample queries for common operations.
Database Schema for social networking
Create a normalized database schema for a social networking system. Include tables, relationships, indexes, constraints, and sample queries for common operations.
Database Schema for project management
Create a normalized database schema for a project management system. Include tables, relationships, indexes, constraints, and sample queries for common operations.
Database Schema for CRM
Create a normalized database schema for a CRM system. Include tables, relationships, indexes, constraints, and sample queries for common operations.
Database Schema for inventory management
Create a normalized database schema for a inventory management system. Include tables, relationships, indexes, constraints, and sample queries for common operations.
Unit Tests for {function}
Write comprehensive unit tests for the following Python function. Include test cases for normal operation, edge cases, error conditions, and boundary values: [PASTE YOUR FUNCTION HERE]
Unit Tests for {function}
Write comprehensive unit tests for the following JavaScript function. Include test cases for normal operation, edge cases, error conditions, and boundary values: [PASTE YOUR FUNCTION HERE]
Unit Tests for {function}
Write comprehensive unit tests for the following TypeScript function. Include test cases for normal operation, edge cases, error conditions, and boundary values: [PASTE YOUR FUNCTION HERE]
Unit Tests for {function}
Write comprehensive unit tests for the following Java function. Include test cases for normal operation, edge cases, error conditions, and boundary values: [PASTE YOUR FUNCTION HERE]
Unit Tests for {function}
Write comprehensive unit tests for the following C++ function. Include test cases for normal operation, edge cases, error conditions, and boundary values: [PASTE YOUR FUNCTION HERE]
Algorithm Optimization for sorting large datasets
Optimize the following algorithm for sorting large datasets. Analyze time and space complexity, identify bottlenecks, and provide an improved implementation with explanation: [PASTE YOUR ALGORITHM HERE]
Algorithm Optimization for finding shortest path
Optimize the following algorithm for finding shortest path. Analyze time and space complexity, identify bottlenecks, and provide an improved implementation with explanation: [PASTE YOUR ALGORITHM HERE]
Algorithm Optimization for string matching
Optimize the following algorithm for string matching. Analyze time and space complexity, identify bottlenecks, and provide an improved implementation with explanation: [PASTE YOUR ALGORITHM HERE]
Algorithm Optimization for data compression
Optimize the following algorithm for data compression. Analyze time and space complexity, identify bottlenecks, and provide an improved implementation with explanation: [PASTE YOUR ALGORITHM HERE]
Algorithm Optimization for load balancing
Optimize the following algorithm for load balancing. Analyze time and space complexity, identify bottlenecks, and provide an improved implementation with explanation: [PASTE YOUR ALGORITHM HERE]
Microservices Architecture Design
Design a microservices architecture for [APPLICATION TYPE]. Include service boundaries, communication patterns, data management, deployment strategy, and monitoring approach.
Security Audit Checklist
Create a comprehensive security audit checklist for web applications. Cover authentication, authorization, data protection, API security, and common vulnerabilities (OWASP Top 10).
Code Refactoring Plan
Analyze this codebase and create a refactoring plan. Identify code smells, technical debt, performance bottlenecks, and prioritize improvements with estimated effort.
CI/CD Pipeline Setup
Design a CI/CD pipeline for [PROJECT TYPE]. Include build stages, testing strategy, deployment environments, rollback procedures, and monitoring integration.
Technical Documentation Template
Create a technical documentation template for [API/LIBRARY]. Include overview, installation, configuration, usage examples, API reference, troubleshooting, and contribution guidelines.