Screenshot Ui Analyzer Guru
Streamline your workflow with this analyzes, visual, components, layout. Includes structured workflows, validation checks, and reusable patterns for ui analysis.
Screenshot UI Analyzer Guru
Extracts and catalogs UI components, layout structures, and design patterns from application screenshots.
When to Use This Agent
Choose this agent when you need to:
- Reverse-engineer component hierarchy and layout structure from application screenshots
- Generate structured JSON inventories of UI elements for migration planning
- Identify design system patterns and visual hierarchy without source code access
Consider alternatives when:
- You have direct DOM access and can inspect elements programmatically
- You need to generate functional code rather than an analytical inventory
Quick Start
Configuration
name: screenshot-ui-analyzer-guru type: agent category: ui-analysis
Example Invocation
claude agent:invoke screenshot-ui-analyzer-guru "Analyze the dashboard screenshot for all interactive components"
Example Output
{
"page_type": "dashboard",
"layout": {
"structure": "sidebar-main",
"sections": ["top-nav", "sidebar", "main-content"]
},
"components": [
{ "type": "sidebar-nav", "location": "sidebar", "state": "expanded" },
{ "type": "data-table", "location": "main-content", "state": "default" },
{ "type": "bar-chart", "location": "main-content", "state": "active" }
],
"design_patterns": ["card-based-layout", "fixed-sidebar"],
"visual_hierarchy": "sidebar-dominant with content cards"
}
Core Concepts
Visual Analysis Taxonomy
| Aspect | Details |
|---|---|
| Component Identification | Navigation, forms, data display, feedback, and media elements cataloged by type |
| Layout Analysis | Page structure detection including grid systems, spacing rhythm, and breakpoints |
| Pattern Recognition | Component library fingerprinting (Material, Ant Design, Chakra) via styling cues |
| State Detection | Active, disabled, loading, error, empty, hover, and selected states per element |
| Visual Hierarchy | Reading order, focal points, typographic scale, and color weight distribution |
Analysis Pipeline Architecture
+------------------+ +------------------+ +-------------------+
| Screenshot |---->| Region |---->| Component |
| Ingestion | | Segmentation | | Classification |
+------------------+ +------------------+ +-------------------+
|
+-------------------+ +-------------------+ |
| Structured JSON |<----| Pattern & State |<-+
| Output | | Mapping |
+-------------------+ +-------------------+
Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
| analysis_depth | string | "standard" | Detail level: "quick", "standard", or "exhaustive" |
| output_format | string | "json" | Output structure: "json", "markdown", or "csv" |
| include_states | boolean | true | Detect and report component interaction states |
| design_system_hint | string | null | Known design system for more accurate matching |
| responsive_analysis | boolean | false | Infer responsive breakpoint behavior from layout cues |
Best Practices
-
Provide High-Resolution Screenshots - Higher resolution preserves fine details like icon glyphs, border radii, and subtle shadows that distinguish component libraries. Low-res images cause misclassification of small elements such as toggles and checkboxes.
-
Capture Full Viewport Context - Include the entire visible viewport rather than cropping to a single section. The agent uses surrounding context to determine grid structures, spacing patterns, and hierarchical relationships invisible in isolation.
-
Include Multiple States - Supplying screenshots of the same view in different states (loading, error, empty, populated) builds a comprehensive state map valuable for design system audits where state coverage is a key metric.
-
Annotate Ambiguous Regions - Provide brief notes for custom or non-standard components. The agent excels at standard patterns but benefits from hints when encountering bespoke widgets like domain-specific visualizations.
-
Use Consistent Dimensions - Maintain identical viewport dimensions across captures when analyzing multiple screens. This enables accurate comparison of layout shifts and spacing consistency across pages.
Common Issues
-
Overlapping Components Misidentified - Modals, dropdowns, or tooltips overlapping content may be merged into a single component. Capture separate screenshots with and without overlays to classify each layer independently.
-
Dark Mode Contrast Misread - Dark themes can cause boundary misidentification where background and border colors converge. Use the design_system_hint parameter to improve boundary detection accuracy.
-
Custom Icon Systems Unrecognized - Proprietary icon sets may be classified generically as "icon" without semantic meaning. Supply a reference legend or description of the icon system to improve classification.
Reviews
No reviews yet. Be the first to review this template!
Similar Templates
API Endpoint Builder
Agent that scaffolds complete REST API endpoints with controller, service, route, types, and tests. Supports Express, Fastify, and NestJS.
Documentation Auto-Generator
Agent that reads your codebase and generates comprehensive documentation including API docs, architecture guides, and setup instructions.
Ai Ethics Advisor Partner
All-in-one agent covering ethics, responsible, development, specialist. Includes structured workflows, validation checks, and reusable patterns for ai specialists.