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 |
---|---|---|---|---|
Brainstorm implementation ideas | I need to build [EXPLAIN THE TASK'S REQUIREMENTS]. Should I [LIST THE OPTIONS YOU ARE CONSIDERING]? Explain the tradeoffs of each option. | Text | Software engineering, Brainstrorming | |
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 | |
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 | |
Generate test data | Generate SQL insert statements to populate the following tables with [NUMBER OF ENTRIES] entries of dummy data that [REQUIREMENTS FOR THE DATA TO BE GENERATED]. [CREATE STATEMENTS OF THE TABLES TO POPULATE] | Text | Software engineering, Test data, QA | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
Generate test cases for requirements | Generate a test plan for the requirements listed below. Your tests should follow [TEST FORMAT GUIDELINES]. Requirements: [LIST THE TASK'S REQUIREMENTS] | Text | Software engineering, QA, Test Cases | |
Act as a Career Counselor | I want you to act as a career counselor. I will provide you with an individual looking for guidance in their professional life, and your task is to help them determine what careers they are most suited for based on...more | Text | Career, Career Counselor | |
Comparing Algorithm Efficiency in Python | Act as a software developer. I would like to compare the efficiency of two algorithms that perform the same task in Python. Write code that helps me run an experiment that can be repeated for 5 times. Output the runtime and other summary statistics of the experiment. [INSERT FUNCTION] | Text | Algorithm Efficiency, Python, Performance Analysis |