visual-reference-analysis
Skill11 starsChanged 9 days agoMITView on GitHub
Analyze supplied screenshots, design references, competitor pages or visual examples and translate useful observations into an original web interface direction. Use when a user provides reference images, asks to match a visual style, compares design options, or wants to extract layout, typography, color and interaction principles without copying another product.
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- accessibility-automationSkill
- accessibility-reviewSkill
- accessible-componentsSkill
- accessible-motionSkill
- animation-performanceSkill
- anti-slop-uiSkill
- api-securitySkill
- authentication-sessionsSkill
- authorization-access-controlSkill
- component-engineeringSkill
- core-web-vitalsSkill
- design-directionSkill
- design-system-architectureSkill
- document-head-seoSkill
- font-performanceSkill
- forms-and-validationSkill
- frontend-architectureSkill
- gsap-fundamentalsSkill
- icon-engineeringSkill
- image-asset-optimizationSkill
- independent-reviewSkill
- interactive-storytellingSkill
- javascript-performanceSkill
- keyboard-focusSkill
- modern-cssSkill
- motion-design-systemsSkill
- network-cachingSkill
- performance-auditingSkill
- performance-testingSkill
- premium-landing-pagesSkill
- quickstart-onboardingSkill
- rendering-performanceSkill
- responsive-engineeringSkill
- screen-reader-testingSkill
- scrolltrigger-experiencesSkill
- secrets-configurationSkill
- secure-application-designSkill
- secure-input-outputSkill
- security-reviewSkill
- security-testingSkill
- semantic-accessibilitySkill
- visual-design-reviewSkill
- wcag-auditingSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Do not infer hidden breakpoints, animation behavior or component implementation from a single screenshot.
- Distinctive: line 53
Look for a small number of coherent principles.
- Distinctive: line 65
Create a new composition, token system and component plan.
- Distinctive: line 69
When references disagree, prioritize in this order:
- Distinctive: line 83
If only screenshots are available, state which behaviors remain unverified.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Visual Reference Analysis
Objective
Turn visual references into explicit, reusable design decisions while preserving the user's product identity and avoiding direct imitation. Treat references as evidence of visual techniques, not as specifications to copy.
1. Confirm the reference and intended use
Identify each supplied reference and its role:
- Visual mood or art direction.
- Layout or information hierarchy.
- Typography or color.
- Component behavior.
- Image treatment.
- Interaction or motion.
- Responsive composition.
Record whether the reference is a screenshot, live page, design file or written description. Do not claim to have inspected a live interaction from a static image.
2. Observe before interpreting
Describe visible facts separately from assumptions.
Inspect:
- Page regions and content order.
- Alignment, grid, spacing and density.
- Type scale, weight, line length and hierarchy.
- Color roles and contrast relationships.
- Image subject, crop, scale and placement.
- Borders, surfaces, depth and decorative treatment.
- Navigation, actions and visible states.
- Viewport dimensions and any responsive evidence.
Do not infer hidden breakpoints, animation behavior or component implementation from a single screenshot.
3. Extract design principles
For each useful observation, state:
- What is visible.
- What experience it creates.
- Why it may suit the target product.
- What should be adapted rather than copied.
- What risks or accessibility constraints apply.
Look for a small number of coherent principles. Avoid turning every visible detail into a requirement.
4. Build an original translation
Map the extracted principles to the target product's:
- Audience and primary task.
- Brand personality and existing assets.
- Content hierarchy and real information.
- Technology and maintenance constraints.
- Accessibility and responsive requirements.
Create a new composition, token system and component plan. Do not reproduce proprietary copy, logos, illustrations, photography or a distinctive page layout unless the user owns the assets or has permission.
5. Resolve conflicting references
When references disagree, prioritize in this order:
- User's explicit requirements and brand constraints.
- User task, content clarity and accessibility.
- Product-specific identity.
- Technical feasibility and maintainability.
- Secondary aesthetic preferences.
Explain material trade-offs instead of blending incompatible styles into an incoherent compromise.
6. Verify the translation
Compare the implemented result with the extracted principles, not by pixel-copying the source. Check the complete page, real content, mobile composition, keyboard behavior, focus visibility, contrast and reduced motion.
If only screenshots are available, state which behaviors remain unverified.
Output
Return a reference matrix with observation, inferred principle, proposed adaptation and risk. Follow it with a concise art direction and component/token plan.
Completion checklist
- Reference types and evidence limits are recorded.
- Visible facts are separated from interpretation.
- Principles are tied to the target product and user task.
- Conflicting references are resolved explicitly.
- No unlicensed assets or distinctive content are copied.
- Responsive and accessibility constraints are included.
- Verification claims match the evidence actually available.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

