├── README.md └── prompts.json /README.md: -------------------------------------------------------------------------------- 1 | # Mckay's Prompts 2 | 3 | This is a collection of prompts I use in my workflow. 4 | 5 | I'll be updating this frequently, so check back often! 6 | 7 | Latest update: 4/19/23 8 | 9 | ## Beta 10 | 11 | I'm currently doing a beta test of this idea with some simple but useful prompts. 12 | 13 | I'll improve it as feedback comes in. 14 | 15 | Expect much more powerful prompts as I get this system ironed out. 16 | 17 | ## Usage 18 | 19 | Download the json file [here](https://drive.google.com/file/d/142KoReNVMeoqcaZ3Njj9ltnadnEXAmCo/view?usp=sharing) and import it into [Chatbot UI](https://www.chatbotui.com/). 20 | 21 | Or, you can just copy and paste the prompts you want into ChatGPT. 22 | 23 | ## Upcoming 24 | 25 | I'll be back soon with a system for selecting the prompts you want to use so that you don't have to import them all at once. 26 | 27 | I'm also building a system for everyone to create & share their own prompts. 28 | 29 | ## Contact 30 | 31 | If you have any questions, feel free to reach out to me on [Twitter](https://twitter.com/mckaywrigley). 32 | -------------------------------------------------------------------------------- /prompts.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 4, 3 | "history": [ 4 | { 5 | "id": "42008604-07b3-47cc-8967-26b0f254e06b", 6 | "name": "New Conversation", 7 | "messages": [], 8 | "model": { 9 | "id": "gpt-3.5-turbo", 10 | "name": "GPT-3.5", 11 | "maxLength": 12000, 12 | "tokenLimit": 4000 13 | }, 14 | "prompt": "You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully. Respond using markdown.", 15 | "temperature": 1, 16 | "folderId": null 17 | } 18 | ], 19 | "folders": [ 20 | { 21 | "id": "4bc14a7f-9b63-426d-8685-a07370a85d9e", 22 | "name": "Code: Bugs", 23 | "type": "prompt" 24 | }, 25 | { 26 | "id": "fa94d830-335e-45b0-8b4c-1ea55001006f", 27 | "name": "Code: Improve", 28 | "type": "prompt" 29 | }, 30 | { 31 | "id": "93853408-c4ef-4b70-805b-649717a25ed8", 32 | "name": "Code: Explain", 33 | "type": "prompt" 34 | }, 35 | { 36 | "id": "3a039cd5-7a48-40f5-b629-ed4c756dd0a9", 37 | "name": "Code: Grade", 38 | "type": "prompt" 39 | }, 40 | { 41 | "id": "33c02fd0-0f57-4d4a-ba84-3cab51d04c04", 42 | "name": "Code: General", 43 | "type": "prompt" 44 | }, 45 | { 46 | "id": "c764be86-93ee-4874-b9c2-0d80bee63b16", 47 | "name": "Code: Tech Spec", 48 | "type": "prompt" 49 | }, 50 | { 51 | "id": "99539056-2b7e-4338-8226-df1699c230cd", 52 | "name": "Code: Review", 53 | "type": "prompt" 54 | }, 55 | { 56 | "id": "8d50c17a-9b4a-4536-843a-48097e1d98bc", 57 | "name": "Code: Translate", 58 | "type": "prompt" 59 | }, 60 | { 61 | "id": "6eea5390-b971-4fd4-9a17-3bb60f657b9d", 62 | "name": "Code: Generate", 63 | "type": "prompt" 64 | }, 65 | { 66 | "id": "1d168eb9-be6c-4206-80bf-a4f74b648d5e", 67 | "name": "Code: Changes", 68 | "type": "prompt" 69 | } 70 | ], 71 | "prompts": [ 72 | { 73 | "id": "714c3dea-a497-4feb-afb2-5b096d327715", 74 | "name": "Bug Fixer (system)", 75 | "description": "A system prompt for code bug fixes.", 76 | "content": "You are a world-class software engineer. You are particularly good at fixing bugs in code.", 77 | "model": { 78 | "id": "gpt-3.5-turbo", 79 | "name": "GPT-3.5", 80 | "maxLength": 12000, 81 | "tokenLimit": 4000 82 | }, 83 | "folderId": "4bc14a7f-9b63-426d-8685-a07370a85d9e" 84 | }, 85 | { 86 | "id": "ea3fa9b1-e041-47db-b1eb-8d4d00d97447", 87 | "name": "Software Engineer (system)", 88 | "description": "A system prompt for a general-purpose software engineer.", 89 | "content": "You are a world-class software engineer.", 90 | "model": { 91 | "id": "gpt-3.5-turbo", 92 | "name": "GPT-3.5", 93 | "maxLength": 12000, 94 | "tokenLimit": 4000 95 | }, 96 | "folderId": "33c02fd0-0f57-4d4a-ba84-3cab51d04c04" 97 | }, 98 | { 99 | "id": "e3a8c028-c5e9-4b0a-ae29-242eba22fbf6", 100 | "name": "Fix Bugs", 101 | "description": "Identifies and explains bugs in the given code.", 102 | "content": "Go line-by-line and do a detailed inspection of my code looking for bugs. If you see a bug, identify it. Explain what the bug is and provide a fix.\n\nRespond as a well-formatted markdown file that is organized into sections. Make sure to use code blocks.\n\nInspect this code:\n{{code}}", 103 | "model": { 104 | "id": "gpt-3.5-turbo", 105 | "name": "GPT-3.5", 106 | "maxLength": 12000, 107 | "tokenLimit": 4000 108 | }, 109 | "folderId": "4bc14a7f-9b63-426d-8685-a07370a85d9e" 110 | }, 111 | { 112 | "id": "fcdcb73a-164e-4bc6-8446-86bc8e9445e0", 113 | "name": "Code Explainer (system)", 114 | "description": "A system prompt for a code explainer.", 115 | "content": "You are a world-class software engineer. You are particularly good at explaining code in a thorough but simple way.", 116 | "model": { 117 | "id": "gpt-3.5-turbo", 118 | "name": "GPT-3.5", 119 | "maxLength": 12000, 120 | "tokenLimit": 4000 121 | }, 122 | "folderId": "93853408-c4ef-4b70-805b-649717a25ed8" 123 | }, 124 | { 125 | "id": "e29e9c7e-c9de-49a3-857c-41b1e0eee477", 126 | "name": "Explain My Code", 127 | "description": "Explains the given code.", 128 | "content": "Explain the given code. Be thorough, but explain it in a simple way that anyone could understand.\n\nRespond as a well-formatted markdown file that is organized into sections. Make sure to use code blocks.\n\nExplain this code:\n{{code}}", 129 | "model": { 130 | "id": "gpt-3.5-turbo", 131 | "name": "GPT-3.5", 132 | "maxLength": 12000, 133 | "tokenLimit": 4000 134 | }, 135 | "folderId": "93853408-c4ef-4b70-805b-649717a25ed8" 136 | }, 137 | { 138 | "id": "f666335e-89cb-4f8b-969d-0cda0a706e89", 139 | "name": "Grade Code (letter)", 140 | "description": "Grades the given code a letter grade.", 141 | "content": "Grade my code. Give it a letter grade.\n\nAnalyze it as you see best, and take into account multiple factors. The grade needs to be comprehensive.\n\nGive the letter grade 1st, then explain your reasoning.\n\nRespond as a report card in well-formatted markdown.\n\nGrade this code:\n{{code}}", 142 | "model": { 143 | "id": "gpt-3.5-turbo", 144 | "name": "GPT-3.5", 145 | "maxLength": 12000, 146 | "tokenLimit": 4000 147 | }, 148 | "folderId": "3a039cd5-7a48-40f5-b629-ed4c756dd0a9" 149 | }, 150 | { 151 | "id": "89d5e46e-b8f2-4a93-a378-32f2ee8ae2b7", 152 | "name": "Improve Code", 153 | "description": "Improves the given code.", 154 | "content": "Improve the given code. Don't change any core functionality.\n\nThe focus is to actually make the code better - not to explain it - so avoid things like just adding comments to it.\n\nRespond as a well-formatted markdown file that is organized into sections. Make sure to use code blocks.\n\nImprove this code:\n{{code}}", 155 | "model": { 156 | "id": "gpt-3.5-turbo", 157 | "name": "GPT-3.5", 158 | "maxLength": 12000, 159 | "tokenLimit": 4000 160 | }, 161 | "folderId": "fa94d830-335e-45b0-8b4c-1ea55001006f" 162 | }, 163 | { 164 | "id": "60e53c40-799f-4f64-97e6-bbcae298ffe9", 165 | "name": "Code Improver (system)", 166 | "description": "A system prompt for a code improver.", 167 | "content": "You are a world-class software engineer. You are particularly good at improving code.", 168 | "model": { 169 | "id": "gpt-3.5-turbo", 170 | "name": "GPT-3.5", 171 | "maxLength": 12000, 172 | "tokenLimit": 4000 173 | }, 174 | "folderId": "fa94d830-335e-45b0-8b4c-1ea55001006f" 175 | }, 176 | { 177 | "id": "c3c86a37-3ecb-401e-81ed-a2503b3d5d6d", 178 | "name": "Code Planner (system)", 179 | "description": "A system prompt for an assistant that drafts up a software spec.", 180 | "content": "You are a world-class software engineer. You are particularly good at coming up with a plan to build software. You are an expert at drafting up tech spec docs that explain how to architect and build software.", 181 | "model": { 182 | "id": "gpt-3.5-turbo", 183 | "name": "GPT-3.5", 184 | "maxLength": 12000, 185 | "tokenLimit": 4000 186 | }, 187 | "folderId": "c764be86-93ee-4874-b9c2-0d80bee63b16" 188 | }, 189 | { 190 | "id": "759754b0-7063-4aa4-b0cc-fad0b7709bc5", 191 | "name": "Create Tech Spec", 192 | "description": "Given a description, the assistant will create a software tech spec.", 193 | "content": "I 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 as a well-formatted markdown file that is organized into sections. Make sure to use code blocks.", 194 | "model": { 195 | "id": "gpt-3.5-turbo", 196 | "name": "GPT-3.5", 197 | "maxLength": 12000, 198 | "tokenLimit": 4000 199 | }, 200 | "folderId": "c764be86-93ee-4874-b9c2-0d80bee63b16" 201 | }, 202 | { 203 | "id": "ecfd5ed1-bff8-4039-bae0-70c8991ec2aa", 204 | "name": "Code Reviewer (system)", 205 | "description": "A system prompt for a code reviewer.", 206 | "content": "You are a world-class software engineer. You are particularly good at reviewing code.", 207 | "model": { 208 | "id": "gpt-3.5-turbo", 209 | "name": "GPT-3.5", 210 | "maxLength": 12000, 211 | "tokenLimit": 4000 212 | }, 213 | "folderId": "99539056-2b7e-4338-8226-df1699c230cd" 214 | }, 215 | { 216 | "id": "5759aef6-ad29-4da0-9fe1-b77a386af73b", 217 | "name": "Review Code", 218 | "description": "Reviews the given code.", 219 | "content": "Review the given code. Think through how you would improve it. Provide suggestions. Help fix bugs & errors. Point out areas of improvement. Commend what was done well. Add your thoughts on anything you think is worth commenting on.\n\nRespond as a well-formatted markdown file that is organized into sections. Make sure to use code blocks.\n\nReview this code:\n{{code}}", 220 | "model": { 221 | "id": "gpt-3.5-turbo", 222 | "name": "GPT-3.5", 223 | "maxLength": 12000, 224 | "tokenLimit": 4000 225 | }, 226 | "folderId": "99539056-2b7e-4338-8226-df1699c230cd" 227 | }, 228 | { 229 | "id": "99b2b1be-da3f-4ec9-99d8-9f2aeb8dd8fe", 230 | "name": "Code Translator (system)", 231 | "description": "A system prompt for a code translator.", 232 | "content": "You are a world-class software engineer. You are an expert in all programming languages. You are particularly good at translating code from one language to another.", 233 | "model": { 234 | "id": "gpt-3.5-turbo", 235 | "name": "GPT-3.5", 236 | "maxLength": 12000, 237 | "tokenLimit": 4000 238 | }, 239 | "folderId": "8d50c17a-9b4a-4536-843a-48097e1d98bc" 240 | }, 241 | { 242 | "id": "6c01e241-afa4-42be-ab56-4e743d26edcb", 243 | "name": "Translate Code", 244 | "description": "Translate code from one language to another.", 245 | "content": "Translate the given code to {{targetLanguage}}.\n\nRespond as a markdown code block of the translated code.\n\nTranslate this code:\n{{input code}}\n\nThe translated {{targetLanguage}} code:", 246 | "model": { 247 | "id": "gpt-3.5-turbo", 248 | "name": "GPT-3.5", 249 | "maxLength": 12000, 250 | "tokenLimit": 4000 251 | }, 252 | "folderId": "8d50c17a-9b4a-4536-843a-48097e1d98bc" 253 | }, 254 | { 255 | "id": "799c92b7-f61c-4880-b53a-96133c5652a1", 256 | "name": "Grade Code (number)", 257 | "description": "Grades the given code a number grade.", 258 | "content": "Grade my code. Give it a score out of 10.\n\nAnalyze it as you see best, and take into account multiple factors. The grade needs to be comprehensive.\n\nGive the number grade 1st, then explain your reasoning.\n\nRespond as a report card in well-formatted markdown.\n\nGrade this code:\n{{code}}", 259 | "model": { 260 | "id": "gpt-3.5-turbo", 261 | "name": "GPT-3.5", 262 | "maxLength": 12000, 263 | "tokenLimit": 4000 264 | }, 265 | "folderId": "3a039cd5-7a48-40f5-b629-ed4c756dd0a9" 266 | }, 267 | { 268 | "id": "b349b039-7189-4167-acd2-f011a8415fd1", 269 | "name": "Code Generator (system)", 270 | "description": "A system prompt for a code generator.", 271 | "content": "You are a world-class software engineer. You are an expert at generating any code you are asked for.", 272 | "model": { 273 | "id": "gpt-3.5-turbo", 274 | "name": "GPT-3.5", 275 | "maxLength": 12000, 276 | "tokenLimit": 4000 277 | }, 278 | "folderId": "6eea5390-b971-4fd4-9a17-3bb60f657b9d" 279 | }, 280 | { 281 | "id": "56ceeaf2-9946-4349-a190-e994942ddcdc", 282 | "name": "Generate Code", 283 | "description": "Generates code given a description.", 284 | "content": "I need code that does the following:\n{{description}}\n\nGenerate the code for me.\n\nRespond as a markdown code block.", 285 | "model": { 286 | "id": "gpt-3.5-turbo", 287 | "name": "GPT-3.5", 288 | "maxLength": 12000, 289 | "tokenLimit": 4000 290 | }, 291 | "folderId": "6eea5390-b971-4fd4-9a17-3bb60f657b9d" 292 | }, 293 | { 294 | "id": "24e2d2c5-adc4-4c71-aadc-11283d0bce4a", 295 | "name": "Code Grader (system)", 296 | "description": "A system prompt for a code grader.", 297 | "content": "You are a world-class software engineer. You are particularly skilled at grading code.", 298 | "model": { 299 | "id": "gpt-3.5-turbo", 300 | "name": "GPT-3.5", 301 | "maxLength": 12000, 302 | "tokenLimit": 4000 303 | }, 304 | "folderId": "3a039cd5-7a48-40f5-b629-ed4c756dd0a9" 305 | }, 306 | { 307 | "id": "5bc0fa63-3086-47a8-a57b-cda6dd0ca051", 308 | "name": "Code Changer (system)", 309 | "description": "A system prompt for changing code.", 310 | "content": "You are a world-class software engineer. You are particularly skilled at updating code to meet specific requests.", 311 | "model": { 312 | "id": "gpt-3.5-turbo", 313 | "name": "GPT-3.5", 314 | "maxLength": 12000, 315 | "tokenLimit": 4000 316 | }, 317 | "folderId": "1d168eb9-be6c-4206-80bf-a4f74b648d5e" 318 | }, 319 | { 320 | "id": "d0accc82-fca1-4e9d-a14e-0f30dc54a44c", 321 | "name": "Change Code", 322 | "description": "Makes the specified changes to the code.", 323 | "content": "Given the code and the request, make the specified changes.\n\nMake this change:\n{{request}}\n\nModify this code:\n{{code}}", 324 | "model": { 325 | "id": "gpt-3.5-turbo", 326 | "name": "GPT-3.5", 327 | "maxLength": 12000, 328 | "tokenLimit": 4000 329 | }, 330 | "folderId": "1d168eb9-be6c-4206-80bf-a4f74b648d5e" 331 | } 332 | ] 333 | } --------------------------------------------------------------------------------