Not loaded · from dev
Opens an HTML artifact for live human review with element-level annotation and a layout-audit gate that blocks completion on broken renders.
Claude Code won't load this skill
It ships in dev at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Annotate the exact element, not a prose paraphrase. This skill replaces "screenshot + guess" with a live CLI↔browser bridge: the human right-clicks the offending node, the bridge captures its selector and the selected character range, and you act on that exact target. The bridge is local — all state lives under .red/browser-bridge/, nothing leaves the machine. The engine is @reddb-io/browser-bridge (packages/browser-bridge).
Run the loop in this order. Do not skip the gate.
openArtifact("<file>.html"). It writes <file>.bridge.html (the artifact plus an injected feedback SDK) and a session under .red/browser-bridge/<id>/. Start the bridge server (createBridgeServer) and tell the human to open the .bridge.html file.pollAnnotations(root, id, cursor), advancing cursor by the returned cursor each time. Each annotation carries selector, an optional textRange ({start, end, quote}), and the human's comment. Act on the precise target; call resolveAnnotation when done.assertLayoutClean(snapshot). It throws LayoutAuditError on horizontal overflow, clipped text, or overlapping text. A render that fails the gate is not done — fix it, re-snapshot, re-gate. Only a clean gate plus resolved annotations counts as finished.Three shapes of the same loop:
/report-bug./impeccable / frontend-design).Keep artifacts portable — never hand-edit the augmented file. ✅ Generate the artifact, then let openArtifact inject the SDK. ❌ Do not paste bridge markup into the source by hand, and do not add bridge-only styles. The injected SDK is additive and self-guarding: opened in a plain browser with no bridge running it stays inert, so <file>.bridge.html renders identically to the original. stripBridgeSdk recovers the byte-exact source.
No source-repo names in committed content. The capability is red-browser over the browser-bridge package; never reference the upstream repos this absorbs.
.red/browser-bridge/<session-id>/
session.json # artifact path, augmented path, endpoint, status
annotations.json # append-only; the browser SDK POSTs, the agent polls
@reddb-io/browser-bridge)| Function | Use |
|---|---|
openArtifact(htmlPath, opts?) | Create the session, inject the SDK, write <file>.bridge.html. |
createBridgeServer({ root, port? }) | Start the loopback long-poll server (/health, POST/GET /sessions/:id/annotations). |
pollAnnotations(root, id, cursor) | Read annotations newer than cursor; returns { annotations, cursor }. |
recordAnnotation(root, id, input) | Where the browser POST lands (selector + optional textRange + comment). |
resolveAnnotation(root, id, annId) | Mark an annotation acted-on. |
assertLayoutClean(snapshot, opts?) | The gate. Throws LayoutAuditError when the render is broken. |
auditLayout(snapshot, opts?) | Non-throwing audit → { passed, findings }. |
horizontal-overflow — document or an element extends past the viewport width (the side-scroll bug).clipped-text — a text element's content is cut off by a hard clip (overflow: hidden/clip); scrollable overflow (auto/scroll) is not flagged.text-overlap — two text boxes collide without one nesting the other.auditLayout takes tolerancePx (default 1) to absorb sub-pixel rounding and minOverlapArea (default 4 px²) for the overlap threshold.
Draft (in-progress). This is the artifact-annotation half of the browser-collaboration capability (PRD #928). The live-app CDP driver half builds on the same bridge in a later slice. Graduates out of in-progress/ once the red-browser surface and the thin entry points in /report-bug, /prototype, /impeccable, and /verify are wired.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ui-review, annotation, layout-audit, human-feedback, browser-bridge
npx claudepluginhub reddb-io/red-skills --plugin dev59 skills in this plugin
/adr-editorProposal-driven reverse grill for the active `.red/adr/` collection. Ranks active ADR clusters, recommends where to start, confronts one cluster with current implementation evidence, and applies maintainer-approved dispositions through the full ADR verb set. Use to review, curate, reorganise, fix, or extend ADRs and to pay down accumulated decision debt./afkAutonomous loop that drains the `ready-for-agent` queue on the issue tracker. Registers the project with the `redskilled` daemon at a runner and a target width, arms the drain, and observes; the daemon admits each Worker, which claims an issue, works it in its own workspace, validates, lands, and closes. Use when the user wants to run AFK execution, drain a Spec, hammer specific issues, or otherwise let agents grind through the backlog./ask-redAsk which RedSkills flow fits the current situation. Use when the operator asks what to do now, which command to run, or how to route a task through RedSkills./audit-skillsUse when the operator invokes /audit-skills to request the catalog quality scorecard. The current runtime does not serve this report./branch-lockLock the agent to a branch and block it from switching away. Sets up self-contained pre-tool hooks that block the agent's git checkout/switch to any other branch while a lock is active, and gives you a /branch-lock command to set, change, and clear the lock. Use when you want the agent pinned to one branch for a session./buildImplement an agreed change. When an issue specifies the correction for a crash, own it through reproduction, patch and regression check. Use for requests like “aplica o que combinamos no ticket” or “ship the agreed fix”.Other plugins' skills for the same job