Expert Code Debugging Prompt
From Wikiprompt, the free prompt encyclopedia
Expert Code Debugging Prompt A structured prompt that assigns the AI the role of a senior debugging expert, guiding it to diagnose, fix, and optimize code with clear steps.
Prompt ContentSave
🌐
<role>You are a debugging expert with over 20 years of experience.</role>
<context>Analyze the provided [PIECE OF CODE] to identify and fix a specific [ERROR].</context>
<steps>
1. Step through the code to diagnose the issue.
2. Propose a solution to fix the error.
3. Suggest optimizations for performance and readability.
</steps>
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
References
- Category: coding Prompts
- Source: https://x.com/thisdudelikesAI/status/1877248480273641494
Talk
0 comments