Skip to content
Back to skills

Doc Shots

ASecurity

Capture and insert screenshots into PowerRustCOBOL's English documentation. Fills "πŸ“· Screenshot needed" placeholders and refreshes images invalidated by UI changes. Use when the user runs /doc-shots or when /docsync flags screenshots.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 3, 2026
documentationrustgoswiftdocumentation

Works with

  • cli

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add CloudLandBeta/PowerRustCOBOL --skill doc-shots --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doc Shots?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Doc Shots
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/cloudlandbeta-doc-shots/badge)](https://www.skillsdirectory.com/skills/cloudlandbeta-doc-shots)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: doc-shots
description: Capture and insert screenshots into PowerRustCOBOL's English documentation. Fills "πŸ“· Screenshot needed" placeholders and refreshes images invalidated by UI changes. Use when the user runs /doc-shots or when /docsync flags screenshots.
---

# /doc-shots β€” capture & insert documentation screenshots

Helper of the `/docsync` documentation phase (see `specs/steering/docs.md` β†’
Screenshot policy).

## Steps

1. **Find what's needed.** Scan the English docs for `πŸ“· Screenshot needed β€”
   \`name.png\`` placeholders, plus any images `/docsync` flagged as stale. Build a
   shot list: each item = file name + the exact IDE view/state to show.
2. **Run the IDE.** Build it (`cargo build -p cobolt-ide`) and launch the `.app`
   bundle (re-sign with `codesign --force --sign - <app>` if `open` fails with
   launch error 162). For a fresh build, copy the new binary into the bundle first.
3. **Capture each shot.** Get the target window id with a Swift
   `CGWindowListCopyWindowInfo` snippet, then
   `screencapture -x -o -l <window-id> assets/images/screenshots/<name>.png`.
   - egui menus can't be clicked by automation on the bare binary; if a shot needs
     a specific menu/dialog open, **ask the operator to drive to that view**, then
     capture. Confirm each capture by reading the PNG back.
4. **Insert into the doc.** Replace the placeholder line with a centered image:
   `<p align="center"><img src="../assets/images/screenshots/<name>.png" alt="…" width="…"></p>`
   (path is relative to `docs/`). Keep the alt text descriptive.
5. **Report** which shots were captured/inserted and any still pending operator
   help.

## Rules

- **English docs only** (GOLDEN RULE #3). Screenshots are language-neutral, so
  translations can reference the same files.
- Save to `assets/images/screenshots/` with the placeholder's exact name.
- Don't commit/push unless asked.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation β†’

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.