Apply comments
The slash command that closes the visual feedback loop.
/apply-comments is the agent skill that turns inspector comments into
real edits.
What it does
- Scans the workspace for
@slide-commentmarkers. - For each marker, reads the surrounding code and the comment text.
- Edits the file to satisfy the comment.
- Removes the marker.
The skill is shipped pre-installed by npx @open-slide/cli init. You invoke
it from any compatible agent (Claude Code, Codex, Cursor, …).
› /apply-comments
✓ 3 markers · slides/q2-launch/index.tsx
✓ 1 marker · slides/intro/index.tsxWhen to use it
Use it after a batch of inspector comments — usually right before saving the deck for the day, or right before a rehearsal. The loop is:
present → click to comment → /apply-comments → repeatIf a comment is ambiguous, the agent will leave the marker in place and explain why. Refine the comment text and re-run.
