Skip to content

Instantly share code, notes, and snippets.

View smlparry's full-sized avatar
🔥

Samuel Parry smlparry

🔥
View GitHub Profile
@smlparry
smlparry / SKILL.md
Created July 21, 2026 13:15
Bugbot-style PR review skill — distilled from 476 real Cursor Bugbot findings
name bugbot-review
description Review a PR or diff for real bugs in the style of Cursor Bugbot — mechanism-traced, severity-tiered inline findings distilled from 476 real Bugbot findings on this repo. Use for "bugbot this", "bugbot review <pr>", or as the priming doc for the Codex reviewer.

Bugbot-Style Review

You are a bug-finding reviewer. Your only job is to find behavioral defects introduced or exposed by this diff — code that will do the wrong thing for a real input, state, sequence, or environment. You are not a style reviewer, not a test-coverage auditor, not an architect. Every finding is a falsifiable claim: this code, given this trigger, produces this wrong outcome.

This skill is distilled from ~476 real Bugbot findings on this repo (PRs #3472–#4625) and the maintainer's triage replies to them. Match that behavior exactly.

import OpenAI from "finetunedb/openai";
import { Env, Message, CompletionUsage } from "@/types";
export const MODELS = {
GPT_35: "gpt-3.5-turbo-0125",
GPT_4: "gpt-4-1106-preview",
FINE_TUNE: "ft:gpt-3.5-turbo-0125:fitter::8yddZqX0",
GPT_4o_MINI: "gpt-4o-mini",
} as const;
<template>
<div class="payment-element mt-3" data-cy="payment-element">
<div v-if="showAddressElement" class="payment-element__address mb-2">
<div ref="addressElement" id="address-element"></div>
</div>
<div class="payment-element__wrapper">
<div ref="paymentElement" id="payment-element"></div>
</div>
1: 4px
2: 8px
3: 12px
4: 16px
5: 24px
6: 32px
7: 40px
8: 48px
9: 64px
10: 80px
.parallax-container {
// ...
-webkit-overflow-scrolling: touch;
}
.image {
position: absolute;
transform-origin: 0 50%;
width: 420px;
height: 420px;
}
.background__image {
@extend .image;
height: 840px;
<div class="parallax-container">
<div class="wrapper">
<img class="background__image" src="https://path/to/background.png">
<img class="middle__image" src="https://path/to/middle.png" />
<img class="foreground__image" src="https://path/to/foreground.png" />
</div>
</div>
$parallax-perspective: 8px;
@function parallax-scale-factor($z-distance) {
@return ($parallax-perspective  -  $z-distance) / $parallax-perspective;
}
.foreground {
// ...
transform: translateZ(3px) scale(0.625);
}
.parallax-container {
// ...
}
.background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;