From e5939f6f327fb4497b2de9613e7429430a88521b Mon Sep 17 00:00:00 2001 From: Tanay Vasishtha <129007294+tanayvasishtha@users.noreply.github.com> Date: Thu, 19 Jun 2025 02:33:49 +0530 Subject: [PATCH 1/3] Create debugging-prompts-by-Tanay.md Add valuable debugging and troubleshooting prompts --- debugging-prompts-by-Tanay.md | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 debugging-prompts-by-Tanay.md diff --git a/debugging-prompts-by-Tanay.md b/debugging-prompts-by-Tanay.md new file mode 100644 index 0000000..01e29e5 --- /dev/null +++ b/debugging-prompts-by-Tanay.md @@ -0,0 +1,43 @@ +# Engineering Prompts for Debugging and Troubleshooting + +## Code Review Assistant +**Category**: Code Quality +**Use Case**: Automated code review suggestions + +**Prompt**: +"Review this [LANGUAGE] code for potential bugs, security issues, and performance improvements. Focus on: +1. Logic errors and edge cases +2. Security vulnerabilities +3. Performance bottlenecks +4. Code readability and maintainability +Provide specific suggestions with line numbers." + +--- + +## Debug Assistant +**Category**: Troubleshooting +**Use Case**: Systematic debugging approach + +**Prompt**: +"Help me debug this [LANGUAGE] error: [ERROR_MESSAGE] +Code context: [CODE_SNIPPET] +Please: +1. Explain what's causing the error +2. Provide a step-by-step debugging approach +3. Suggest 2-3 potential fixes +4. Recommend prevention strategies." + +--- + +## Performance Optimization Helper +**Category**: Performance +**Use Case**: Code optimization guidance + +**Prompt**: +"Analyze this [LANGUAGE] code for performance optimization opportunities: +[CODE_SNIPPET] +Please identify: +1. Time complexity issues +2. Memory usage problems +3. Inefficient algorithms or data structures +4. Specific optimization recommendations with before/after examples" From 1498fde82de98110dfd0ff7f646a3cd9d0d16278 Mon Sep 17 00:00:00 2001 From: Tanay Vasishtha <129007294+tanayvasishtha@users.noreply.github.com> Date: Thu, 19 Jun 2025 02:35:17 +0530 Subject: [PATCH 2/3] Delete debugging-prompts-by-Tanay.md --- debugging-prompts-by-Tanay.md | 43 ----------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 debugging-prompts-by-Tanay.md diff --git a/debugging-prompts-by-Tanay.md b/debugging-prompts-by-Tanay.md deleted file mode 100644 index 01e29e5..0000000 --- a/debugging-prompts-by-Tanay.md +++ /dev/null @@ -1,43 +0,0 @@ -# Engineering Prompts for Debugging and Troubleshooting - -## Code Review Assistant -**Category**: Code Quality -**Use Case**: Automated code review suggestions - -**Prompt**: -"Review this [LANGUAGE] code for potential bugs, security issues, and performance improvements. Focus on: -1. Logic errors and edge cases -2. Security vulnerabilities -3. Performance bottlenecks -4. Code readability and maintainability -Provide specific suggestions with line numbers." - ---- - -## Debug Assistant -**Category**: Troubleshooting -**Use Case**: Systematic debugging approach - -**Prompt**: -"Help me debug this [LANGUAGE] error: [ERROR_MESSAGE] -Code context: [CODE_SNIPPET] -Please: -1. Explain what's causing the error -2. Provide a step-by-step debugging approach -3. Suggest 2-3 potential fixes -4. Recommend prevention strategies." - ---- - -## Performance Optimization Helper -**Category**: Performance -**Use Case**: Code optimization guidance - -**Prompt**: -"Analyze this [LANGUAGE] code for performance optimization opportunities: -[CODE_SNIPPET] -Please identify: -1. Time complexity issues -2. Memory usage problems -3. Inefficient algorithms or data structures -4. Specific optimization recommendations with before/after examples" From 66ee7f4b427ae86d992926cd40b0a91a5defbe3d Mon Sep 17 00:00:00 2001 From: Tanay Vasishtha <129007294+tanayvasishtha@users.noreply.github.com> Date: Thu, 19 Jun 2025 02:36:53 +0530 Subject: [PATCH 3/3] Create debugging-prompts-by-Tanay.md --- debugging-prompts-by-Tanay.md | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 debugging-prompts-by-Tanay.md diff --git a/debugging-prompts-by-Tanay.md b/debugging-prompts-by-Tanay.md new file mode 100644 index 0000000..396995a --- /dev/null +++ b/debugging-prompts-by-Tanay.md @@ -0,0 +1,43 @@ +# Engineering Prompts for Debugging and Troubleshooting + +## Code Review Assistant +**Category**: Code Quality +**Use Case**: Automated code review suggestions + +**Prompt**: +"Review this [LANGUAGE] code for potential bugs, security issues, and performance improvements. Focus on: +1. Logic errors and edge cases +2. Security vulnerabilities +3. Performance bottlenecks +4. Code readability and maintainability +Provide specific suggestions with line numbers." + +--- + +## Debug Assistant +**Category**: Troubleshooting +**Use Case**: Systematic debugging approach + +**Prompt**: +"Help me debug this [LANGUAGE] error: [ERROR_MESSAGE] +Code context: [CODE_SNIPPET] +Please: +1. Explain what's causing the error +2. Provide step-by-step debugging approach +3. Suggest 2-3 potential fixes +4. Recommend prevention strategies" + +--- + +## Performance Optimization Helper +**Category**: Performance +**Use Case**: Code optimization guidance + +**Prompt**: +"Analyze this [LANGUAGE] code for performance optimization opportunities: +[CODE_SNIPPET] +Please identify: +1. Time complexity issues +2. Memory usage problems +3. Inefficient algorithms or data structures +4. Specific optimization recommendations with before/after examples"