Free Prompt Library


The Prompt Library is an innovative tool offering a curated collection of free text, image, and video prompts across various domains. Designed for seamless execution on generative AI platforms like ChatGPT, Bard, Claude, and others, it’s a go-to resource for enhancing AI interactions and creativity.


Prompt Name Prompt Type Category Actions
Enhancing Code Time Complexity Act as a software developer. Help me improve the time complexity of the code below. [INSERT CODE] Text Time Complexity Improvement, Code Optimization, Efficiency
Copy Add
Optimizing Python Pandas Code for Efficiency Act as a Python code optimizer. Point out what's wrong with the following pandas code and optimize it? [INSERT CODE] Text Pandas Optimization, Python, Data Processing
Copy Add
Decoding SQL Code and Its Function Act as a. Explain to me what this SQL code is doing? [INSERT SQL CODE] Text Database Query Analysis, SQL
Copy Add
Speeding Up SQL Code Execution Act as a SQL code optimizer. The following code is slow. Can you help me speed it up? [INSERT SQL] Text SQL Optimization, Database Performance
Copy Add
Unit Test Writing for Function Act as an expert programmer in [PROGRAMMING LANGUAGE]. Write unit tests for the function [FUNCTION NAME]? [INSERT INSTRUCTIONS, IF ANY] [INSERT CODE] Text Unit Testing, Quality Assurance, Programming
Copy Add
Function Explanation in Programming Act as an Expert Coder in [PROGRAMMING LANGUAGE]. I don't understand this function. Can you please explain what it does, and provide an example? [INSERT FUNCTION] Text Code Explanation, Education, Programming
Copy Add
Code Translation Between Languages Act as an expert programmer in [PROGRAMMING LANGUAGE]. Translate the following code in [PROGRAMMING LANGUAGE] to [ANOTHER PROGRAMMING LANGUAGE]. [INSERT CODE] Text Code Translation, Language Proficiency, Programming
Copy Add
Programming Language Error Analysis Act as a [PROGRAMMING LANGUAGE] programmer. Here is a piece of [PROGRAMMING LANGUAGE] code representing [PROBLEM STATEMENT][INSERT CODE SNIPPET] I am getting the following error [INSERT ERROR]. What is the reason for the bug? Text Programming, Debugging, Error Analysis
Copy Add
Code Optimization Request Act as a code optimizer in [PROGRAMMING LANGUAGE]. [DESCRIBE PROBLEM WITH THE CODE]. Can you make the code [CLEANER/RUN FASTER/MORE READABLE]? [INSERT CODE] Text Code Optimization, Performance, Readability
Copy Add
Code Simplification Task Act as an expert programmer in [PROGRAMMING LANGUAGE]. Simplify the following code while ensuring that it is [EFFICIENT / READABLE]? [INSERT CODE] Text Code Refactoring, Efficiency, Programming
Copy Add