intense-visions/harness-engineering/design-imagery-photography
Claude Code and agent skill by intense-visions/harness-engineering
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install intense-visions/harness-engineering/design-imagery-photographySKILL.md
The same SKILL.md was published earlier as intense-visions/harness-engineering/design-imagery-photography.
Imagery and Photography
Image in design — art direction, aspect ratios, focal point composition, image treatments (duotone, overlay, blur), placeholder strategy, and the role of image as hero vs. supporting element
When to Use
- Defining image art direction for a product, marketing site, or editorial platform
- Choosing aspect ratios for responsive image containers across breakpoints
- Selecting or commissioning photography that aligns with brand tone
- Applying image treatments (duotone, gradient overlays, blur) for visual consistency
- Designing placeholder and loading states for image-heavy interfaces
- Deciding when an image should dominate the layout (hero) vs. support text content
- Building an image style guide for a design system
- Evaluating whether product photography communicates the intended emotional tone
Instructions
- Define art direction before sourcing images. Art direction is the set of constraints that makes 100 different photographs feel like they belong to the same product. Without it, every image is an independent aesthetic decision. Define these attributes explicitly:
- Subject matter: What is in the frame? People, products, landscapes, abstract textures?
- Color temperature: Warm (golden hour, tungsten) or cool (overcast, blue hour, fluorescent)?
- Contrast level: High contrast (dramatic shadows, punchy blacks) or low contrast (soft, flat, editorial)?
- Depth of field: Shallow (blurred background, subject isolation) or deep (everything in focus, environmental)?
- Composition style: Centered, rule-of-thirds, asymmetric, negative space dominant?
- Human presence: Faces visible, silhouettes, hands only, no people?
Airbnb's art direction specifies: warm color temperature, natural lighting, shallow-to-medium depth of field, human presence with faces visible, environments that feel lived-in (not staged). Every listing photo that matches these constraints reinforces the brand; every photo that violates them feels off-brand.
- Choose aspect ratios systematically, not per-image. Aspect ratios are layout constraints, not creative decisions. Define a small set of ratios for your product and use them consistently:
| Ratio | Decimal | Use Case | |
|---|---|---|---|
| 1:1 | 1.0 | Avatars, thumbnails, Instagram-style grids, product squares | |
| 4:3 | 1.33 | Traditional photography, cards, content thumbnails | |
| 3:2 | 1.5 | 35mm photography standard, editorial, landscape cards | |
| 16:9 | 1.78 | Video, hero banners, widescreen presentations | |
| 21:9 | 2.33 | Ultrawide hero banners, cinematic crops | |
| 2:3 | 0.67 | Portrait cards, mobile-first hero images, book covers | |
| 9:16 | 0.56 | Stories format, mobile full-screen, vertical video |
Decision procedure: pick 2-3 ratios for your product. Use the same ratio for all instances of a component type. A card grid should never mix 4:3 and 16:9 cards — the inconsistency disrupts the layout rhythm. Stripe uses 16:9 for product screenshots and 1:1 for team/avatar photos — two ratios, consistently applied.
- Compose images around a single focal point. Every image needs one dominant subject that the eye locks onto first. Measure focal point effectiveness with the "squint test" — squint until the image blurs and see what remains prominent. If nothing stands out, the image lacks a focal point.
- Rule of thirds: Place the focal point at one of the four intersection points of a 3x3 grid overlay. This creates dynamic tension and prevents the static feel of dead-center composition.
- Negative space direction: The focal point should have breathing room in the direction it faces or moves. A person looking right needs more space on the right side of the frame.
- Text overlay consideration: If text will be placed over the image, the focal point must not compete with the text zone. Apple's product hero images place the device in the lower 60% of the frame, leaving the upper 40% as a clean gradient zone for headline text.
- Apply image treatments for brand cohesion, not decoration. Treatments are systematic filters that normalize disparate source imagery into a unified visual language:
- Duotone — Maps the image's luminance range to two colors (shadow color and highlight color). Spotify uses duotone aggressively: editorial playlist covers map artist photos to brand-adjacent color pairs (e.g., deep purple shadows + electric green highlights). Duotone provides: strong brand reinforcement, visual unity across diverse source images, and automatic color palette compliance. Implementation:
mix-blend-mode: multiplyon a gradient overlay, or CSSfilter: grayscale(100%)combined with a colored overlay. - Color overlay — A semi-transparent color layer over the image. Simpler than duotone, maintains some photographic realism. Use 40-70% opacity for text-over-image readability. Stripe applies blue-tinted overlays (
rgba(6, 27, 49, 0.6)) on product screenshots to integrate them with the page's navy color scheme. - Blur — Background blur (
backdrop-filter: blur(20px)) creates depth and hierarchy. Apple's iOS uses blur extensively for layered surfaces. Use blur to de-emphasize background images when foreground content needs focus. Avoid blur values below 8px — they look like rendering errors rather than intentional effects. - Grain/noise — Adds a subtle film-grain texture. Humanizes digital imagery, adds tactile quality. Use at 3-8% opacity for subtlety. Above 10%, grain dominates and degrades image quality.
- Design image placeholders as first-class UI states. Users see placeholders during loading, on error, and when no image exists. Each state needs deliberate design:
- Loading placeholder: Use a solid color matching the image's dominant color (extract via server-side color analysis), a low-resolution blurred preview (LQIP — 20x20px inline base64 scaled up with CSS blur), or a skeleton shimmer animation. Facebook pioneered the shimmer placeholder — a gradient animation that signals "content is coming" without committing to a shape.
- Error placeholder: A branded fallback — not a broken image icon. Use a solid brand color with a subtle icon (camera with X, or brand logo at low opacity). Never show the browser's default broken-image icon.
- Empty state placeholder: When no image has been uploaded, show an actionable prompt (dashed border with "Add photo" text and camera icon) rather than a blank space.
Concrete implementation: use <img> with loading="lazy", decoding="async", a background-color matching the image's average color, and an onerror handler that swaps to the branded fallback. The CSS aspect-ratio property on the container prevents layout shift during loading.
- Distinguish hero images from supporting images in layout weight. Hero images dominate the viewport and establish emotional tone. Supporting images illustrate specific content without commanding attention.
| Attribute | Hero Image | Supporting Image | |
|---|---|---|---|
| Viewport coverage | 60-100% of viewport width | 25-50% of column width | |
| Aspect ratio | Wide (16:9, 21:9) or full-bleed | Standard (4:3, 3:2, 1:1) | |
| Text overlay | Common — headline + CTA over image | Rare — text adjacent, not overlaid | |
| Image quality | Maximum resolution, art-directed | Adequate resolution, may be user-generated | |
| Count per page | 1 (at most 2 in long-scroll pages) | Multiple | |
| Loading priority | fetchpriority="high", eager load | loading="lazy", low priority |
Apple's product pages use exactly one hero image per section — the iPhone floating on a black background, full-bleed, no competing elements. Below it, supporting images show specific features at 50% viewport width with adjacent text blocks.
Details
Responsive Image Art Direction
Different viewport sizes may need different crops, not just scaled versions of the same image. The <picture> element with <source> tags enables art direction:
The wide crop might show the full product in context (16:9). The medium crop centers on the product (4:3). The mobile crop is a tight vertical crop of just the product face (2:3). This is not responsive scaling — it is three different compositions optimized for three viewport contexts. Airbnb uses art direction for listing hero images: desktop shows the full room (16:9), mobile shows a tighter crop focused on the most compelling detail (4:3).
Image Performance as Design Constraint
Image file size directly impacts perceived design quality because slow-loading images degrade the experience. Design constraints:
- Hero images: Target 200KB maximum for LCP (Largest Contentful Paint). Use WebP or AVIF format. AVIF achieves ~50% smaller files than JPEG at equivalent quality.
- Thumbnails: Target 15-30KB each. Generate server-side at exact display dimensions — never send a 2000px image for a 200px thumbnail.
- LQIP previews: 200-500 bytes inline base64. A 20x20px JPEG at quality 20 is ~300 bytes and, when scaled with CSS blur, creates an effective placeholder.
- Cumulative Layout Shift: Always declare
widthandheightattributes on<img>tags, or useaspect-ratioCSS on containers. A hero image that causes 0.15 CLS (shifting the headline down by 400px on load) feels broken regardless of its artistic quality.
Anti-Patterns
- Aspect Ratio Chaos. A card grid where each card uses whatever aspect ratio the source image happens to be — some 4:3, some 16:9, some 1:1 — creating a ragged, uneven layout. Fix: enforce a single aspect ratio per component type using CSS
aspect-ratioandobject-fit: cover. Crop the image to fit the container, never stretch or letterbox.
- Unanchored Text Overlays. Placing white text over a photograph without a scrim, gradient, or sufficient contrast zone. The text is legible over the dark tree but disappears over the bright sky. Fix: always apply a gradient scrim (
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%)) from the text edge toward the image. Apple uses a bottom-to-top black gradient on every text-over-image hero, ensuring minimum 4.5:1 contrast ratio regardless of image content.
- Decorative Images Without Alt Text Strategy. Marking all images as
alt=""(decorative) or giving all images verbose literal descriptions. Neither is correct universally. Fix: hero images that convey emotional tone should have brief, contextual alt text ("Team collaborating in a sunlit office"). Decorative texture or pattern backgrounds should havealt="". Product images should have descriptive alt text that adds information not available in adjacent text.
- Stock Photo Uncanny Valley. Using obviously staged stock photography — perfectly diverse groups of smiling people in a pristine office — that reads as inauthentic. Users have developed strong pattern recognition for stock photography and subconsciously distrust it. Fix: commission custom photography with real employees/users, use candid rather than posed shots, or use abstract/illustrated imagery that does not pretend to be photographic.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/skills/gemini-cli/design-imagery-photography/SKILL.md
Popularity
- Repository stars
- 14
- Repository forks
- 7
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/intense-visions/harness-engineering/design-imagery-photography)