Skip to content

/screenshot-docs-sync

Authoring class

Writes exactly one artifact into the repo, then proposes the commit — never runs git itself. Shared rules: CONVENTIONS-authoring.md.

Detects what changed since the docs were last updated, captures fresh screenshots of the affected UI with a headless browser, and edits the relevant doc sections in place.

At a glance

Run it /screenshot-docs-sync
Class authoring
Version 0.1.0
Author navjyotnishant
Needs npx + Playwright · sharp (via npx)
Source skills/screenshot-docs-sync/SKILL.md

What it needs, and what happens without it

Every tool is detected at runtime — none is installed for you.

Tool Without it
npx + Playwright no capture is possible — say so and stop rather than inventing images
sharp (via npx) ships the full-page capture instead, noting it was not cropped

Agents it spawns

This skill spawns no subagents — it runs inline.

The procedure

The executable steps live in the skill file itself and are deliberately not reproduced here: they are instructions to the model at runtime, not documentation.

Read screenshot-docs-sync/SKILL.md →