Aoyia

Bug Lens — AI skill for Claude Code

AI community

Chrome Extension capturing frontend bug evidence (DOM, click tracks, console & network) to generate structured AI prompts & context for Cursor & Claude Code.

How to install Bug Lens

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Aoyia/bug-lens and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Bug Lens does

Chrome Extension capturing frontend bug evidence (DOM, click tracks, console & network) to generate structured AI prompts & context for Cursor & Claude Code. 捕获 DOM、点击交互、控制台日志与网络日志并生成结构化 AI 提示词的前端缺陷信息收集浏览器插件🐮

Alternatives in AI

  • Design Md Chrome — Chrome extension to extract styles from any website and generate DESIGN.md files and design skills for AI base 2.7k ★
  • Openteam — A Chrome extension for orchestrating local AI-agent team workflows across web AI services 174 ★
  • Avoid AI Design — Audits AI-generated frontend and rewrites it so it stops looking AI-made: purple-gradient slop and the "tastef 165 ★

README

Bug Lens

**English** | [中文文档](README_zh.md)

**The Ultimate Context Provider for AI Code Assistants & Vibe Coders** Effortlessly capture full-stack bug context from browser sessions—DOM snapshots, click tracks, console errors, and network payloads—and export structured AI prompts ready for instant diagnosis.


⚡ Highlights & Features

1. Full-Context Safe Recording Panel

One-click session recording with full control over DOM snapshots, console logs, network request/response bodies, and framework state, with built-in local data sanitization.

Extension Popup Panel

2. In-Page Compact Recording Widget

A lightweight floating widget docked during recording. Supports instant issue marking (`Alt/Option+S`), live timer display, and one-click silent export (`Stop & Export`).

![In-Page Recording Widget](docs/assets/in-page-recording-widget.png)

3. Step-by-Step Action Capture & Visual Timeline (Click Highlights & Locators)

Automatically captures keyframe snapshots for each interaction with precise click indicators (red visual circles). Concurrently extracts target element context (tag, class, role, coordinates) and generates stability-scored Playwright locators, enabling AI assistants to reconstruct user actions and generate automated regression tests effortlessly.

![Step-by-Step Action Capture & Visual Timeline](docs/assets/evidence-preview-workspace.png)

4. Web Screenshot & AI Prompt Annotation

Standalone screenshot capture with pixel dimension measurement, directional arrows, and bilingual notes to formulate precise visual bug reports and design modification prompts for AI.

![Web Screenshot & Annotation Tool](docs/assets/screenshot-annotation.png)


🚀 3-Step Quickstart

  1. Install Extension: Download the pre-compiled bug-lens-v0.7.40.zip, unzip, and load via "Load unpacked" in Chrome (`chrome://extensions/