Skip to content

Conversation

@tanayvasishtha
Copy link

Engineering Prompts for Debugging & Performance

Bug Detection Assistant

Category: Code Quality
Use Case: Automated bug identification

Prompt:
"Analyze this [LANGUAGE] code for bugs:
[CODE_SNIPPET]
Identify:

  1. Logic errors and edge cases
  2. Security vulnerabilities
  3. Performance issues
  4. Code smell patterns
    Provide specific fixes with explanations."

Error Troubleshooter

Category: Debugging
Use Case: Systematic error resolution

Prompt:
"Debug this [LANGUAGE] error: [ERROR_MESSAGE]
Code: [CODE_SNIPPET]
Please:

  1. Explain the root cause
  2. Provide a step-by-step solution
  3. Suggest prevention methods
  4. Recommend testing strategies"

Copy link
Contributor

@pratik-mahalle pratik-mahalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @tanayvasishtha, Congratulation on your first pull request. The prompts are good but you improve the “Code Review Assistant,” consider mentioning whether it’s for frontend, backend, or full-stack context — as concerns may differ.
Have you tried this on your side? Please, kindly add a clear PR description outlining what the PR is about and what it is doing. Kindly make this changes.

@pratik-mahalle
Copy link
Contributor

Hey @tanayvasishtha, Any updates on this prompt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants