settings-dialog-screenshot
Capture a screenshot of the Pi web settings dialog, cropped tightly to the dialog window only.
от rcarmo★ 25 звёзд на GitHub
Установить settings-dialog-screenshot в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Settings Dialog Screenshot
Use this skill when documenting Pi or piclaw add-ons and the user wants a screenshot of the settings dialog only.
Goal
Produce a tightly cropped screenshot containing just the visible settings window/dialog.
Preferred method
Use DOM-targeted capture instead of a full-page screenshot.
Workflow
- Open the relevant Pi web UI page.
- Open the Settings dialog or pane to document.
- Wait until the dialog is fully rendered.
- Identify the top-level visible dialog container.
- Capture a screenshot of that element only.
- Save as PNG.
- Attach the PNG if the user wants the image as a deliverable.
Rules
- Do not capture the whole page if an element-level capture is possible.
- Do not include unrelated surrounding UI unless unavoidable.
- Prefer the outer visible dialog frame, including rounded corners and shadow.
- If the dialog is scrollable, capture the currently visible state unless the user explicitly asks for a stitched/full-content version.
- Never expose passwords, tokens, or private data in the screenshot.
Good selectors
Prefer one of these, in order:
- the nearest stable modal root
- the element with
role="dialog" - the top-level settings pane container
- the visible card/window wrapper for the settings UI
If there are multiple nested matches, choose the outermost visible settings dialog.
Playwright pattern
Preferred:
const dialog = page.locator('[role="dialog"]').first();
await dialog.screenshot({ path: 'settings-dialog.png' });
Fallback:
const dialog = page.locator('.settings-dialog, .modal, [role="dialog"]').first();
const box = await dialog.boundingBox();
await page.screenshot({
path: 'settings-dialog.png',
clip: box ?? undefined,
});
Output expectations
- PNG preferred
- tight crop
- readable labels and toggles
- no unnecessary browser chrome
- safe to embed in a README or add-on docs page
Use in documentation
When updating an add-on README:
- prefer a realistic populated example
- crop to the dialog only
- avoid clutter
- keep the screenshot current with the documented UI
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл settings-dialog-screenshot?
Capture a screenshot of the Pi web settings dialog, cropped tightly to the dialog window only.
Как установить скилл settings-dialog-screenshot?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл settings-dialog-screenshot запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…