Skip to content
Back to skills

Find Bugs

ASecurity

Analyze a file to detect bugs and propose fixes.

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added August 31, 2026
ai-agentsgobashrefactoringsecurityperformance

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned August 31, 2026

npx -y skills add valorisa/Claude-Skills --skill find-bugs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Find Bugs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Find Bugs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/valorisa-find-bugs/badge)](https://www.skillsdirectory.com/skills/valorisa-find-bugs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Find Bugs

Analyze a file to detect bugs and propose fixes.

## Trigger

Slash command: `/find-bugs`

Auto-detection: "find bugs", "debug this file", "what bugs in", "analyze this file for errors", "bug hunt", "cherche les bugs", "quels bugs dans", "analyse ce fichier pour les erreurs".

## Process

1. Identify the target file. If the user doesn't specify, ask which file to analyze.
2. Read the file with Read.
3. If relevant, run available static analysis tools (linter, type-checker, compiler) via Bash to collect additional signals.
4. Analyze the code to detect bugs: logical errors, off-by-one, unhandled null/undefined, race conditions, resource leaks, poor error handling, security vulnerabilities.
5. Present results as a numbered list. For each bug:
   - **Line(s)**: affected line number(s)
   - **Issue**: clear description of the bug
   - **Impact**: what can go wrong
   - **Proposed fix**: the correction as a diff or snippet
6. Ask the user: "Do you want me to apply these fixes? (all / some / none)"
7. Apply only the confirmed fixes via Edit.

## Constraints

- Never modify the file without explicit user confirmation.
- Focus on real bugs — no refactoring, no stylistic suggestions, no performance optimizations unless they cause a bug.
- One file at a time. If the user requests multiple files, process sequentially asking confirmation for each.
- If no bugs are found, say so clearly rather than inventing problems.

## Output

A numbered list of bugs with explanation and fix, followed by a proposal to apply the corrections after user agreement.

Files in this skill

  • README.md4.5 KB
  • SKILL.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.