/sentry-find-bugs

Source: ~/.claude/skills/sentry-find-bugs/SKILL.md


name: find-bugs description: Find bugs, security vulnerabilities, and code quality issues in local branch changes. Use when asked to review changes, find bugs, security review, or audit code on the current branch.

Find Bugs

Review changes on this branch for bugs, security vulnerabilities, and code quality issues.

Phase 1: Complete Input Gathering

  1. Get the FULL diff: git diff $(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')...HEAD
  2. If output is truncated, read each changed file individually until you have seen every changed line
  3. List all files modified in this branch before proceeding

Phase 2: Attack Surface Mapping

For each changed file, identify and list:

Phase 3: Security Checklist (check EVERY item for EVERY file)

Phase 4: Verification

For each potential issue:

Phase 5: Pre-Conclusion Audit

Before finalizing, you MUST:

  1. List every file you reviewed and confirm you read it completely
  2. List every checklist item and note whether you found issues or confirmed it's clean
  3. List any areas you could NOT fully verify and why
  4. Only then provide your final findings

Output Format

Prioritize: security vulnerabilities > bugs > code quality

Skip: stylistic/formatting issues

For each issue:

If you find nothing significant, say so - don't invent issues.

Do not make changes - just report findings. I'll decide what to address.


Revision #5
Created 2026-02-18 08:40:00 UTC by John
Updated 2026-06-21 20:01:06 UTC by John