← ClaudeAtlas

apply-commentslisted

Apply pending @slide-comment markers written by the open-slide inspector tool. Use when the user asks to "apply comments", "process slide comments", "apply the inspector comments", or references markers left inside `slides/<id>/index.tsx`.
samulee003/agentic-ppt-skills · ★ 0 · AI & Automation · score 70
Install: claude install-skill samulee003/agentic-ppt-skills
# Apply slide comments The open-slide editor has an inspector tool that lets the user click on a rendered page element and attach a textual comment (e.g. *"make this red"*, *"change to 'Open Slide Rocks'"*). Each comment is persisted as an in-source JSX marker inside `slides/<slideId>/index.tsx`. Your job: read those markers, perform the described edits, and delete the markers. > **Before making any page edit**, consult the **`slide-authoring`** skill — it is the technical reference for how `slides/<id>/index.tsx` is structured (canvas, type scale, palette, assets, file contract). A comment like *"make this bigger"* or *"change the accent colour"* should be applied in a way that stays consistent with those rules. ## Marker format ``` {/* @slide-comment id="c-<8hex>" ts="<ISO>" text="<base64url(JSON)>" */} ``` - Always sits on its own line as the **first child inside** the JSX element it refers to (i.e. between that element's opening `>` and its other children). The marker is dropped *into* its target, not floated above it. - `text` is base64url-encoded JSON: `{"note": "...", "hint"?: "..."}`. - Detection regex (authoritative — use exactly this): ``` /\{\/\*\s*@slide-comment\s+id="(c-[a-f0-9]+)"\s+ts="([^"]+)"\s+text="([A-Za-z0-9_\-]+={0,2})"\s*\*\/\}/g ``` ## Procedure 1. **Identify the target slide(s).** - If the user names one (`getting-started`, `q2-roadmap`, etc.), work on that single `slides/<slideId>/index.tsx`. - If they say "all" or don't specify,