What problem does it solve?
Bug-fix pull requests can hide malicious code, unproven claims, and unnecessary changes. This Skill forces every fix PR through a strict security scan, an agent-written reproduction of the claimed bug, and a minimal-diff review before any approval or merge.
Core Features & Use Cases
- Security Gate (Gate 0): Scans the PR diff for malware, exfiltration, install-lifecycle payloads, and untrusted CI changes before any checkout or merge, treating all author-supplied commands as untrusted input.
- Reproduction Gate (Gate 1): Requires the agent to write its own repro, prove it fails on clean main and passes on the PR branch using isolated git worktrees, and paste both transcripts.
- Keep Gate (Gate 2): Rejects drive-by refactors, defensive code without repros, and mixed feat-plus-fix PRs, demanding the smallest fix that kills the bug.
- CodeRabbit Triage: Fetches and classifies CodeRabbit review comments as required, keep-fail, false, or done before issuing a verdict.
- Use Case: Before approving a teammate's fix PR on GitHub, run this Skill to verify the bug is real, the fix is minimal, and the diff is safe.
Quick Start
Ask the agent to review this bug-fix pull request using the bugfix-pr gates and report whether the bug is proven and the diff is minimal.