본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)75k · #3029

source-maps

하는 일

이 스킬은 프로젝트 빌드가 소스 맵을 만드는지, 운영 중 발생한 문제를 디버깅할 수 있도록 안전하게 다루는지 확인합니다. 코드를 노출하지 않고 실시간 오류를 진단하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓실제 사이트에서 발생한 오류를 디버깅할 수 있도록 설정해 달라고 요청할 때.
  • ✓운영 환경 오류가 읽기 어려운 압축 코드를 가리킬 때.
  • ✓앱을 오류 추적 서비스에 연결하고 소스 맵을 그곳에 업로드하려 할 때.

스킬 링크

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

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

사용 방법

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

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

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/source-maps/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분.

작동 방식

에이전트는 소스 맵을 생성하도록 빌드 설정을 바꾸고, 소스 맵이 어떻게 처리되는지 확인합니다. 스킬은 소스 맵을 공개적으로 제공하지 않고 오류 추적 서비스에 업로드할 것을 권장합니다.

기술 내용 (원본 SKILL.md)

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

Provide source maps for production debugging

Source maps are essential for debugging production issues effectively without compromising the performance benefits of minification.

Quick Reference

  • Generate source maps to map minified code back to original source
  • Upload source maps to error tracking services (e.g., Sentry) instead of serving them publicly
  • Ensure source maps are correctly linked in your build process

Check

Verify if the project's build process generates source maps and if they are being correctly handled for production debugging.

Fix

Update the build configuration to generate source maps and integrate with an error tracking service for secure production debugging.

Explain

Explain how source maps enable developers to debug original source code when only minified code is running in the browser.

Code Review

Review the routes, assets, and loading behavior that affect Provide source maps for production debugging. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.


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

Rule page: https://frontendchecklist.io/rules/performance/source-maps

자주 묻는 질문

소스 맵이란 무엇인가요?

압축된 코드를 원본 소스와 연결하는 파일이므로, 오류를 읽기 좋은 형태로 볼 수 있게 해 줍니다.

소스 맵은 공개해야 하나요?

아닙니다. 스킬은 공개적으로 제공하지 않고 오류 추적 서비스에 업로드할 것을 권장합니다.

소스 맵이 사이트 속도를 떨어뜨리나요?

스킬에 따르면 디버깅용으로 쓰이므로, 코드 압축의 장점을 잃지 않고 생성할 수 있습니다.

상세 정보

작성자의 원본 설명

Use when auditing slow page loads, heavy assets, or rendering delays related to Provide source maps for production debugging. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

repo: thedaviddias/Front-End-Checklist

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬