Talk

Expert Debugging Prompt

From Wikiprompt, the free prompt encyclopedia

Alex Prompter
Contributed byAlex PrompterXSource

Jan 8, 2025

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

Categories:coding| twitter| debugging| code-review

Talk