MIME Type Validation
SkillMediamime-type is a skill that helps an AI agent check that a web server sends correct file types for pages, stylesheets, scripts, images, and fonts. It is useful when auditing server configuration or diagnosing broken resources, and applies to any web server serving HTML, CSS, JS, images, fonts, or other static assets.
Use MIME Type Validation in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add MIME Type Validation and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the MIME Type Validation skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Have an AI agent that can load skills.
What your AI can do with it
- Check that a server sends correct file types for HTML pages
- Verify content types for stylesheets and scripts
- Audit file types for images and fonts
- Diagnose broken resources caused by wrong file types
- Audit server configuration for static assets
Getting started
- Have an AI agent that can load skills.
- Add the mime-type skill to the agent.
- Point the agent at a web server serving HTML, CSS, JS, images, fonts, or other static assets.
- Ask the agent to audit the server configuration or diagnose broken resources.
What this skill tells your AI
The instructions your AI receives, as published by thedaviddias/front-end-checklist in skills/mime-type/SKILL.md and read by ahel’s review.
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/en/rules/seo/mime-type
Signals
- GitHub stars
- 74k
- Forks
- 7k
- Last commit
- Oct 2026
Questions
- When should this skill be used?
- Use it when auditing server configuration or diagnosing broken resources.
- What kinds of servers does it apply to?
- It applies to any web server serving HTML, CSS, JS, images, fonts, or other static assets.
- What does the skill do?
- It helps the agent check that a web server sends correct file types for pages, stylesheets, scripts, images, and fonts.
Advanced
- Item type
- skill
- Key
mime-type- Source
- github.com/thedaviddias/front-end-checklist
github.com/thedaviddias/front-end-checklist