Prompt Library

AI Prompt Generator

Discover 177+ professional prompts for ChatGPT, Claude, and GPT-4. Explore by category, language, and task to accelerate your workflow.

177
Prompts
10
Categories
14
Languages
0
Favorites
Popular filters:

Showing 177 of 177 prompts

Comprehensive Code Review

Perform a thorough code review focusing on best practices, performance, and maintainability

Code Review
#code-review#best-practices+1 more

React Component Review

Specialized review for React components focusing on hooks, performance, and patterns

Code ReviewJavaScript
#react#frontend+2 more

Extract and Modularize

Refactor code to improve modularity and separation of concerns

Refactoring
#refactoring#clean-code+2 more

Async/Await Refactoring

Convert callback-based or promise-based code to modern async/await syntax

RefactoringJavaScript
#async#promises+2 more

Systematic Bug Analysis

Step-by-step debugging approach for identifying root causes

Debugging
#debugging#troubleshooting+1 more

Memory Leak Detection

Identify and fix memory leaks in JavaScript applications

DebuggingJavaScript
#memory#performance+2 more

API Documentation Generator

Generate comprehensive API documentation with examples

Documentation
#api#documentation+2 more

README Generator

Create a comprehensive README.md for a project

Documentation
#readme#documentation+2 more

Unit Test Generator

Generate comprehensive unit tests with edge cases

Testing
#testing#unit-tests+2 more

E2E Test Scenarios

Create end-to-end test scenarios for user workflows

TestingJavaScript
#e2e#testing+2 more

System Design Review

Analyze and improve system architecture design

Architecture
#system-design#architecture+2 more

Microservices Design

Design microservices architecture for a monolithic application

Architecture
#microservices#distributed+2 more

Performance Optimization Analysis

Identify and fix performance bottlenecks in code

Performance
#performance#optimization+2 more

Database Query Optimization

Optimize SQL queries and database performance

PerformanceSQL
#database#sql+2 more

Security Vulnerability Scan

Identify security vulnerabilities and suggest fixes

Security
#security#vulnerabilities+2 more

API Security Hardening

Secure API endpoints against common attacks

Security
#api#security+2 more

Concept Explanation with Examples

Explain complex programming concepts with practical examples

Learning
#learning#tutorial+2 more

Code Pattern Implementation

Learn design patterns with practical implementations

Learning
#design-patterns#learning+2 more

Code to Different Language

Convert code from one programming language to another

General
#conversion#polyglot+2 more

Git Commit Message Generator

Generate clear, conventional commit messages

General
#git#version-control+2 more

Code Complexity Analysis

Analyze code complexity and suggest simplifications

General
#complexity#analysis+2 more

Security-Focused Review

Deep security analysis for sensitive code

Code Review
#security#owasp+2 more

React Hooks Best Practices

Review React hooks usage and patterns

Code ReviewJavaScript
#react#hooks+2 more

API Design Review

Review REST API design and implementation

Code Review
#api#rest+2 more

Database Schema Review

Analyze database design and queries

Code ReviewSQL
#database#schema+2 more

TypeScript Type Safety

Review TypeScript code for type safety

Code ReviewTypeScript
#typescript#types+2 more

Performance Profiling

Debug performance bottlenecks systematically

Debugging
#performance#profiling+2 more

Async/Promise Debugging

Debug complex async flows and promise chains

DebuggingJavaScript
#async#promises+2 more

React Component Debugging

Debug React component issues

DebuggingJavaScript
#react#components+2 more

API Integration Debugging

Debug API communication issues

Debugging
#api#http+2 more

Database Connection Issues

Debug database connectivity problems

Debugging
#database#connection+2 more

Design Pattern Implementation

Refactor to implement design patterns

Refactoring
#design-patterns#refactoring+2 more

Legacy Code Modernization

Modernize legacy code gradually

Refactoring
#legacy#modernization+2 more

Function Decomposition

Break down complex functions

Refactoring
#functions#decomposition+2 more

Data Structure Optimization

Optimize data structures for better performance

Refactoring
#data-structures#optimization+2 more

OpenAPI/Swagger Documentation

Generate OpenAPI specification

Documentation
#openapi#swagger+2 more

Code Comments Best Practices

Add meaningful code comments

Documentation
#comments#documentation+2 more

Architecture Decision Record

Document architectural decisions

Documentation
#architecture#adr+2 more

Release Notes Generator

Create comprehensive release notes

Documentation
#release-notes#changelog+2 more

Integration Test Suite

Create comprehensive integration tests

Testing
#integration-testing#testing+1 more

Test Data Generation

Generate realistic test data

Testing
#test-data#testing+2 more

API Contract Testing

Test API contracts and schemas

Testing
#api#contract-testing+2 more

Performance Test Scenarios

Design performance test cases

Testing
#performance#load-testing+2 more

Serverless Architecture Design

Design serverless application architecture

Architecture
#serverless#cloud+3 more

Event-Driven Architecture

Design event-driven systems

Architecture
#event-driven#messaging+2 more

Caching Strategy Design

Design multi-layer caching strategy

Architecture
#caching#performance+2 more

Database Sharding Strategy

Design database sharding approach

Architecture
#database#sharding+2 more

Frontend Performance Audit

Comprehensive frontend performance analysis

PerformanceJavaScript
#frontend#performance+2 more

React Performance Optimization

Optimize React application performance

PerformanceJavaScript
#react#performance+2 more

API Response Optimization

Optimize API response times

Performance
#api#performance+2 more

Memory Usage Optimization

Reduce application memory footprint

Performance
#memory#optimization+2 more

Authentication Implementation

Implement secure authentication

Security
#authentication#security+2 more

Input Validation & Sanitization

Comprehensive input validation

Security
#validation#security+2 more

Secure Data Storage

Implement secure data storage practices

Security
#encryption#storage+2 more

Security Headers Configuration

Configure security headers properly

Security
#headers#security+2 more

Technology Comparison

Compare similar technologies objectively

Learning
#comparison#learning+2 more

Algorithm Explanation

Explain algorithms with examples

Learning
#algorithms#learning+2 more

Framework Deep Dive

Learn framework internals

Learning
#framework#learning+2 more

Error Message Writing

Write helpful error messages

General
#errors#ux+2 more

Code Naming Conventions

Suggest better names for code elements

General
#naming#conventions+2 more

Logging Strategy

Implement comprehensive logging

General
#logging#monitoring+2 more

CI/CD Pipeline Design

Design continuous integration/deployment pipeline

General
#cicd#devops+2 more

Code Migration Plan

Plan large-scale code migrations

General
#migration#planning+2 more

Technical Debt Assessment

Evaluate and prioritize technical debt

General
#technical-debt#assessment+2 more

Development Environment Setup

Create comprehensive dev environment setup

General
#setup#environment+2 more

Next.js App Optimization

Optimize Next.js applications

PerformanceJavaScript
#nextjs#react+2 more

Vue 3 Composition API

Refactor to Vue 3 Composition API

RefactoringJavaScript
#vue#vue3+2 more

Express.js Security

Secure Express.js applications

SecurityJavaScript
#express#nodejs+2 more

Django Best Practices

Apply Django best practices

Code ReviewPython
#django#python+2 more

Spring Boot Microservice

Design Spring Boot microservice

ArchitectureJava
#spring-boot#java+2 more

Kubernetes Deployment

Create Kubernetes deployment configs

General
#kubernetes#k8s+2 more

Docker Optimization

Optimize Docker images and builds

Performance
#docker#containers+2 more

Terraform Infrastructure

Write Terraform infrastructure code

General
#terraform#iac+2 more

React Native Performance

Optimize React Native app performance

PerformanceJavaScript
#react-native#mobile+2 more

Flutter State Management

Implement Flutter state management

Architecture
#flutter#mobile+2 more

Model Performance Analysis

Analyze ML model performance

GeneralPython
#machine-learning#ml+2 more

Data Pipeline Design

Design data processing pipeline

Architecture
#data-engineering#pipeline+2 more

API Contract Review

Review API handler code for correctness and contract alignment

Code ReviewTypeScript
#api#contract+2 more

Go Concurrency Review

Review goroutine usage, channels, and cancellation patterns

Code ReviewGo
#go#concurrency+2 more

SQL Query Review

Evaluate SQL queries for correctness, performance, and safety

Code ReviewSQL
#sql#database+2 more

Python Data Pipeline Review

Review ETL pipeline code for reliability and correctness

Code ReviewPython
#python#etl+2 more

.NET Service Review

Review C# service code for quality, resiliency, and performance

Code ReviewC#
#csharp#dotnet+2 more

Rust Safety Review

Review Rust code for safety, lifetimes, and error handling

Code ReviewRust
#rust#safety+2 more

Swift UI Review

Review SwiftUI or UIKit code for best practices and structure

Code ReviewSwift
#swift#ios+2 more

Kotlin Android Review

Review Android Kotlin code for architecture and correctness

Code ReviewKotlin
#kotlin#android+2 more

Legacy Code Review

Review legacy code for risk, cleanup, and modernization

Code Review
#legacy#modernization+2 more

Security-Focused Code Review

Audit code for security vulnerabilities and unsafe patterns

Code Review
#security#review+2 more

Monolith to Modules

Refactor a monolith into cohesive modules

Refactoring
#refactoring#modularity+2 more

React Hooks Migration

Migrate class components to hooks with best practices

RefactoringJavaScript
#react#hooks+2 more

Go Error Handling Cleanup

Standardize error handling patterns in Go code

RefactoringGo
#go#errors+2 more

Python Dataclass Refactor

Refactor classes to dataclasses and type hints

RefactoringPython
#python#dataclass+2 more

Inheritance to Composition

Replace deep inheritance with composition in OOP code

RefactoringJava
#oop#composition+2 more

TypeScript Type Simplification

Simplify complex TypeScript types and generics

RefactoringTypeScript
#typescript#types+2 more

SQL Query Refactor

Refactor SQL queries for clarity and performance

RefactoringSQL
#sql#refactor+2 more

C# Async Refactor

Refactor synchronous C# code to async/await

RefactoringC#
#csharp#async+2 more

Rust Ownership Cleanup

Simplify Rust ownership and lifetime usage

RefactoringRust
#rust#ownership+2 more

Layered API Refactor

Refactor handlers into service/repository layers

Refactoring
#architecture#refactor+2 more

Flaky Test Investigation

Systematic debugging of intermittent test failures

Debugging
#testing#flaky+2 more

API Timeout Debugging

Find the cause of slow or timing-out API endpoints

Debugging
#api#timeout+2 more

React Render Debug

Debug unexpected React re-renders and UI glitches

DebuggingJavaScript
#react#rendering+2 more

Go Race Condition Debug

Detect and fix data races in Go services

DebuggingGo
#go#race+2 more

SQL Deadlock Debugging

Diagnose and resolve database deadlocks

DebuggingSQL
#sql#deadlock+2 more

Python Memory Spike Debug

Track down memory growth in Python applications

DebuggingPython
#python#memory+2 more

iOS Crash Debug

Investigate and fix Swift crash reports

DebuggingSwift
#ios#swift+2 more

Android ANR Debug

Diagnose Application Not Responding issues

DebuggingKotlin
#android#anr+2 more

Kubernetes CrashLoop Debug

Investigate CrashLoopBackOff in Kubernetes

Debugging
#kubernetes#debugging+2 more

CI Build Failure Debug

Diagnose and fix build failures in CI

Debugging
#ci#build+2 more

ADR Writer

Write an Architecture Decision Record

Documentation
#adr#architecture+2 more

Runbook Generator

Create operational runbooks for services

Documentation
#runbook#ops+2 more

CLI Reference Doc

Generate CLI command reference documentation

Documentation
#cli#docs+2 more

SDK Quickstart

Write a quickstart guide for an SDK

Documentation
#sdk#quickstart+2 more

Database Schema Doc

Document tables, relationships, and constraints

DocumentationSQL
#database#schema+2 more

Release Notes Draft

Generate release notes from change summaries

Documentation
#release#notes+2 more

Changelog Formatter

Organize a changelog from raw commits

Documentation
#changelog#release+2 more

API Error Catalog

Document API error responses and resolutions

Documentation
#api#errors+2 more

Onboarding Guide

Create a developer onboarding guide

Documentation
#onboarding#docs+1 more

Architecture Overview

Write an architecture overview with diagrams

Documentation
#architecture#overview+2 more

Property-Based Test Generator

Design property-based tests for critical logic

Testing
#testing#property-based+1 more

Contract Test Suite

Generate consumer-driven contract tests

Testing
#testing#contracts+2 more

Integration Test Plan

Plan integration tests across services

Testing
#testing#integration+2 more

Load Test Plan

Create load and stress test scenarios

Testing
#load-testing#performance+2 more

Mutation Testing Setup

Set up mutation testing to gauge test quality

Testing
#testing#mutation+2 more

UI Snapshot Tests

Create snapshot tests for UI components

TestingJavaScript
#ui#snapshot+2 more

Mobile E2E Tests

Design end-to-end tests for mobile flows

Testing
#mobile#e2e+2 more

Migration Test Plan

Test database migrations safely

TestingSQL
#migration#database+2 more

Security Regression Tests

Create tests for security regressions

Testing
#security#testing+2 more

Test Data Factory

Build reusable test data factories

Testing
#testing#fixtures+2 more

Event-Driven Architecture

Design an event-driven system with queues and consumers

Architecture
#events#architecture+2 more

Multi-Tenant SaaS Design

Design architecture for multi-tenant applications

Architecture
#saas#multi-tenant+2 more

Caching Strategy Design

Design cache layers and invalidation strategies

Architecture
#caching#architecture+2 more

Zero-Downtime Migration

Plan schema or service migrations with no downtime

Architecture
#migration#zero-downtime+2 more

Observability Architecture

Design metrics, logs, and tracing strategy

Architecture
#observability#metrics+2 more

Queue-Based Processing

Design background processing with queues

Architecture
#queues#workers+2 more

API Gateway Design

Design an API gateway and routing strategy

Architecture
#api-gateway#architecture+2 more

Feature Flag System

Design a feature flag platform and rollout strategy

Architecture
#feature-flags#architecture+2 more

Data Model Normalization

Design a normalized relational data model

ArchitectureSQL
#database#schema+2 more

Edge vs Cloud Decision

Evaluate edge computing versus centralized cloud

Architecture
#edge#cloud+2 more

Database Index Optimization

Identify and add missing database indexes

PerformanceSQL
#database#indexes+2 more

Frontend Web Vitals Audit

Audit frontend for Core Web Vitals improvements

PerformanceJavaScript
#frontend#web-vitals+2 more

Node.js Event Loop Analysis

Analyze event loop blocking in Node services

PerformanceJavaScript
#nodejs#event-loop+2 more

Python Profiling Plan

Profile Python code and optimize hotspots

PerformancePython
#python#profiling+2 more

Go pprof Optimization

Optimize Go services using pprof data

PerformanceGo
#go#pprof+2 more

Rust Performance Tuning

Optimize Rust code for speed and allocations

PerformanceRust
#rust#performance+2 more

Build Pipeline Speedup

Optimize build and CI execution time

Performance
#ci#build+2 more

API Latency Reduction

Reduce end-to-end API response times

Performance
#api#latency+2 more

Memory Footprint Reduction

Reduce memory usage in services

Performance
#memory#performance+2 more

Caching Optimization Review

Evaluate cache hit rates and invalidation

Performance
#caching#performance+2 more

Threat Modeling Workshop

Run a structured threat model for a feature

Security
#security#threat-model+2 more

OAuth/OIDC Review

Review OAuth/OIDC implementation for security

Security
#oauth#oidc+2 more

Secrets Management Plan

Implement secure secrets storage and rotation

Security
#secrets#security+2 more

Dependency Vulnerability Remediation

Assess and fix vulnerable dependencies

Security
#dependencies#security+2 more

Secure File Uploads

Harden file upload endpoints and storage

Security
#uploads#security+2 more

PII and Privacy Review

Audit code for PII handling and privacy risks

Security
#privacy#pii+2 more

Access Control Review

Review authorization logic for least privilege

Security
#authz#rbac+2 more

Security Logging Redaction

Remove secrets and PII from logs

Security
#logging#redaction+2 more

Incident Response Plan

Create a security incident response playbook

Security
#incident#security+2 more

API Abuse Prevention

Prevent abuse with rate limiting and detection

Security
#api#rate-limiting+2 more

Learn Go Concurrency

Guided learning plan for Go concurrency

LearningGo
#go#concurrency+2 more

Learn Rust Ownership

Step-by-step guide to Rust ownership and borrowing

LearningRust
#rust#ownership+2 more

Learn TypeScript Generics

Learn generics, constraints, and utility types

LearningTypeScript
#typescript#generics+2 more

Learn SQL Joins

Understand SQL joins with practical examples

LearningSQL
#sql#joins+2 more

Learn System Design

Guided system design learning path

Learning
#system-design#learning+1 more

Learn Testing Strategies

Learn unit, integration, and E2E testing

Learning
#testing#learning+1 more

Learn Debugging Skills

Improve debugging approaches and tooling

Learning
#debugging#learning+1 more

Learn Performance Optimization

Learn performance profiling and tuning

Learning
#performance#learning+1 more

Learn Security Basics

Learn essential application security concepts

Learning
#security#learning+1 more

Learn Architecture Patterns

Learn common architecture patterns and tradeoffs

Learning
#architecture#patterns+1 more

Tech Stack Comparison

Compare tech stacks based on project requirements

General
#stack#decision+2 more

Sprint Planning Checklist

Prepare a sprint plan with clear goals

General
#agile#planning+2 more

Project Estimation Guide

Estimate project scope, effort, and risk

General
#estimation#planning+1 more

Code Review Checklist

Create a standardized code review checklist

General
#code-review#checklist+2 more

PR Description Writer

Generate a clear pull request description

General
#pull-request#documentation+1 more

Incident Postmortem

Write a postmortem after an incident

General
#incident#postmortem+2 more

Tool Evaluation Matrix

Compare tools with a weighted decision matrix

General
#tools#decision+2 more

API Spec Draft

Draft an API specification from requirements

General
#api#spec+2 more

Migration Checklist

Create a checklist for safe migrations

General
#migration#checklist+2 more

Risk Assessment

Identify and assess risks for a project or feature

General
#risk#planning+2 more

How to Use AI Prompts Effectively

1. Choose the Right Prompt

Browse our categories or use search to find prompts that match your specific task. Look for prompts tagged with your programming language or framework.

2. Customize Variables

Replace [bracketed] placeholders with your specific requirements. Be as detailed as possible for better AI responses.

3. Copy and Use

Click the copy button to get the prompt, then paste it into your preferred AI tool like ChatGPT, Claude, or GPT-4.

4. Iterate and Refine

If the first response isn't perfect, refine your prompt with more context or constraints for better results.

Popular Prompt Categories

Code Generation

Generate functions, classes, and complete programs

Debugging & Testing

Find bugs, write tests, and optimize performance

Documentation

Create README files, API docs, and code comments