source-maps
What it does
This skill checks whether a project's build creates source maps and whether they are handled safely for debugging production issues. It is for developers who want to diagnose live errors without exposing their code.
When to use it
- ✓When you ask the agent to set up debugging for errors that happen on your live site.
- ✓When production errors point to minified code that is hard to read.
- ✓When you connect your app to an error tracking service and want source maps uploaded to it.
Skill link
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/source-maps/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Errors on my live site show minified code that I cannot read. Can you set up source maps so I can debug them?”
5 new skills a week. 1 minute to read.
How it works
The agent updates the build settings to generate source maps and checks how they are handled. The skill recommends uploading them to an error tracking service rather than serving them publicly.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What is a source map?
It is a file that links minified code back to the original source, so errors can be read in a useful form.
Should source maps be public?
The skill recommends uploading them to an error tracking service instead of serving them publicly.
Do source maps slow the site down?
The skill says they can be generated without losing the benefits of minification, since they are used for debugging.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 75k
- Ranking position
- #3029
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.