Imagery

From aladicf/better-web-ui · View interactive version

Imagery is an AI agent skill from the GitHub repository aladicf/better-web-ui. Improve how interfaces use photos, screenshots, icons, illustrations, and user-uploaded media so visuals support clarity instead of undermining it. Use when the user mentions images, screenshots, background photos, hero images, icon sizing, user-uploaded media, crops, overlays, or image readability.

How to use this skill

Skill file

Assess and improve image usage so photography, illustrations, screenshots, icons, and uploaded media feel intentional, readable, and well-contained.

MANDATORY PREPARATION

Users start this workflow with /imagery. Once this skill is active, load $frontend-design — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow that protocol before proceeding — if no design context exists yet, you MUST load $setup first. Additionally gather: what role imagery plays here (brand, explanation, proof, decoration, content).

Consult the color and contrast reference when images create readability problems, need overlays, or should be harmonized with the palette.

Consult the semantic color when imagery intersects with status, alerts, meaning, or tinted contextual surfaces rather than pure atmosphere.

Consult the image treatment as the canonical shared source for overlays, screenshot sizing, icon scaling, media containment, and background bleed prevention.

Consult the surface separation when images or media need cleaner separation from surrounding surfaces.


Assess Imagery Problems

Analyze where visual media is helping or hurting:

  1. Photo quality and appropriateness:
  1. Text on images:
  1. Screenshots and icons:
  1. User-uploaded content:
  1. Harmony:

If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.

CRITICAL: Bad imagery can ruin an otherwise good design. Images should support hierarchy and communication, not create readability problems or visual chaos.

Plan Imagery Improvements

Create a plan around:

Improve Imagery Systematically

Use Appropriate Photos

Improve Text Contrast on Images

Screenshot Usage Rules

Icon Scaling Rules

User-Uploaded Media Containment

Bleed Prevention

Illustration / Photo Harmony

NEVER:

Verify Imagery Quality

Remember: Imagery should support the design’s message and hierarchy. When it starts fighting the UI, the image treatment needs work.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.