doc-screenshots
Skill by WordPress
Annotates UI screenshots with documentation callouts in one fixed house style: orange arrows, blue target outlines and numbered cards. Aimed at people producing docs or tutorial visuals for Playground, Studio or other web UIs.
Install doc-screenshots
Built from the published package, never by AI.
git clone --depth 1 https://github.com/WordPress/wordpress-playground /tmp/wordpress-playground && mkdir -p ~/.claude/skills && cp -r /tmp/wordpress-playground/.agents/skills/doc-screenshots ~/.claude/skills/doc-screenshotsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/WordPress/wordpress-playground /tmp/wordpress-playground && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/wordpress-playground/.agents/skills/doc-screenshots ~/.gemini/antigravity-cli/skills/doc-screenshotsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
doc-screenshots is an agent skill from WordPress that adds documentation callouts to UI screenshots. It sets out one visual style: uniform-width orange (#e8590c) arrows with white halos, double-stroke blue outlines around targets, numbered callout cards, dim overlays and a framed canvas. The assistant records exact target coordinates with Playwright, writes a config JSON, and the bundled scripts/annotate.py renders the final WEBP image.
The skill offers two modes: free arrows onto specific controls for walkthroughs, and an overview with a legend of cards over a dimmed page. It includes a quality checklist for arrow gaps, halos and card text overflow, plus examples that share a sample screenshot. It is aimed at people making docs or tutorial visuals for Playground, Studio or any web UI.
Written from the project's SKILL.md and checked against it.
What it can do
- Arrow and outline annotationDraws uniform-width orange arrows with white halos and double-stroke blue outlines around UI targets.
- Numbered callout cardsRenders cards with blue number badges that auto-draw vertical arrows to their target outlines.
- Dim overlayDims the rest of the screenshot while keeping a chosen region at full brightness.
- Framed canvasPlaces the annotated screenshot on a light canvas with a rounded frame and soft shadow.
- Optional chrome barAdds a browser-style bar with traffic lights and a URL pill when browser context matters.
- Playwright capture guidanceCaptures at 2x device scale and saves element bounding boxes to JSON instead of estimating coordinates.
- Welcome modal dismissalDescribes an Escape loop to close WordPress editor welcome guides that block clicks.
- WEBP exportSupersamples the drawing and exports a WEBP file through scripts/annotate.py from a config JSON.
What you need
- Python with Pillow, or a virtual environment to install it
- Playwright, from a repo node_modules or the Python package
- Chromium installed for Playwright
- Node.js, if driving Playwright from Node
Try asking
- Add arrows and callouts to this screenshot for a Playground tutorial.
- Make a docs screenshot that highlights the Export button in this capture.
- Create an overview image with three numbered cards over a dimmed Studio page.
Good to know
- Arrow, color, outline and card styles are fixed in the script and not meant to be overridden.
- The output path must end in .webp.
- Card text that overflows is treated as a hard failure in the quality gate.
- Free arrows must be placed by hand with the tip 5 to 7px short of the outline.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/doc-screenshots/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
evals/evals.json5 KB -
evals/files/boxes.json390 B -
evals/files/broken-config.json295 B -
examples/config-overview-cards.json884 B
Show all 7 files
-
examples/config-walkthrough-arrows.json486 B -
scripts/annotate.py20 KB
Alternatives to doc-screenshots
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
doc-screenshots: common questions
How does doc-screenshots place arrows accurately?
The skill asks the assistant to record each target's bounding box with Playwright at deviceScaleFactor 2 and save the boxes to JSON. The script then renders from a config JSON using those coordinates.
What does the rendering script need to run?
It needs Python with Pillow. If no suitable interpreter is active, the skill describes creating a virtual environment and installing Pillow there.
When should I use cards instead of free arrows?
Use free arrows to point at specific controls in a walkthrough. Use cards with outlines and a dim overlay for an overview with a legend.
How do I install doc-screenshots?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is doc-screenshots free?
The code is published under the GPL-2.0 licence. The service it connects to may have its own pricing.
Is doc-screenshots safe to use?
It scores 81 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to doc-screenshots?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
