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
Convert file formats (eg: XML to JSON) Convert the following [CURRENT FILE FORMAT] file into [NEW FILE FORMAT] format. The response should be enclosed in a code block. [ORIGINAL FILE TO BE CONVERTED] Text Software engineering, File conversion
Copy Add
Generate documentation Generate documentation for the code below. You should [LIST ALL YOUR GUIDELINES FOR WHAT THE DOCUMENTATION SHOULD INCLUDE]. [CODE YOU WANT TO GENERATE DOCUMENTATION FOR] Text Software engineering, Code documentation
Copy Add
Generate boilerplate code Generate boilerplate code for an app that [EXPLAIN WHAT YOU NEED THIS APP TO DO]. Please use [EXPLAIN WHAT LANGUAGES AND FRAMEWORKS SHOULD BE USED]. Text Software engineering, Boilerplate code, Coding
Copy Add
Pick names for variables and functions Please suggest relevant names for my variables and functions in the below code, and rewrite the whole code snippet using your suggestions. The response should be enclosed in a code block. [CODE WITH VARIABLES/FUNCTIONS TO BE RENAMED]. Text Software engineering, Naming
Copy Add
Find bugs in code Please find the bug in the code below. This is what it should be doing: [REQUIREMENTS TO BE FULFILLED] Code: [CODE WHERE YOU WANT TO FIND BUGS] Text Software engineering, Bug fixing
Copy Add
Explain code Explain the code below. Make sure to include explanations to each line, each function, and to the overall code snippet. [CODE YOU WANT TO BE EXPLAINED] Text Software engineering, Coding
Copy Add
Write test cases Write unit tests for [CASES TO BE TESTED] on the below code snippet. You should follow [UNIT TESTING GUIDELINES TO FOLLOW]. Your tests should be written in [LANGUAGE AND FRAMEWORK TO BE USED]. [CODE YOU WANT TO WRITE TEST CASES FOR] Text Software engineering, Test cases, QA
Copy Add
Code review I'm opening a Pull Request with the code below. Write a code review for it, focusing on [WHAT THE CODE REVIEW SHOULD FOCUS ON]. [CODE YOU WANT TO BE REVIEWED] Text Software engineering, Code review
Copy Add
Comment code Comment the code below. Make sure your comments are clear and follow [YOUR PREFERRED CODE COMMENTING STANDARDS]. Your response should be displayed inside a code block. [CODE YOU WANT TO BE COMMENTED] Text Software engineering, Code commenting
Copy Add
Refactor code Rewrite the following code using [LANGUAGE, FRAMEWORK, AND ANY OTHER PREFERENCES FOR THE REFACTORED CODE]. [CODE YOU WANT TO BE REFACTORED] Text Software engineering, Code refactoring
Copy Add
Explore Data Act as a data scientist and code for me. I have a dataset of [describe dataset]. Write code for data visualisation and exploration. Text Data Visualization, Data Exploration, Python
Copy Add
Train Time Series Act as a data scientist and code for me. I have a time series dataset [describe dataset]. Build a machine learning model that predicts [target variable]. Use [time range] as train and [time range] as validation. Text Time Series Analysis, Machine Learning, Python
Copy Add
Get Feature Importance Act as a data scientist and explain the model’s results. I have trained a decision tree model and I would like to find the most important features. Write the code. Text Feature Importance, Python, Machine Learning
Copy Add
Train Classification Model Act as a data scientist and code for me. I have a dataset of [describe dataset]. Build a machine learning model that predicts [target variable]. Text Data Science, Machine Learning, Classification Model
Copy Add
Tune Hyperparameter Act as a data scientist and code for me. I have trained a [model name]. Write the code to tune the hyperparameters. Text Hyperparameter Tuning, Machine Learning, Python
Copy Add