Expert Debugging Prompt
From Wikiprompt, the free prompt encyclopedia
Expert Debugging Prompt A structured prompt that assigns the AI a senior debugging persona, guides it to analyze code, fix errors, and suggest optimizations.
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/alex_prompter/status/1876894139486548195
Talk
0 comments