robots-txt
यह क्या करती है
यह स्किल वेबसाइट की रूट पर robots.txt फ़ाइल जाँचती है और सुनिश्चित करती है कि वह मान्य हो और पूरी साइट ब्लॉक न करे। यह उन साइट मालिकों के लिए है जो चाहते हैं कि सर्च इंजन उनके कंटेंट तक पहुँचें।
कब इस्तेमाल करें
- ✓जब आप एजेंट से अपनी वेबसाइट की robots.txt फ़ाइल बनवाएँ या जाँचवाएँ।
- ✓जब आपकी साइट सर्च से गायब हो और आपको robots.txt के किसी ब्लॉकिंग नियम का शक हो।
- ✓जब आप नई साइट लॉन्च करें और आपको sitemap लिंक वाली साफ़ robots.txt चाहिए।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/robots-txt/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरी robots.txt फ़ाइल जाँच सकते हैं और पक्का कर सकते हैं कि वह मेरी साइट को ब्लॉक न करे और मेरे sitemap की ओर इशारा करे?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट robots.txt फ़ाइल लाता है और जाँचता है कि वह सही निर्देशों के साथ काम करने वाला जवाब देती है। वह गलती से पूरी साइट ब्लॉक होने के नियम खोजता है और आपके प्रोडक्शन sitemap की ओर इशारा करने वाली Sitemap लाइन जोड़ता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Publish a robots.txt file
robots.txt is the first file crawlers fetch; misconfigured directives can silently block search engines from crawling your entire site, killing organic visibility.
Quick Reference
- Serve a valid
robots.txtat/robots.txton the production domain, returning HTTP 200 - Include a
Sitemap:directive pointing to your XML sitemap - Never disallow crawling of CSS/JS assets that render your pages
- Avoid blocking all crawlers with
Disallow: /on a live site
Check
Fetch /robots.txt on the live domain and verify it returns HTTP 200, uses correct User-agent / Disallow / Allow syntax, and includes a Sitemap: directive pointing to the XML sitemap. Check for accidental Disallow: / directives.
Fix
Create or update robots.txt at the web root with valid directives. Add a live Sitemap: line for the production sitemap URL. Remove any Disallow: / rules that block the whole site or resources needed for rendering.
Explain
Explain how robots.txt controls crawler access, why an accidental Disallow: / can delist a site, and why CSS/JS must remain accessible for rendering-based indexing.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Publish a robots.txt file. 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/robots-txt
अक्सर पूछे जाने वाले सवाल
अगर robots.txt सब कुछ ब्लॉक करे तो क्या होगा?
स्किल कहती है कि पूरी साइट पर गलती से लगा Disallow उसे सर्च से हटा सकता है।
क्या CSS और JavaScript ब्लॉक होने चाहिए?
नहीं। स्किल कहती है कि ये फ़ाइलें सुलभ रहनी चाहिए, ताकि सर्च इंजन पेज रेंडर कर सकें।
क्या robots.txt इंडेक्सिंग नियंत्रित करता है?
यह क्रॉलिंग नियंत्रित करता है। पेज की इंडेक्सिंग नियंत्रित करने के लिए स्किल noindex टैग का तरीका बताती है।
जानकारी
लेखक का मूल विवरण
Use when applies to any public website. Use when auditing technical SEO foundations or diagnosing crawl coverage gaps.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #3005
- लाइसेंस
- 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 मैनेज करता है।