sitemap-valid
यह क्या करती है
यह स्किल XML साइटमैप की संरचना जाँचती है, जिसमें namespace, URL फ़ॉर्मेट, आकार की सीमाएँ और विशेष अक्षर शामिल हैं, और समस्याएँ ठीक करती है। यह उन साइट मालिकों और डेवलपर्स के लिए है जो साइटमैप हाथ से या कोड से बनाते हैं।
कब इस्तेमाल करें
- ✓जब आप एजेंट से जाँचवाएँ कि आपकी साइटमैप फ़ाइल मान्य है या नहीं।
- ✓जब आप साइटमैप जमा करें और Search Console में एरर दिखे।
- ✓जब आपका साइटमैप बहुत बड़ा हो गया हो और उसे कई फ़ाइलों में बाँटना हो।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/sitemap-valid/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Google Search Console कहता है कि मेरे साइटमैप में एरर हैं। क्या आप जाँच सकते हैं कि फ़ाइल मान्य है और उसे ठीक कर सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट फ़ाइल को मानक साइटमैप फ़ॉर्मेट से मिलाता है, namespace, पूरे पते और आकार की सीमाएँ पक्की करता है। वह ampersand जैसे विशेष अक्षरों को एन्कोड करता है और बहुत बड़ी फ़ाइलों को index के साथ कई साइटमैप में बाँटता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Keep XML sitemaps valid
An invalid or malformed sitemap is silently ignored by search engines, leaving newly published or orphaned pages undiscovered by crawlers.
Quick Reference
- The root element must be
<urlset>with the correctxmlnsnamespace - Each
<url>must contain exactly one<loc>element with a fully qualified, percent-encoded URL - Maximum 50,000 URLs and 50 MB per sitemap file; use a sitemap index for larger sites
- Encode XML special characters:
&→&,<→<,>→>,"→",'→'
Check
Fetch the sitemap and validate it against the sitemaps.org schema. Check that the xmlns attribute is http://www.sitemaps.org/schemas/sitemap/0.9, all <loc> values are absolute URLs, no file exceeds 50,000 URLs or 50 MB, and special characters are properly XML-encoded.
Fix
Re-generate the sitemap using a validated sitemap library. Encode all special characters in URLs (& → &). Split oversized sitemaps into multiple files and reference them from a sitemap index. Resubmit to Google Search Console.
Explain
Explain the sitemaps.org XML schema requirements, what causes validation errors in Google Search Console, and how encoding errors in <loc> URLs prevent crawlers from fetching those pages.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Keep XML sitemaps valid. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/sitemap-valid
अक्सर पूछे जाने वाले सवाल
आकार की सीमाएँ क्या हैं?
स्किल कहती है कि हर साइटमैप फ़ाइल में अधिकतम 50,000 URL और 50 MB हो सकते हैं, और बड़ी साइटों को sitemap index इस्तेमाल करना चाहिए।
ampersand क्यों मायने रखता है?
स्किल कहती है कि URL में विशेष अक्षरों को एन्कोड करना ज़रूरी है, क्योंकि बिना एन्कोड वाले अक्षर फ़ाइल तोड़ सकते हैं और क्रॉलर को पता पढ़ने से रोक सकते हैं।
साइटमैप कैसे ठीक करें?
स्किल मान्य साइटमैप लाइब्रेरी से उसे दोबारा बनाने और फिर Search Console में जमा करने का सुझाव देती है।
जानकारी
लेखक का मूल विवरण
Use when applies to any site with a manually or programmatically generated XML sitemap. Use when debugging sitemap submission errors in Google Search Console.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #3023
- लाइसेंस
- 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
competitive-platform-analysis
280kयह competitors को समझने में मदद करता है। यह गहरी analysis से पहले competing companies को पहचानता है, उन्हें श्रेणियों में बाँटता है और छाँटता है।
competitive-report-structure
280kयह विस्तृत competitor reports बनाता है। यह जानकारी को मिलाकर पूरी market की तस्वीर और सुझाव दिखाता है, और टीम को एक दिशा में लाने में मदद करता है।
lead-intelligence
280kआपके एजेंट को ज़रूरी लोगों को खोजने और उनसे संपर्क करने में मदद करता है। यह leads का विश्लेषण करता है, तरीके सुझाता है और email व social media के ज़रिए outreach मैनेज करता है।