Skip to content

feat(ui-debugging): UI debugging skill — fix bugs with exact browser checks#131

Open
shubh24 wants to merge 1 commit into
mainfrom
shubh24/ui-debugging-skill
Open

feat(ui-debugging): UI debugging skill — fix bugs with exact browser checks#131
shubh24 wants to merge 1 commit into
mainfrom
shubh24/ui-debugging-skill

Conversation

@shubh24

@shubh24 shubh24 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

What

A new ui-debugging skill: fix user-reported UI bugs by treating the browser as a diagnostic instrument, not an explorer.

The loop: reproduce with a source-blind browser probe → fix (smallest credible change) → verify with an exact page-side check returning {passed, measurements, passCondition, instructionToFixer} → on failure, feed the check's raw JSON back into the next fix attempt. No re-browsing during repair.

Why

Benchmarked on an 18-bug suite (6 vibe-coded React apps, planted bugs, browse CLI + claude-opus-4-8):

Strategy Fixed
One-shot fixing 7/18
+ exact-check feedback 11–12/18

The bugs recovered at attempt 2 are ones where the check named the exact wrong element (e.g. selector matching a hidden desktop nav before the mobile menu) — evidence that sharper assertions, not more browsing, convert failed fixes.

Relationship to existing skills

  • ui-test finds unknown bugs in changed UI; ui-debugging fixes a reported bug and proves the fix. The skill cross-references ui-test.
  • Works with the browse CLI locally, --remote for Browserbase sessions on deployed sites, or any tool with page.evaluate.

🤖 Generated with Claude Code


Note

Low Risk
Documentation-only addition (skill markdown and README); no application or auth/runtime code changes.

Overview
Adds a new ui-debugging agent skill that documents a reproduce → fix → verify loop for user-reported UI bugs, centered on source-blind browser probes and page-side check contracts (passed, measurements, passCondition, instructionToFixer) with failed-check JSON fed into the next fix attempt instead of more browsing.

The skill includes browse CLI examples (local and --remote), React input probing notes, anti-patterns, and benchmark provenance; it is positioned in README.md next to ui-test (find bugs vs fix reported bugs). LICENSE.txt (MIT) is added under skills/ui-debugging/.

Reviewed by Cursor Bugbot for commit eeb2719. Bugbot is set up for automated code reviews on this repo. Configure here.

Reproduce with a source-blind probe, apply a minimal fix, verify with a
page-side check that returns {passed, measurements, passCondition,
instructionToFixer} and feed the JSON back on failure. Benchmarked at
7/18 -> 11-12/18 over one-shot fixing on an 18-bug suite (ui-debug-bench),
with zero re-browsing during repair. Complements ui-test (finding bugs)
with the fixing half.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@shubh24 shubh24 requested a review from shrey150 June 10, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant