본문으로 건너뛰기
Skillpedia
이미지 및 아이콘75k · #2997

responsive-images

하는 일

이 스킬은 사이트의 이미지 마크업을 확인하고, srcset과 sizes 속성이 없거나 잘못된 곳에 추가합니다. 화면마다 다른 크기로 이미지를 보여 주는 웹 제작자를 위한 것입니다.

사용하는 경우

  • ✓기기마다 알맞은 크기의 이미지를 받도록 해 달라고 요청할 때.
  • ✓휴대폰이 데스크톱용 큰 이미지를 내려받아 로딩이 느릴 때.
  • ✓기사 카드, 갤러리 등 여러 너비로 이미지를 보여 주는 컴포넌트를 만들 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/responsive-images/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/responsive-images/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 사이트가 휴대폰에 아주 큰 이미지를 보냅니다. 기기마다 알맞은 크기를 받도록 반응형 이미지를 설정해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 여러 너비를 담은 srcset과 실제 레이아웃에 맞는 sizes 속성을 추가합니다. 그러면 브라우저가 각 화면과 픽셀 밀도에 맞는 가장 작은 적당한 파일을 고를 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Implement responsive images with srcset

Serving a 2000px image to a 400px phone screen wastes bandwidth and slows loading—srcset lets the browser download only the size it needs.

Quick Reference

  • Use srcset to provide multiple image sizes
  • Use sizes attribute to tell browser which size to download
  • Browser selects optimal size based on viewport and DPR
  • Can save 50-70% bandwidth on mobile devices

Check

Verify that images use srcset and sizes attributes for responsive delivery.

Fix

Implement responsive images with srcset for different screen sizes and resolutions.

Explain

Explain how responsive images deliver optimized versions based on device capabilities.

Code Review

Inspect image markup and component abstractions for srcset, sizes, and width/height handling. Flag pages that always ship desktop-sized assets to mobile, omit sizes, or generate variants that do not match the actual rendered layout.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/images/responsive-images

자주 묻는 질문

sizes가 틀리면 어떻게 되나요?

스킬은 잘못된 sizes는 브라우저가 너무 큰 파일을 고르게 만들어 srcset의 이점을 없앨 수 있다고 설명합니다.

이미지를 여러 크기로 만들어야 하나요?

네. srcset에는 여러 크기의 이미지가 필요하며, 에이전트가 이를 만드는 것을 도울 수 있습니다.

이것이 대역폭을 줄이나요?

스킬은 특히 모바일 기기에서 대역폭을 많이 절약할 수 있다고 설명합니다.

상세 정보

작성자의 원본 설명

Use when reviewing article images, cards, galleries, or any component rendered at multiple sizes across breakpoints. Check both the markup and the CSS layout because an incorrect `sizes` attribute can negate a perfectly good `srcset`.

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#2997
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬