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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
Effective Social Media Marketing Strategy | Create a dynamic social media marketing strategy for [BUSINESS TYPE/INDUSTRY], focusing on content creation, audience engagement, and analytics-driven optimization. Search the web for current social media trends in [INDUSTRY]. | Text | Social Media Marketing, Marketing Strategy, Marketing | |
SEO Optimization | Provide a step-by-step guide to optimize my website's SEO for [target keywords]. | Text | SEO Optimization, Digital Marketing, Website Development | |
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 | |
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 | |
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 |