{"id":13434435,"url":"https://github.com/PickleBoxer/dev-chatgpt-prompts","last_synced_at":"2025-03-17T14:31:25.151Z","repository":{"id":152179695,"uuid":"624432016","full_name":"PickleBoxer/dev-chatgpt-prompts","owner":"PickleBoxer","description":"📚 Personal collection of ChatGPT prompts for developers!","archived":false,"fork":false,"pushed_at":"2024-10-10T07:28:11.000Z","size":97,"stargazers_count":1549,"open_issues_count":1,"forks_count":184,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-03-16T08:08:30.113Z","etag":null,"topics":["chatgpt","chatgpt4","code","copilot","faster","ia","prompts","smarter"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PickleBoxer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-06T13:04:16.000Z","updated_at":"2025-03-15T12:05:06.000Z","dependencies_parsed_at":"2024-01-13T16:24:17.036Z","dependency_job_id":"2075bbaf-257c-4428-920e-7fcbeb92ed70","html_url":"https://github.com/PickleBoxer/dev-chatgpt-prompts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PickleBoxer%2Fdev-chatgpt-prompts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PickleBoxer%2Fdev-chatgpt-prompts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PickleBoxer%2Fdev-chatgpt-prompts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PickleBoxer%2Fdev-chatgpt-prompts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PickleBoxer","download_url":"https://codeload.github.com/PickleBoxer/dev-chatgpt-prompts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244050220,"owners_count":20389659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","chatgpt4","code","copilot","faster","ia","prompts","smarter"],"created_at":"2024-07-31T02:01:56.924Z","updated_at":"2025-03-17T14:31:25.138Z","avatar_url":"https://github.com/PickleBoxer.png","language":null,"funding_links":[],"categories":["Others","HarmonyOS","A01_文本生成_文本对话","Documentation and examples","Prompt Libraries For Specific Use-Cases"],"sub_categories":["Windows Manager","大语言对话模型及数据","Documentation, lists, guides, or examples","Developing/Programming (General)"],"readme":"# 🤖 DEV ChatGPT Prompts\n\nWelcome to my personal collection of ChatGPT prompts for developers! 🙌\n\nThis repository contains a list of powerful ChatGPT prompts that can help you get the creative juices flowing. 💡 Whether you are a beginner or an experienced pro, these prompts can help you think outside the box and find new solutions to problems. 🚀\n\nThe list is divided into categories: [ prompts for coders, students, marketers, and content writers ]. So no matter your profession, there is something here for everyone! 😊 Let’s dive right into these powerful ChatGPT prompts that can help take your creativity to the next level! 🌊\n\n## Table of Contents\n\nPrompts for Coders\n\n- [🚩 Tips](#-tips)\n- [🔗 A Multi-Prompt Approach (Prompt Chaining)](#-a-multi-prompt-approach-prompt-chaining)\n  - [1. Modernize and add best practices](#1-modernize-and-add-best-practices)\n  - [2. Review your code for logical errors and security concerns](#2-review-your-code-for-logical-errors-and-security-concerns)\n  - [3. Validate the recommendations (reflection)](#3-validate-the-recommendations-reflection)\n  - [4. Write the Code](#4-write-the-code)\n  - [5. Create Tests](#5-create-tests)\n- [Re-write Prompt](#re-write-prompt)\n- [ChatGPT prompt optimizer](#chatgpt-prompt-optimizer)\n- [Ask for alternatives](#ask-for-alternatives)\n- [Documentation / Explanation](#documentation--explaination)\n  - [📣 Adding Documentation](#-adding-documentation)\n  - [📣 Write your terms and conditions](#-write-your-terms-and-conditions)\n  - [📣 Produce cheat sheets](#-produce-cheat-sheets)\n  - [📣 Generate Readme Files](#-generate-readme-files)\n  - [📣 Write detailed blogs](#-write-detailed-blogs)\n  - [📣 Explain Code](#-explain-code)\n  - [📣 Architecture Diagram (Mermaid)](#-architecture-diagram-mermaid)\n  - [📣 Entity Relationship Diagram (Mermaid)](#-entity-relationship-diagram-mermaid)\n- [Code Refactoring](#code-refactoring)\n  - [📣 Refactor Code](#-refactor-code)\n  - [📣 Modernizing Old Code](#-modernizing-old-code)\n  - [📣 Code in to Multiple Methods](#-code-in-to-multiple-methods)\n  - [📣 Better Performance](#-better-performance)\n  - [📣 Adding a Parameter to a Function](#-adding-a-parameter-to-a-function)\n  - [📣 Adding Coding Best Practices or Principles](#-adding-coding-best-practices-or-principles)\n  - [📣 Follow coding style guidelines](#-follow-coding-style-guidelines)\n  - [📣 Detecting and Fixing Errors](#-detecting-and-fixing-errors)\n  - [📣 Debug a React component](#-debug-a-react-component)\n  - [📣 Create Unit Tests](#-create-unit-tests)\n  - [📣 Transpiling Code](#-transpiling-code)\n  - [📣 Responsive Design](#-responsive-design)\n  - [📣 Internationalization](#-internationalization)\n  - [📣 Add comments to code](#-add-comments-to-code)\n- [Code Generation](#code-generation)\n  - [📣 Create Functions](#-create-functions)\n  - [📣 Generate a Dockerfile](#-generate-a-dockerfile)\n  - [📣 Write a RegEx](#-write-a-regex)\n  - [📣 Create a Class](#-create-a-class)\n  - [📣 Add Functionality](#-add-functionality)\n  - [📣 Create Boilerplate Code](#-create-boilerplate-code)\n  - [📣 You are a world-class software engineer](#-you-are-a-world-class-software-engineer)\n- [Code Review](#code-review)\n  - [📣 Error Handling](#-error-handling)\n  - [📣 Suggest Improvements](#-suggest-improvements)\n- [Product Service Promotion](#product-service-promotion)\n  - [📣 Generate innovative product ideas](#-generate-innovative-product-ideas)\n  - [📣 Develop a unique value proposition](#-develop-a-unique-value-proposition)\n  - [📣 Master the art of storytelling for marketing](#-master-the-art-of-storytelling-for-marketing)\n  - [📣 Create a successful referral program](#-create-a-successful-referral-program)\n  - [📣 Master the art of upselling and cross-selling](#-master-the-art-of-upselling-and-cross-selling)\n  - [📣 Create a viral marketing campaign](#-create-a-viral-marketing-campaign)\n  - [📣 Develop a powerful elevator pitch](#-develop-a-powerful-elevator-pitch)\n  - [📣 Create an actionable marketing plan](#-create-an-actionable-marketing-plan)\n  - [📣 Leverage content marketing for lead generation](#-leverage-content-marketing-for-lead-generation)\n\n## 🚩 Tips\n\nLike many things in life, with GPT-4, you get out what you put in. In this case, providing more context, instructions, and guidance will usually produce better results.\n\nHere are some tips and techniques to improve:\n\n- **Split your prompts:**\nTry breaking your prompts and desired outcome across multiple steps. Keeping prompts to have a single outcome has shown to produce better results than combined prompts. For example, ask for a review, then ask for a refactor based on the review response. This may become less important in time as LLMs increase their token limit.\n\n- **Give Examples:**\nProvide expected inputs, data and outputs to improve accuracy quality. 📝\n\n- **Be Specific:**\nDon’t be afraid to list exactly what you want, what you know, what is needed, and what not to include. 🔎\n\n- **Ask it to Reflect:**\nA technique called reflexion has been shown to increase GPT4’s accuracy. Basically ask it ‘Why were you wrong?’ or get it to reflect and review its own response. 🤔\n\n## 🔗 A multi-prompt approach (prompt chaining)\n\ncan be used to update, refactor, and review a piece of code. A well-designed set of prompts is one where each has separated concerns and singular responsibilities.\n\n### 1. Modernize and add best practices\n\n---\n\nby getting GPT-4 to re-write your code into the style you want. This step will generally result in coherent output, in the style you want, but may introduce errors, so we do it first.\n\n**Prompt:**\n\n```\nReview the following code and re-write it to modern es6 programming standards and formatting:\n\n[insert code here]\n```\n\n### 2. Review your code for logical errors and security concerns\n\n---\n\nGet recommendations to improve any logical or security concerns introduced. It’s important that we don’t ask for a refactor, just the reasoning behind wanting the refactor.\n\n**Prompt:**\n\n```\nReview your provided code 'tempFunction' for any logical or security concerns and provide a list of recommendations.\n```\n\n### 3. Validate the recommendations (reflexion)\n\n---\n\nValidate the provided recommendations. Reflexion is a powerful technique to improve the accuracy of the initial recommendations and try to eliminate any hallucinations. This is not always required but it is worth asking if you are unsure about any recommendations.\n\n**Prompt:**\n\n```\nReview your above recommendations. Tell me why you were wrong and if any recommendations were overlooked or incorrectly added?\n```\n\n### 4. Write the Code\n\n---\n\nCombine your reviews, recommendations and feedback to get GPT-4 to write your new function.\n\n**Prompt:**\n\n```\nRe-write the 'tempFunction' function based off your review and recommendations.\n```\n\n### 5. Create Tests\n\n---\n\nCreate some simple tests that we can run locally and validate the results\n\n**Prompt:**\n\n```\nCreate two [ define technology ] tests for the above 'tempFunction' function. One that is expected to pass and one that is expected to fail.\n```\n\n## Re-write Prompt\n\nLet's see if we can get GPT4 to make or average prompts and turn them into \"voyage inspirant\" type mastery prompts.\n\n**Prompt:**\n\n```\n[your prompt]\n\nRe-write the above text to be more verbose and include a lot of superfluous description about each thing, use very painting language.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n## ChatGPT prompt optimizer\n\n**Prompt:**\n\n```\nI'll provide a chatGPT prompt. You'll ask questions to understand the audience and goals, then optimize the prompt for effectiveness and relevance using the principle of specificity.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n## Ask for alternatives\n\nIf you're not satisfied with your solution you can ask to ChatGPT to give you alternatives\n\n**Prompt:**\n\n```\nI'll provide you with a piece of code that I made and \nI need you give me alternatives to do the same in other way:\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n---\n\n## Documentation / Explaination\n\n### 📣 Adding Documentation\n\n\u003e [!NOTE]\n\u003e Adding documentation requires creating clear and comprehensive explanations of a module’s purpose, design, and implementation.\n\nPrompt 1#:\n\n```\nI don't know how to code, but I want to understand how this works. Explain the following code to me in a way that a non-technical person can understand. Always use Markdown with nice formatting to make it easier to follow. Organize it by sections with headers. Include references to the code as markdown code blocks in each section. The code:\n\n[insert code here]\n```\n\nPrompt 2#:\n\n```\nPlease add comprehensive documentation for [file or module name], including clear and concise explanations of its purpose, design, and implementation. Consider including examples of how to use the module, as well as any relevant diagrams or flow charts to help illustrate its workings. Ensure that the documentation is easily accessible to other developers and is updated as the module evolves. Consider using documentation tools such as inline comments, markdown files, or a documentation generator to simplify the process.\n\n[insert code here]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Write your terms and conditions\n\n**Prompt:**\n\n```\nCreate terms and services for my website about an [AI tool] called [name].\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Produce cheat sheets\n\n**Prompt:**\n\n```\nWrite a cheat sheet for [markdown formatting].\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Generate Readme Files\n\n**Prompt:**\n\n```\nGenerate documentation for the code below. You should include detailed instructions to allow a developer to run it on a local machine, explain what the code does, and list vulnerabilities that exist in this code.\n\n[enter code]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Write detailed blogs\n\n**Prompt:**\n\n```\nWrite a detailed blog on How to build a [COVID tracker] using React with proper structuring of code.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Explain Code\n\n\u003e [!NOTE]\n\u003e Don't spend time trying to figure out how code works, just ask ChatGPT to explain it to you\n\n**Prompt:**\n\n```\nContext: I'm starting a new position as backend developer and I have to start to understand how some functions are working\nTechnologies: [INSERT YOUR TECHNOLOGIES HERE]\nYou have to: explain me the code line by line\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Architecture Diagram (Mermaid)\n\n\u003e [!NOTE]\n\u003e Create a diagram of your architecture using Mermaid\n\n**Prompt:**\n\n```\nWrite the Mermaid code for an architecture diagram for this solution [DESCRIBE SOLUTION]\n```\n\nExample:\n\n```mermaid\n  graph TD;\n  A[Client] --\u003e|HTTP Request| B(API Gateway);\n  B --\u003e|HTTP Request| C[Service 1];\n  B --\u003e|HTTP Request| D[Service 2];\n  C --\u003e|Database Query| E[Database];\n  D --\u003e|Database Query| E;\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Entity Relationship Diagram (Mermaid)\n\n\u003e [!NOTE]\n\u003e Create an entity relationship diagram using Mermaid\n\n**Prompt:**\n\n```\nWrite the Mermaid code for an entity relationship diagram for these classes [INSERT CLASSES]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n## Code Refactoring\n\n### 📣 Refactor Code\n\n\u003e [!NOTE]\n\u003e Ask to ChatGPT to refactor your code\n\n**Prompt:**\n\n```\nI have a piece of code and I need you do a refactor of it:\n\n[INSERT YOUR CODE HERE]\n```\n\nRefactoring code is an essential process in software development that aims to improve the quality, readability, and maintainability of existing code without altering its functionality. Refactoring can enhance code efficiency, reduce errors, and make it easier to modify or extend in the future. With ChatGPT’s help, you can effectively refactor your code and achieve a better code structure.\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Modernizing Old Code\n\n\u003e [!NOTE]\n\u003e By providing your old function to GPT-4 and asking it to refactor it to modern coding practices, you can quickly modernize your code.\n\n**Prompt:**\n\n```\nRefactor the following code to modern es6 programming standards:\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Code in to Multiple Methods\n\n\u003e [!NOTE]\n\u003eIf you have a long function that is doing too much, you can ask GPT-4 to refactor it into multiple methods.\n\n**Prompt:**\n\n```\nRefactor the following code into multiple methods to improve readability and maintainability:\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Better Performance\n\n\u003e [!NOTE]\n\u003e If you have a function that is taking too long to run, you can ask GPT-4 to refactor it to improve performance.\n\n**Prompt:**\n\n```\nRefactor the following code to improve performance:\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Adding a Parameter to a Function\n\n**Prompt:**\n\n```\nAdd a parameter to this function to do [FUNCTIONALITY]\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Adding Coding Best Practices or Principles\n\n\u003e [!NOTE]\n\u003eLet ChatGPT rewrite the code for you according to style guidelines.\n\n**Prompt:**\n\n```\nRewrite the code below following the Google style guidelines for javascript.\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Follow coding style guidelines\n\n\u003e [!NOTE]\n\u003e If your organization or code base uses specific coding practices and styles that you want to maintain, you can provide instructions to GPT-4 on which particular coding practice or style you’d like it to focus on.\n\n**Prompt:**\n\n```\nReview the following code and refactor it to make it more DRY and adopt the SOLID programming principles.\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Detecting and Fixing Errors\n\n\u003e [!NOTE]\n\u003eSometimes we are unaware of the vulnerabilities or potential issues our code can create. Having GPT-4 review and address code issues can save you more than just time.\n\n**Prompt 1#:**\n\n```\nReview this code for errors and refactor to fix any issues:\n\n[INSERT YOUR CODE HERE]\n```\n\n**Prompt 2#:**\n\n```\nI'm developing software in [INSERT YOUR TECHNOLOGIES HERE] and I need you help me to find and\nfix all the errors in my code, following the best practices. I'll provide you my code\nand you'll give me the code with all the corrections explained line by line\n```\n\n**Prompt 3#:**\n\n```\nI wrote this code [CODE] I got this error [ERROR] How can I fix it? or What does this error mean?\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Debug a React component\n\n\u003e [!NOTE]\n\u003eThis process typically involves identifying the source of the error, understanding the issue, and implementing a solution to resolve the issue\n\n**Prompt:**\n\n```\nPlease find and fix the bug in the [component name] component that is causing [describe the issue].\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Create Unit Tests\n\n\u003e [!NOTE]\n\u003eUnit tests are automated tests that check the behavior of individual units of code in isolation. They help catch bugs early and make it easier to maintain the code.\n\n**Prompt 1#:**\n\n```\nPlease write unit tests for [file or module name] to ensure its proper functioning\n\n[insert code here]\n```\n\n**Prompt 2#:**\n\n```\nCreate 2 unit tests for the provided code. One for a successful condition and one for failure.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Transpiling Code\n\n\u003e [!NOTE]\n\u003eThere are many reasons why you may need to convert code from one language to another. For example, you may have found a repository with code for one language that you need in another, you’re moving code bases, or maybe your boss read an article on the latest front-end framework and now you’re moving to a divisive new library.\n\n**Prompt:**\n\n```\nRewrite the following code in Rust:\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Responsive Design\n\n\u003e [!NOTE]\n\u003eResponsive design adapts a website to different screen sizes and devices, using flexible layouts, images, and CSS media queries. It aims to provide a good viewing experience for all users\n\n**Prompt:**\n\n```\nRPlease implement responsive design for the [component name] component to ensure that it looks and functions correctly on different screen sizes and devices. Consider using [responsive design technique or library] to achieve this.\n\n[insert code here]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Internationalization\n\n\u003e [!NOTE]\n\u003eInternationalization, also known as i18n, is the process of designing a software application to be able to support multiple languages and regional differences\n\n**Prompt:**\n\n```\nPlease implement internationalization for the [component name] component to ensure that it can be used by users in multiple languages. Consider using [internationalization library or technique] to achieve this.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Add comments to code\n\n\u003e [!NOTE]\n\u003eIf your code is self-explanatory but requires commenting, this can be a huge time-saver.\n\n**Prompt:**\n\n```\nAdd comments to the following code:\n\n[INSERT YOUR CODE HERE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n## Code Generation\n\n### 📣 Create Functions\n\n\u003e [!NOTE]\n\u003eProvide context of your software and ask directly for creating functions you need for your software\n\n**Prompt:**\n\n```\nContext: I'm creating a software to manage projects\n\nTechnologies: Go, PostgreSQL\n\nDescription: It's a function that let me find users by its email or username.\n\nYou have to: create the function for me\n```\n\nAlso you can add in the description what you expect to receive from your function. If you already have an structure for the User, specify it, for example:\n\n**Prompt:**\n\n```\nContext: I'm creating a software to manage projects\n\nTechnologies: Go, PostgreSQL\n\nDescription: It's a function that let me find users by its email or username and returns the structure type \"Member\"\n\nYou have to: create the function for me\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Generate a Dockerfile\n\n\u003e [!NOTE]\n\u003eA prompt to generate a Dockerfile for a specific framework.\n\n**Prompt:**\n\n```\nWrite a Dockerfile for:\n\n[FRAMEWORK]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Write a RegEx\n\n**Prompt:**\n\n```\nWrite a regular expression that matches / Write a RegEx pattern for:\n\n[REQUEST]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Create a Class\n\n**Prompt:**\n\n```\nCreate a [PLATFORM] class from this JSON object\n\n[JSON]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Add Functionality\n\n**Prompt:**\n\n```\nI need a piece of code in [INSERT YOUR TECHNOLOGIES HERE] to implement [real-time communication]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Create Boilerplate Code\n\n\u003e [!NOTE]\n\u003eStarting new projects can be painful. While GPT-4 doesn’t know your business logic, it can be used to generate boilerplate code. This isn’t technically refactoring, but it’s amazing and can be part of the programming lifecycle process.\n\n**Prompt:**\n\n```\nWrite me a boilerplate Node.js function that will take a variable of type User, validate that the user has the right permissions, fetch an array of item type Posts from a postgres database and return them. Leave comments for business logic.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 You are a world-class software engineer\n\n\u003e [!NOTE]\n\u003eIn this clip I show you how to *drastically* improve ChatGPT’s outputs for software generation.\n\n**Prompt:**\n\n```\nYou are a world-class software engineer.\n\nI need you to draft a technical software spec for building the following:\n[ DESCRIPTION ]\n\nThink through how you would build it step by step.\n\nThen, respond with the complete spec as a well-organized markdown file.\n\nI will then reply with \"build,\" and you will proceed to implement the exact spec, writing all of the code needed. I will periodically interject with \"continue\" to \u003eprompt you to keep going. Continue until complete.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n## Code Review\n\n### 📣 Error Hendling\n\n**Prompt:**\n\n```\nHow can I improve the error handling in my [LANGUAGE] code? [CODE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Suggest Improvements\n\n**Prompt:**\n\n```\nI'm working on a [LANGUAGE] project and I need you to review my code and suggest improvements. [CODE]\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n\n## Product Service Promotion\n\n### 📣 Generate innovative product ideas\n\n**Prompt:**\n\n```\nBrainstorm creative and unique product ideas for [insert industry or market]. \n\nFocus on solving customer pain points and providing exceptional value.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Develop a unique value proposition\n\n**Prompt:**\n\n```\nHelp me articulate a unique value proposition for my [insert product or service].\n\nExplain how this proposition differentiates my offering and appeals to my target audience.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Master the art of storytelling for marketing\n\n**Prompt:**\n\n```\nTeach me storytelling techniques for creating compelling marketing content to promote [insert product or service].\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Create a successful referral program\n\n**Prompt:**\n\n```\nDesign a referral program for [insert business] that incentivizes customers to share and recommend our products or services.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Master the art of upselling and cross-selling\n\n**Prompt:**\n\n```\nTeach me effective upselling and cross-selling techniques to increase revenue and customer satisfaction in [insert business context].\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Create a viral marketing campaign\n\n**Prompt:**\n\n```\nDesign a creative and attention-grabbing marketing campaign for [insert product or service] with the potential to go viral.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Develop a powerful elevator pitch\n\n**Prompt:**\n\n```\n[Insert a brief description of your product, service, or company].\n\nHelp me create a concise and compelling elevator pitch that will effectively communicate the value of my offering.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Create an actionable marketing plan\n\n**Prompt:**\n\n```\nDevelop a marketing plan for [insert product or service]. \n\nInclude objectives, target audience, marketing channels, and tactics for reaching my desired audience and driving sales.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n### 📣 Leverage content marketing for lead generation\n\n**Prompt:**\n\n```text\nDevelop a content marketing strategy for [insert business] to attract, engage, and convert leads into customers.\n```\n\n\u003csup\u003e[⬆️ Back to table of contents](#table-of-contents)\u003c/sup\u003e\n\n\u003cdetails\u003e\n\n\u003csummary\u003e\n\n## 📚 Tools\n\n\u003c/summary\u003e\n\n- [ChatGPT](https://chat.openai.com/)\n- [Bard](https://bard.google.com/)\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPickleBoxer%2Fdev-chatgpt-prompts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPickleBoxer%2Fdev-chatgpt-prompts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPickleBoxer%2Fdev-chatgpt-prompts/lists"}