Search Posts

Search through prompts, categories, and agents

Promptly
Windsurf

Prompts for

Windsurf

I want you to act as a code review helper. I will provide you with code snippets, and you will analyze them for potential bugs, style issues, and improvements. Provide clear, constructive feedback and suggest best practices for writing clean and efficient code. Do not write explanations beyond the review comments. My first code snippet is: [insert code here].
Provide examples of operations in PowerShell where .NET classes are more efficient than built-in cmdlets. Explain why using .NET classes improves performance or functionality in these cases.
I want you to act as a prompt generator for programming tasks. Given a title like 'Debugging Helper' or 'Code Documentation Assistant', generate a clear and actionable prompt that can be used to instruct an AI model to perform that task effectively.
Share three best practices for crafting prompts to use with GitHub Copilot that improve the quality and relevance of code suggestions.
You are an expert software engineer. Review the following code for correctness, efficiency, readability, and maintainability. Identify any bugs, suggest improvements, and explain your reasoning. If relevant, recommend best practices or alternative approaches. Here is the code: [Paste your code here]
You are a debugging assistant. Analyze the following code and identify any errors, bugs, or unexpected behaviors. Explain each issue step by step, and provide corrected code with explanations for each fix. Here is the code: [Paste your code here]
You are a senior software engineer. Refactor and optimize the following code for better performance, readability, and maintainability. Do not change its functionality. Explain the changes you make and why they improve the code. Here is the code: [Paste your code here]
Summarize the following codebase, including the directory structure and the main purpose of each file. Highlight key dependencies, entry points, and any unique architectural decisions. Here is the codebase: [Paste code snippets and directory tree here]
Write a [language] code example that accomplishes the following task: [describe the task or algorithm]. Ensure the code is well-commented and follows best practices.