source-maps
यह क्या करती है
यह स्किल जाँचती है कि प्रोजेक्ट का बिल्ड source maps बनाता है या नहीं, और क्या उन्हें प्रोडक्शन समस्याओं की डिबगिंग के लिए सुरक्षित तरीके से संभाला जाता है। यह उन डेवलपर्स के लिए है जो बिना अपना कोड उजागर किए लाइव एरर का पता लगाना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप एजेंट से लाइव साइट पर होने वाली एरर की डिबगिंग सेट करवाएँ।
- ✓जब प्रोडक्शन एरर ऐसे minified कोड की ओर इशारा करें जो पढ़ना मुश्किल हो।
- ✓जब आप अपना ऐप एरर ट्रैकिंग सेवा से जोड़ें और चाहें कि source maps उसमें अपलोड हों।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/source-maps/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी लाइव साइट की एरर में minified कोड दिखता है जो मैं पढ़ नहीं सकता। क्या आप source maps सेट कर सकते हैं ताकि मैं उन्हें डिबग कर सकूँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट source maps बनाने के लिए बिल्ड सेटिंग अपडेट करता है और जाँचता है कि उन्हें कैसे संभाला जाता है। स्किल सुझाती है कि उन्हें सार्वजनिक रूप से परोसने के बजाय किसी एरर ट्रैकिंग सेवा पर अपलोड करें।
तकनीकी सामग्री (मूल 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
अक्सर पूछे जाने वाले सवाल
source map क्या है?
यह एक फ़ाइल है जो minified कोड को मूल सोर्स से जोड़ती है, ताकि एरर उपयोगी रूप में पढ़ी जा सकें।
क्या source maps सार्वजनिक होने चाहिए?
स्किल सुझाती है कि उन्हें सार्वजनिक रूप से परोसने के बजाय एरर ट्रैकिंग सेवा पर अपलोड करें।
क्या source maps साइट को धीमा करते हैं?
स्किल कहती है कि वे minification के फ़ायदे खोए बिना बनाए जा सकते हैं, क्योंकि उनका इस्तेमाल डिबगिंग के लिए होता है।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #3029
- लाइसेंस
- MIT
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
frontendchecklist
75kकमांड-लाइन टूल से फ़्रंटएंड कोड और लाइव पेजों को एक्सेसिबिलिटी, स्पीड, SEO और सिक्योरिटी के 380 से ज़्यादा नियमों से जाँचती है।
frontend-checklist-global
75kफ़्रंटएंड प्रोजेक्ट को Front-End Checklist के सभी 386 नियमों से ऑडिट करती है, और हर मिली समस्या का ठोस समाधान देती है।
404-page
75kजाँचती है कि आपका गुम पेज उपयोगी लिंक देता है और सही 404 स्टेटस लौटाता है, ताकि भटके हुए विज़िटर रास्ता ढूँढ सकें।
about-page
75kजाँचती है कि आपकी साइट पर एक साफ़ About पेज है जो बताता है कि उसे कौन चलाता है, ताकि विज़िटर और सर्च इंजन का भरोसा बढ़े।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।