用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/rcarmo/piclaw-addons --skill settings-dialog-screenshot命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | settings-dialog-screenshot |
| description | Capture a screenshot of the Pi web settings dialog, cropped tightly to the dialog window only. |
| distribution | public |
Use this skill when documenting Pi or piclaw add-ons and the user wants a screenshot of the settings dialog only.
Produce a tightly cropped screenshot containing just the visible settings window/dialog.
Use DOM-targeted capture instead of a full-page screenshot.
Prefer one of these, in order:
role="dialog"If there are multiple nested matches, choose the outermost visible settings dialog.
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,
});
When updating an add-on README: