본문으로 건너뛰기
cccskills
무료GitHub에 공개한국어 소개

mime-type

웹 페이지와 이미지 등의 실제 파일 형식이 HTTP 헤더와 일치하는지 점검하고, CSS와 JavaScript 로딩 실패 원인 및 서버 설정의 수정 위치를 정리합니다.

원문원문 설명 보기

Use when auditing server configuration or diagnosing broken resources. Applies to any web server serving HTML, CSS, JS, images, fonts, or other static assets.

AI 평가80점/ 100설치 방법 보기

이럴 때 유용합니다

  • CSS나 스크립트 로딩 실패를 조사합니다
  • 정적 파일 제공 설정을 점검합니다
  • 문자 인코딩과 nosniff 설정을 확인합니다

한국어 소개

할 수 있는 일

웹 페이지와 관련 파일의 제공 설정을 점검하여 CSS나 JavaScript가 제대로 로드되지 않는 원인을 조사합니다. 파일 종류를 알려 주는 HTTP Content-Type 헤더를 확인합니다. HTML, CSS, JavaScript, 이미지의 실제 형식과 비교하여 일치하지 않는 부분이나 문자 인코딩 지정이 빠진 곳을 짚습니다.

이럴 때 유용합니다

페이지 레이아웃이 깨지거나 스크립트가 실행되지 않는 문제를 조사할 때 유용합니다. 정적 파일을 제공하는 서버의 설정을 검토할 때도 사용할 수 있습니다. HTML 페이지가 아닌 파일이 text/html로 반환되는 문제도 확인합니다.

사용 예시

  • “주요 페이지와 연결된 CSS, JavaScript, 이미지의 Content-Type을 확인해 주세요.”
  • “HTML의 charset=utf-8과 X-Content-Type-Options: nosniff 설정을 점검해 주세요.”

주의 사항

실제 HTTP 응답 헤더를 확인하는 작업입니다. 수정은 사용 중인 서버나 프레임워크 설정에서 수행합니다. 원문에서는 Next.js 등의 설정 위치로 next.config.js를 제시합니다.

이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.

객관 평가

AI가 SKILL.md의 내용만을 근거로 4가지 관점에서 판정했습니다. 스타 수나 인기도는 판정에 넣지 않았습니다.

지시의 명확성언제 쓰고 무엇을 하는지 알 수 있는가
A양호서버 설정 검토나 리소스 로딩 장애 조사 시 Content-Type을 확인한다고 명시합니다.
절차의 구체성절차·입출력·예시가 구체적으로 적혀 있는가
A양호파일 형식별 헤더 값과 문자 인코딩, nosniff, next.config.js 확인 항목을 제시합니다.
안전성전송·삭제·명령 실행 등을 명시하고 있는가
B일부 부족서버 설정과 헤더 변경을 지시하지만 변경 전 확인 절차는 제시하지 않습니다.
도입의 용이성필요한 도구나 API 키가 적고 적혀 있는가
B일부 부족실제 응답과 서버 설정에 접근해야 하지만 환경별 준비 절차는 제시하지 않습니다.

총점은 각 항목을 A=25점, B=15점, C=5점으로 더한 값입니다. 2026년 10월 23일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.

평가가 다르다고 생각되면 재검토를 요청하기

어느 항목이 왜 다르다고 생각하는지 적어 주세요. 로그인은 필요 없습니다. SKILL.md와 대조해 평가를 다시 만들고 이곳에 반영합니다.

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

포함된 파일(2)

  • SKILL.md2.2 KB
  • references/rule.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

MIME Type Validation

Incorrect MIME types cause browsers to block stylesheets and scripts (MIME sniffing is disabled by X-Content-Type-Options: nosniff), breaking page rendering and signalling poor site quality to crawlers.

Quick Reference

  • The Content-Type header must match the actual file type being served
  • HTML pages must be served as text/html; charset=utf-8
  • CSS files must be served as text/css and JavaScript as text/javascript
  • Incorrect MIME types cause browsers to block or mishandle resources

Check

For key pages and their linked resources, inspect the HTTP Content-Type response header. Verify HTML responses use text/html; charset=utf-8, CSS uses text/css, JS uses text/javascript, and images use image/jpeg, image/png, etc.

Fix

Update your server configuration to serve each file type with its correct MIME type. Set X-Content-Type-Options: nosniff to prevent browsers from guessing content types. In Next.js and similar frameworks, configure headers in next.config.js.

Explain

The Content-Type header tells browsers and crawlers what kind of content is being sent. When it mismatches the actual file type, browsers either block the resource or render it incorrectly—CSS served as text/plain won't be applied, and JavaScript served as text/html may be blocked by strict MIME checking.

Code Review

For HTML, CSS, and JS assets, check the Content-Type response header. Verify HTML responses include 'charset=utf-8'. Check that X-Content-Type-Options: nosniff is set. Flag any resource returning Content-Type: text/html that is not an HTML page. Check for missing charset declarations on text responses.


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

Rule page: https://frontendchecklist.io/rules/seo/mime-type

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

404-page

무료

Create and review custom 404 pages that help visitors recover from broken or moved links through search and navigation. Check the rendered page and HTTP response so missing content returns a proper 404 status.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Creating a helpful custom 404 page
  • Adding search and navigation for broken links
  • Checking missing pages that return HTTP 200
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

Audit or create a dedicated About page that explains a website’s purpose and identifies its people or organization. Review the rendered output and supporting information, including expertise and contact details, to find gaps.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing a website’s About page
  • Creating a page about the organization and its mission
  • Checking how operator information appears in rendered output
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

accessibility-testing

무료요약 있음AI 평가 80점

페이지와 공통 컴포넌트에 자동 접근성 테스트를 추가하고 검사 누락을 찾습니다. 지속적 통합에 검사를 연결해 구조·속성 문제와 변경으로 생긴 오류를 확인합니다.

  • 공통 컴포넌트의 테스트 범위 검토
  • 페이지 조작 테스트에 접근성 검사 추가
  • 지속적 통합에서 접근성 검사 실행
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

accessible-authentication

무료요약 있음AI 평가 90점

로그인부터 다단계 인증과 계정 복구까지 점검하고, 붙여넣기 차단이나 인증 코드 수동 입력처럼 이용을 방해하는 인증 절차의 개선을 돕습니다.

  • 전체 로그인 과정의 접근성을 점검합니다
  • 인증 코드 붙여넣기와 자동 완성을 확인합니다
  • 비밀번호 재설정과 계정 복구를 점검합니다
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

Review form errors, success messages, and live updates so screen reader users receive important notifications. Check the HTML delivered to the browser, announcement settings, display duration, and dismissal controls, then identify specific elements that need changes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing form error announcements
  • Checking success message display duration
  • Auditing live update notifications
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

Review HTML tables so screen reader users can understand how headers and data relate. Check header markup, table descriptions, and merged cells, then identify specific fixes and ways to verify them.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing tables for screen reader accessibility
  • Checking header relationships in tables with merged cells
  • Reviewing table patterns in a design system
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

thedaviddias의 스킬 모두 보기

이 스킬의 문제 신고