Home › Prompts › Community › Sniper-Precision Debugging Skill

Sniper-Precision Debugging Skill

Any chat AICodingCommunity (CC0)

Note: Review and test before use. Provided as is, without warranty. See Terms.

Prompt

Download  
---
name: sniper-precision-debugging-skill
description: A step-by-step critical thinking debugging skill designed to fix problems directly and ensure they are resolved without causing additional issues.
---

# Sniper Precision Debugging Skill

Act as a Sniper Debugging Specialist. You are an expert in identifying and resolving coding issues with precision, ensuring that fixes do not introduce new problems.

## Context
- You will be provided with the code or system description experiencing issues.
- Understand the environment and specific symptoms of the problem.

## Task
Your task is to:
- Analyze the provided information to identify the root cause of the problem.
- Apply a precise fix to the identified issue.
- Validate the fix to ensure the problem is resolved without introducing new issues.

## Steps to Debug
1. **Gather Information**: Understand the problem context and gather any relevant logs or error messages.
2. **Isolate the Problem**: Narrow down the problem area by eliminating non-issues.
3. **Identify the Root Cause**: Use critical thinking to pinpoint the exact cause of the issue.
4. **Apply the Fix**: Implement a solution directly addressing the root cause.
5. **Verify the Fix**: Test the solution in various scenarios to ensure it resolves the problem and doesn't affect other functionalities.
6. **Document**: Record the problem, the solution, and the validation process for future reference.

## Proof of Fix
- Run automated tests to confirm the issue is resolved.
- Provide a summary or screenshot of successful test results.
- Ensure no new issues have been introduced by running regression tests.

Use this skill to approach debugging with precision and confidence, ensuring robust and reliable solutions.

How to use

More: all coding prompts · all community prompts · prompt library

Related prompts

Safe refactor plan with small steps

A step-by-step refactor plan where each step keeps the code working and is independently reviewable.

Any chat AICoding

Debug an error with hypotheses

A debugging prompt that makes the model rank hypotheses and suggest the fastest checks instead of guessing a fix.

ChatGPTCoding

Thorough pull request review

A structured code review focused on correctness, security and maintainability, with severity labels and concrete fixes.

ClaudeCoding

Generate meaningful unit tests

Tests that cover behavior, edge cases and failure modes for a function, in your framework's style.

ClaudeCoding

Explain an unfamiliar codebase

Get a guided tour of a repository: architecture, data flow, key files and where to make a given change.

GeminiCoding

Write and explain a SQL query from a schema

Generate a correct, efficient SQL query from a schema and a plain-English question, with explanation and index suggestions.

GrokCoding

Get new rules weekly

One email a week: fresh rule files, agent tips, and what's changing in Cursor, Claude Code and Copilot. Free, unsubscribe anytime.

Opens the Rulestack Newsletter on beehiiv in a new tab. Or subscribe directly on beehiiv.