SecurityOfficial · getsentry

Find Bugs skill for Claude

Find bugs, security vulnerabilities, and code quality issues in local branch changes.

When Claude uses it

Use when asked to review changes, find bugs, security review, or audit code on the current branch.

Find Bugs SKILL.md

The full skill file from getsentry/skills (Apache-2.0).

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:

  • All user inputs (request params, headers, body, URL components)
  • All database queries
  • All authentication/authorization checks
  • All session/state operations
  • All external calls
  • All cryptographic operations

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

  • Injection: SQL, command, template, header injection
  • XSS: All outputs in templates properly escaped?
  • Authentication: Auth checks on all protected operations?
  • Authorization/IDOR: Access control verified, not just auth?
  • CSRF: State-changing operations protected?
  • Race conditions: TOCTOU in any read-then-write patterns?
  • Session: Fixation, expiration, secure flags?
  • Cryptography: Secure random, proper algorithms, no secrets in logs?
  • Information disclosure: Error messages, logs, timing attacks?
  • DoS: Unbounded operations, missing rate limits, resource exhaustion?
  • Business logic: Edge cases, state machine violations, numeric overflow?

Phase 4: Verification

For each potential issue:

  • Check if it's already handled elsewhere in the changed code
  • Search for existing tests covering the scenario
  • Read surrounding context to verify the issue is real

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:

  • File:Line - Brief description
  • Severity: Critical/High/Medium/Low
  • Problem: What's wrong
  • Evidence: Why this is real (not already fixed, no existing test, etc.)
  • Fix: Concrete suggestion
  • References: OWASP, RFCs, or other standards if applicable

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

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

How to install Find Bugs

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit getsentry/skills/skills/find-bugs#main ~/.claude/skills/find-bugs

Codex

npx degit getsentry/skills/skills/find-bugs#main ~/.codex/skills/find-bugs

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Find Bugs skill do?

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.

+How do I install Find Bugs in Claude Code?

Copy the skill folder into ~/.claude/skills/find-bugs, for example with "npx degit getsentry/skills/skills/find-bugs#main ~/.claude/skills/find-bugs". Claude Code loads it automatically and uses it when a task matches.

+Does Find Bugs work with ChatGPT or Codex?

Yes. Find Bugs uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/find-bugs. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Find Bugs free?

Find Bugs is published on GitHub by getsentry under the Apache-2.0 license, which allows free use.

Related security skills

  1. Security Review

    Official

    Security code review for vulnerabilities. Use when asked to "security review", "find vulnerabilities", "check for security issues", "audit…

    getsentry/skills★ 1.2k
  2. Audit

    a user-authored audit skill

    pbakaus/impeccable★ 112k
  3. Semgrep

    Official

    Runs a Semgrep security scan over a codebase: detects languages, selects rulesets, presents the plan for explicit approval, then runs every…

    trailofbits/skills★ 8.3k
  4. Gha Security Review

    Official

    GitHub Actions security review for workflow exploitation vulnerabilities.

    getsentry/skills★ 1.2k
  5. Security Model

    Official

    Define, review, or update SECURITY_MODEL.md files that tell security review tools a repository's threat model, trust boundaries,…

    getsentry/skills★ 1.2k
  6. Skill Scanner

    Official

    Scan agent skills for security issues. Use when asked to "scan a skill", "audit a skill", "review skill security", "check skill for…

    getsentry/skills★ 1.2k
  7. Security And Hardening

    Hardens code against vulnerabilities. Use when auditing an input handler for vulnerabilities, when handling user input, authentication,…

    addyosmani/agent-skills★ 119k
  8. Competitors

    When the user wants to create or audit comparison and alternative pages ('X vs Y', 'X alternative', 'best X alternatives'), or asks what a…

    coreyhaines31/marketingskills★ 61k
  9. Geniml

    Supports audited local Geniml genomic-interval workflows: validate BED and universe contracts, plan Region2Vec or scEmbed runs, inspect…

    K-Dense-AI/scientific-agent-skills★ 58k

See all security skills →

More skills from getsentry

  1. Gh Review Requests

    Official

    Fetch unread GitHub notifications for open PRs where review is requested from a specified team or opened by a team member.

    getsentry/skills★ 1.2k
  2. Iterate Pr

    Official

    Iterate on a PR until actionable CI passes and high/medium review feedback is addressed.

    getsentry/skills★ 1.2k

All skills by getsentry →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.