ingest-screenshot
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ingest-screenshot":https://skillpi.com/zh/skills/deepskill-0a2904603be0c3ffa00ec45ab44d9cc0cc059697c12930b9ffa31695f204d7f6。安装前核对上游来源和版本:https://github.com/bluzir/claude-code-design。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
用于分析用户上传的图像(设计截图、网站或应用界面),并提取设计令牌(如颜色、字体、间距)作为起点。当用户粘贴或附加图像并表示“重新创建这个”、“匹配这张图片”或“使用这种风格”时使用。
介绍来源: third_party · bluzir · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 来源文档未说明。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: ingest-screenshot
description: Analyze an uploaded image (screenshot of a design, website, app) and extract design tokens to use as a starting point. Use when user pastes or attaches an image and says "recreate this", "match this image", "use this style".
argument-hint: <image-path>
allowed-tools: Read Write Bash(mkdir:*) Bash(realpath:*) Bash(file:*)Ingest Screenshot
Extract design tokens from a static image using Claude's vision. Honest caveats: exact hex codes are approximate without source files. Claude recreates UIs more reliably from code than from screenshots.
Steps
-
Resolve image path:
$0.Bash(file <path>)to confirm it's an image (png/jpg/webp/heic). -
Read via multimodal
Read: this loads the image for vision. Claude can see it. -
Analyze systematically. From the image, identify:
- Dominant colors — pick 5-8 swatches with hex approximations. Flag uncertain ones ("looks like #2A4B6D but vision hex is approximate").
- Typography — font family (match to common families: Inter-like, serif-like, display, mono), sizes (relative), weights (light/regular/medium/bold), line-height impression
- Spacing rhythm — estimate base unit (4/6/8px) from gaps + padding
- Radii — sharp / small / medium / pill
- Component patterns — what types of elements appear (buttons, cards, navigation, inputs)
- Aesthetic register — minimal / dense / decorative / playful / corporate / brutalist
-
Write output:
artifacts/ingested/screenshot-<timestamp>-tokens.jsonSame schema as
ingest-github+"source": { "image": "<path>", "ingested_at": "..." }+"confidence": "low|medium|high"per category. -
Preview confidence: for each uncertain value, add a
"confidence"field (low|medium|high). Vision-derived hex codes should belowormedium. -
Offer next step:
- "Extracted tokens saved. Colors are approximate — do you have the source file (CSS, design system, brand guide) to cross-check?"
- Follow-up:
/create-design-systemor start/make-deck//interactive-prototypeusing these as starting point.
Limitations — tell the user
- Vision returns approximate hex, not exact. For production accuracy, provide source files.
- Multiple overlapping colors → Claude picks representative samples, not all variations
- Typography recognition is fuzzy — "looks like Inter" ≠ "is Inter"
- Pixel dimensions require the image's actual resolution to be readable
Workflow integration
After ingest, always offer to pair with a real source (Figma, codebase) to lock in exact values — the screenshot gives a starting direction, not ground truth.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决设计师和开发者从截图快速提取设计令牌的刚需场景
- 明确区分了图像识别的近似性与生产级精度的差异,诚实告知用户局限性
待提升项
-
缺少 When to Use 显式章节 原报告严重程度:轻微
触发场景描述完整但未独立成节,不利于快速查阅
改进建议:建议在 Steps 前增加独立 'When to Use' 章节,强化触发指引
亮点
- 触发词覆盖多种自然语言变体('recreate this', 'match this image' 等)
- argument-hint 明确指定 <image-path>,参数边界清晰
待提升项
-
示例可更具体 原报告严重程度:轻微
输出 tokens.json 的 schema 描述较抽象,缺少具体字段示例
改进建议:建议补充一个简短的 JSON 片段示例,展示关键结构(如 colors、typography、confidence 字段)
亮点
- Phase 划分清晰(Resolve → Read → Analyze → Write → Preview → Offer next step)
- 包含明确的出口条件与后续工作流集成建议
亮点
- 工具调用规范(Bash(file <path>) 校验图像格式)
- 对不可靠输出(hex 近似值)标注置信度,避免误导用户
- 关键操作(写文件)有明确路径命名规则(timestamp)防止冲突
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。