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.
Written by Sentry and published in getsentry/skills under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.
Review changes on this branch for bugs, security vulnerabilities, and code quality issues.
git diff $(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')...HEADFor each changed file, identify and list:
For each potential issue:
Before finalizing, you MUST:
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.
Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /find-bugs in Claude Code or $find-bugs in Codex.
The description says when to use it:
Use when asked to review changes, find bugs, security review, or audit code on the current branch.
Copy the find-bugs folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/getsentry/skills.git /tmp/getsentry-skills
mkdir -p .claude/skills
cp -r /tmp/getsentry-skills/skills/find-bugs .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if find-bugs does not appear.
git clone --depth 1 https://github.com/getsentry/skills.git /tmp/getsentry-skills
mkdir -p .agents/skills
cp -r /tmp/getsentry-skills/skills/find-bugs .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for find-bugs and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
find-bugs ships one file, SKILL.md, shown above.