<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: lokeshgrootan</title>
    <description>The latest articles on DEV Community by lokeshgrootan (@lokeshgrootan).</description>
    <link>https://dev.to/lokeshgrootan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F635743%2F4f3f806c-95c9-4ec1-a85d-3468d24c0ba3.png</url>
      <title>DEV Community: lokeshgrootan</title>
      <link>https://dev.to/lokeshgrootan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lokeshgrootan"/>
    <language>en</language>
    <item>
      <title>Point at UI bugs instead of describing them to Claude Code</title>
      <dc:creator>lokeshgrootan</dc:creator>
      <pubDate>Sun, 22 Mar 2026 03:19:10 +0000</pubDate>
      <link>https://dev.to/lokeshgrootan/point-at-ui-bugs-instead-of-describing-them-to-claude-code-48bm</link>
      <guid>https://dev.to/lokeshgrootan/point-at-ui-bugs-instead-of-describing-them-to-claude-code-48bm</guid>
      <description>&lt;p&gt;I built a skill that lets you point at UI bugs instead of describing them to Claude Code&lt;/p&gt;

&lt;p&gt;The fix-check-explain loop was killing my momentum. So we built Bugshot — open source, one command to install.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The problem no one talks about&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Everyone praises AI-assisted coding for how fast you can ship features. What they don't mention is the part where you stare at a broken layout, then walk back to your terminal and try to describe it in words.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The sidebar overlaps the main content. I think it's a z-index issue. Also the button on the right side is cut off.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Did Claude understand exactly what you meant? Maybe. Probably not. So you clarify. You re-explain. You add more detail. The fix-check-explain loop becomes the slowest part of your workflow — not the code, not the logic, just the communication.&lt;/p&gt;

&lt;p&gt;BEFORE&lt;br&gt;
"The sidebar overlaps the main content area. It looks like a z-index issue. The gap between the header and the card below is too large. Also the button on the right is cut off."&lt;/p&gt;

&lt;p&gt;AFTER&lt;br&gt;
[screenshot with a red selection box drawn around the button, annotated: "this button gets clipped at 768px"]&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Bugshot does&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Bugshot is an open-source skill for Claude Code. You say bugshot this page in your Claude session, and a real Chrome window opens with a capture overlay. You drag over the broken area, type a short note, and hit Send.&lt;/p&gt;

&lt;p&gt;Claude receives a pixel-perfect screenshot with the exact coordinates of your selection and your annotation — and starts fixing immediately. No more "which element did you mean."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it works under the hood&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is where it gets interesting. Most bookmarklet or injected-script approaches fail on staging and production sites because of Content-Security-Policy headers. CSP blocks script injection from untrusted origins, which is exactly what a browser extension or bookmarklet does.&lt;/p&gt;

&lt;p&gt;Bugshot uses the Chrome DevTools Protocol directly. CDP operates outside the browser's security sandbox — it's the same channel Chrome DevTools itself uses to inspect pages. That means CSP headers are irrelevant. You get full capture capability on localhost, staging, and production sites with strict CSP.&lt;/p&gt;

&lt;p&gt;The flow&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Claude Code invokes the Bugshot skill from your session&lt;/li&gt;
&lt;li&gt;A Chrome window opens pointing at your target URL&lt;/li&gt;
&lt;li&gt;A lightweight overlay lets you drag-select any area on screen&lt;/li&gt;
&lt;li&gt;You add an optional annotation, hit Send&lt;/li&gt;
&lt;li&gt;Claude receives the screenshot, pixel coordinates, and your note as context&lt;/li&gt;
&lt;li&gt;Claude proposes a fix immediately — no clarifying questions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why this matters for the agentic coding loop&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Claude Code is most powerful when it can act on unambiguous input. Text descriptions of visual bugs are inherently lossy — they compress a 2D spatial problem into sequential prose, and that compression loses exactly the information Claude needs to fix it.&lt;/p&gt;

&lt;p&gt;Giving Claude a screenshot with coordinates is the equivalent of pairing with a developer who can see your screen. The model can identify elements, infer the DOM structure, reason about breakpoints, and apply the right fix in one shot.&lt;/p&gt;

&lt;p&gt;The result isn't just faster debugging — it's a tighter feedback loop. See the bug, point at it, watch the fix land.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx skills add grootan/bugshot
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Works with any Claude Code session. Requires Chrome installed locally. That's it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Open source&lt;/strong&gt;&lt;br&gt;
Bugshot is MIT licensed and built by Grootan Labs. The full source is on GitHub at github.com/grootan/bugshot. Contributions, issues, and stars are all welcome.&lt;/p&gt;

&lt;p&gt;We'd love to hear how your team uses it — drop a comment below or open an issue on the repo.&lt;/p&gt;

&lt;p&gt;Demo&lt;br&gt;
&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://loom.com/embed/d11df3fd4b0a490c938fbb52715a6c44"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;



</description>
      <category>claudecode</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
