Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

spec-from-screenshot屏幕截图中的规格

Agent Skill

spec-from-screenshot 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

318

周安装

13

GitHub Stars

6

下载量

102
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:spec-from-screenshot(屏幕截图中的规格)
来源仓库:https://github.com/sablier-labs/agent-skills
仓库路径:skills/spec-from-screenshot
安装命令:
npx skills add https://github.com/sablier-labs/agent-skills --skill spec-from-screenshot
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sablier-labs/agent-skills --skill spec-from-screenshot

简介

spec-from-screenshot 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 了解具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 当前归类为研究检索类技能,适用于信息探索与筛选场景。

SKILL.md

Screenshot Analysis & Spec Generation

Analyze website screenshots and generate detailed implementation specifications. This skill guides creation of comprehensive SPEC.md files that document design systems extracted from visual references.

When to Use

  • User provides website screenshots or design mockups
  • Request for implementation specifications from visual references
  • Need to extract design systems (colors, typography, spacing) from images
  • Creating detailed component inventories from UI screenshots

Workflow

Step 1: Validate Prerequisites

Ensure screenshots are available in the conversation. If no images are present, request them before proceeding.

Step 2: Perform Ultra-Detailed Analysis

Analyze all provided screenshots covering these aspects:

1. Layout Architecture

  • Overall page structure (header, navigation, hero, main content, sidebars, footer)
  • Grid system and column layouts
  • Container widths and max-widths
  • Section hierarchy and nesting

2. Typography System

  • Font families (identify primary, secondary, monospace)
  • Font sizes for each text level (h1-h6, body, small, etc.)
  • Font weights used (light, regular, medium, semibold, bold)
  • Line heights and letter spacing
  • Text colors and contrast ratios

3. Color Palette

  • Primary brand colors
  • Secondary/accent colors
  • Background colors (main, sections, cards)
  • Text colors (headings, body, muted, links)
  • Border colors
  • State colors (success, error, warning, info)
  • Color codes in hex/rgb (best approximation)

4. Spacing System

  • Margins between major sections
  • Padding within components
  • Gap spacing in flex/grid layouts
  • Consistent spacing scale (e.g., 4px, 8px, 16px, 24px, 32px)
  • Vertical rhythm patterns

5. Component Inventory

  • Buttons (styles, sizes, states)
  • Input fields and forms
  • Cards and containers
  • Navigation elements
  • Icons and their style
  • Badges, tags, labels
  • Modals, tooltips, dropdowns
  • List items and data tables

6. Visual Design Details

  • Border radius values
  • Shadow styles (box-shadow parameters)
  • Border styles and thicknesses
  • Background patterns or gradients
  • Opacity/transparency effects

7. Images and Media

  • Image locations and dimensions
  • Image aspect ratios
  • Icon sets (SVG, font icons, or images)
  • Logo placement and size
  • Decorative vs content images
  • Note which images need to be sourced/created

8. Interactive Elements (if discernible)

  • Hover states visible
  • Active/focus states
  • Transition/animation hints
  • Interactive feedback patterns

9. Responsive Design (if multiple viewports shown)

  • Breakpoints observable
  • Layout changes per breakpoint
  • Component behavior changes
  • Mobile-specific patterns

10. Accessibility Considerations

  • Color contrast issues
  • Heading hierarchy
  • Interactive element sizes
  • Text readability

Step 3: Generate Comprehensive SPEC.md

Write the specification to ./SPEC.md using this structure:

# Website Implementation Specification

> Generated from screenshot analysis on [DATE]

## Overview
[2-3 sentence summary of the website's purpose and design style]

## Layout Architecture
### Page Structure
### Grid System

## Typography
### Font Families
### Text Styles

## Color System

## Spacing System

## Component Inventory
[Document each component with properties]

## Images and Assets

## Responsive Behavior

## Interactive Elements and States

## Implementation Considerations
### Design Complexity Assessment
### Observable Technical Requirements
### Accessibility Observations
### Cannot Determine from Screenshots

## Open Questions / Assumptions

## Next Steps

Step 4: Present Summary

After writing SPEC.md, provide a concise summary:

## Screenshot Analysis Complete

### Overview
[1-2 sentence description]

### Key Findings
- **Layout**: [brief description]
- **Components**: [count] distinct components identified
- **Color Palette**: [count] colors in system
- **Typography**: [primary font family], [count] type levels
- **Spacing**: [spacing scale summary]
- **Assets**: [count] images/icons to source

### Output
Full specification: `SPEC.md`

### Recommendations
[1-2 key technical recommendations]

Analysis Tips

  • Start with high-level layout observations
  • Progressively zoom into details
  • Measure or estimate dimensions
  • Identify patterns and systems
  • Note uncertainties or assumptions
  • Cross-reference across multiple screenshots if provided
  • Higher resolution screenshots provide more accurate measurements

Notes

  • All measurements are approximations; verify during implementation
  • Running this analysis multiple times will overwrite existing SPEC.md
  • Multi-screenshot analysis is supported and recommended for comprehensive specs
  • Be explicit about states and behaviors that cannot be determined from static images

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.1%
按下载量换算35

Claude

32.52%
按下载量换算33

Cursor

20.88%
按下载量换算21

Gemini CLI

9.13%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills