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
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
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
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
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
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
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
Draft Legal Documents I need to draft a terms of service document for my new e-commerce website. Can you help me create a draft that covers all necessary legal points in clear language? Text Legal
Copy Add