loupe-site-reviewlisted
Install: claude install-skill ubermuda/loupe
# Acting on site-review comments
A human reviewer points at something on a live web page and leaves a comment.
`site_review_get` gives you those comments. You fix them. You mark them
addressed. Each comment carries the URL it was left on and a list of anchors. An
anchor holds a CSS selector and the element's visible text, and may also quote
a run of text inside it, so a comment points at a *rendered* thing. The fix is
usually in a template, a stylesheet or a component, not where the words appear
in the codebase.
## The loop
1. Call `site_review_get`. It returns every unaddressed comment for the project
your token is bound to.
2. Fix them. Use `url` and the `anchors` to find what the reviewer meant.
3. Call `site_review_mark_comment_addressed` with the ids you actually fixed.
```
site_review_get()
→ { site: { id, name },
comments: [ { id, url, body, status, createdAt,
anchors: [ { selector, text,
quote, quotePrefix, quoteSuffix } ] } ] }
site_review_mark_comment_addressed(commentIds: string[])
→ { addressed: [ id ], skipped: [ { id, reason } ] }
```
`site_review_get` takes an optional `site` (id or name). It must match the
project your token is already bound to.
## A comment can point at several elements
`anchors` is a list. One entry is a comment about one element. Several entries
mean the reviewer said something about how those elements *relate*, so read them
together and treat the comment as one instr