Guide · Agent skill
How to use the Image Error Fallbacks agent skill (error-images)
Updated · written with AI from the project's own documentation and checked against our catalogue data
The error-images skill is an agent skill from the Front-End Checklist project that teaches an AI agent to check whether a website handles broken images well, such as showing a placeholder instead of a broken image icon. It is aimed at front-end developers, designers and teams running a quality checklist before launch. After this guide you will know what the skill does, how to install it, how to ask for it in plain language and what to expect from its output.
Quick start
- 1Download the ZIP. Get the error-images skill ZIP from the skill page.
- 2Unzip into a skills folder. Extract it into ~/.claude/skills/ for personal use or the project's .claude/skills/ folder for one project.
- 3Or upload in the Claude apps. Go to Settings → Capabilities → Skills and upload the skill there instead.
- 4Confirm the files. Check that SKILL.md and references/rule.md are present in the skill folder.
- 5Ask in plain language. Request a review of image handling for broken images in the files you share.
- 6Verify in DevTools. Follow the agent's DevTools steps to confirm fallbacks appear when an image fails to load.
What is an agent skill and what does error-images make the agent do?
An agent skill is a folder with a SKILL.md file that gives an AI agent specific instructions for a task. When a request matches the skill's description, the agent follows those instructions.
The error-images skill covers the rule "Handle image loading errors gracefully". When you ask the agent to review image code, it looks at image assets, markup and delivery settings, flags where image handling breaks the rule and explains how to confirm the fix in browser DevTools. The guidance says broken images should fail gracefully with fallback content instead of showing broken icons.
- Checks whether the site uses fallback images or error states for broken images
- Flags exact files or components where image handling violates the rule
- Describes how to confirm the fix in DevTools
- Covers checks on encoded size, rendered size, loading strategy and above-the-fold impact together
Install the error-images skill
Download the ZIP for the skill from the page. Then choose one of two routes.
For a personal install, unzip the folder into ~/.claude/skills/. For a single project, unzip it into the project's .claude/skills/ folder. Alternatively, upload the skill in the Claude apps under Settings → Capabilities → Skills.
- Personal: ~/.claude/skills/
- Project: .claude/skills/ inside your project
- Claude apps: Settings → Capabilities → Skills, then upload
Check the files after installing
The skill folder should contain two files: SKILL.md, which holds the main instructions, and references/rule.md, which has the full implementation details, code examples and framework-specific guidance. If references/rule.md is missing, the skill still works from SKILL.md but you will lose the detailed examples.
- SKILL.md
- references/rule.md
How to trigger the skill with natural requests
You do not need a special command. Describe the task in normal words that match the skill's description, such as reviewing image assets, markup or CDN and build transforms for image loading errors.
- Review the image handling in this page for broken images and fallbacks.
- Check our product listing templates: what happens when a product photo fails to load?
- Look at the img tags in this component and tell me where a placeholder is missing.
- Before launch, run the image error checklist on this project.
- Show me how to confirm in DevTools that our fallback image appears when a file 404s.
What a good result looks like
Expect a review, not an automatic fix. The skill describes what to check and change, and the agent still needs your review before it edits production code. Ask it to point to exact files and lines so you can verify each finding.
The rule's example shows the pattern to look for: an img tag with no fallback is flagged, while one that swaps to a placeholder on error is treated as the good version.
<img
src="product.jpg"
alt="Product"
onerror="this.src='/images/placeholder.png'; this.onerror=null;"
>Safety notes and requirements
The skill lists no requirements. It does not run scripts and does not use the network, so it only reads and reasons about the code you give it. Keep in mind that any change it suggests still needs your review and testing before it reaches production.
- Requires: nothing listed
- Runs scripts: no
- Uses network: no
- Licence: MIT
Tips for better reviews
Give the agent the real files: templates, components and the build or CDN settings that serve images. Name the page or flow you care about so findings are specific.
Use it with the DevTools steps it describes to test broken-image behaviour yourself, for example by pointing an image at a missing file.
- Share the component or template files, not just a description
- Ask for exact file and component names in the output
- Test fallbacks in DevTools after each change
- Skip it for projects that show no web images, since the guidance would not apply
What people use it for
- Reviewing product listing templates for a fallback when a photo fails to load
- Checking img tags in a component for a missing onerror placeholder
- Running a pre-launch front-end checklist item on a web project
- Showing a designer how a page looks when images fail to load
- Auditing how image delivery settings affect broken-image handling
Frequently asked questions
How do I install the error-images skill?
Download the ZIP from the skill page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. You can also upload it in the Claude apps under Settings → Capabilities → Skills.
Is the error-images skill free?
The skill is released under the MIT licence, as listed on its page. Check the licence file in the source repository for the full terms.
What does the error-images skill require?
The skill lists no requirements. It does not run scripts and does not use the network.
Does the skill fix broken images automatically?
No. It describes what to check and change, and the agent still needs review before it edits production code.
How do I test that a fallback image works?
The skill explains how to confirm the fix in browser DevTools. Point an image at a missing file and check that the placeholder appears instead of a broken icon.
When should I not use this skill?
Skip it for projects that do not display web images, since the guidance would not apply. Teams that want automatic fixes should look for a tool that edits code directly.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use error-images if you are a front-end developer, designer or team that wants a checklist-style review of how a site handles broken images before launch. Pick something else if you want an agent that edits your code automatically or if your project shows no web images.
Download the skill