Daniel Bauke
Open Source / Astro Claude Comments

Astro Claude Comments

Visit on GitHub
Animated demo: a comment on a selected phrase goes from the dev toolbar to Claude Code, and the page reloads with the edit.

Select a sentence on a page of the running dev site and write what should change. Claude Code edits the source while you watch the page reload.

Why it exists

I review this site in the browser, on the dev server. When something needs to change, I want to say so right there, on the page. So I select the text, write a comment, and Claude Code applies it to the source while I watch the page reload.

What it does

Comment on a selection
Selected text becomes the quote. Claude also gets the paragraph around it, the heading above it and the template that rendered it.
Or on the whole page
With nothing selected, the comment is about the page and the section in view.
Your own Claude Code
The comment goes to your Claude Code over the Agent Client Protocol, with your settings and permission rules. One session serves every comment until the dev server stops.
Replies in the panel
The panel shows each comment's progress, Claude's reply and the files it edited. When Claude needs a permission, it asks you there.