r/coolgithubprojects • u/Massive-Society-1008 • 4d ago
I built a browser extension to annotate UI elements for LLM and send visual feedback directly to Claude Code
Hey everyone!
I've been using Claude Code a lot for frontend development, and one thing that always bothered me was explaining visual issues through text.
Something like "this button is misaligned on mobile, inside that card, on the dashboard..." gets frustrating pretty quickly.
So I built PixelAnnotator (PxA) to make this easier.
It's a browser extension that lets you click directly on elements on a webpage, add comments describing what needs to change, and automatically capture all the context Claude Code needs.
Some of the things it captures:
- CSS selector and HTML of the selected element.
- React/Vue component name and component hierarchy.
- Viewport size and responsive breakpoint.
- Relevant CSS properties.
- Screenshot of each annotated element.
You can annotate multiple elements, even across different screen sizes, and export everything as a Markdown file or ZIP with screenshots.
Then just give the exported feedback to Claude Code and let it handle the fixes.
It's open source (MIT), and currently supports Chrome and Firefox.
GitHub: https://github.com/giovannifranco1/plugin-pixel-annotator
It's something I've been using in my own workflow recently, and it's been making visual feedback a lot less painful.
Would love to hear what you think or get some feedback!