filename-quality
यह क्या करती है
यह स्किल किसी वेबसाइट या प्रोजेक्ट की तस्वीर फ़ाइल नामों की समीक्षा करती है और ज़्यादा साफ़ नाम सुझाती है। यह उन साइट मालिकों और डेवलपर्स के लिए है जो बेहतर तस्वीर सर्च और व्यवस्थित asset फ़ोल्डर चाहते हैं।
कब इस्तेमाल करें
- ✓जब आपकी तस्वीर फ़ाइलों के नाम IMG_4532.jpg या image1.jpg जैसे हों।
- ✓जब आप चाहते हैं कि आपकी तस्वीरें इमेज सर्च में बेहतर दिखें।
- ✓जब बड़े asset फ़ोल्डर में आपकी टीम को तस्वीरें ढूँढने में दिक्कत होती है।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/filename-quality/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरी तस्वीर फ़ाइलों के नाम जाँचकर बेहतर नाम सुझा सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट आपके कोड और asset फ़ोल्डरों में तस्वीरों के संदर्भ स्कैन करता है और स्वचालित या अस्पष्ट नाम खोजता है। वह छोटे अक्षरों वाले, hyphen से जुड़े नाम सुझाता है जो हर तस्वीर का वर्णन करें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Use descriptive image filenames
Google explicitly recommends descriptive filenames in its Image SEO best practices. A file named red-leather-wallet.jpg gives search engines context about the image content, improving discoverability in image search. Generic filenames waste this SEO signal. Descriptive names also help developers maintain large asset libraries without opening every file to identify its content.
Quick Reference
- Use descriptive, hyphen-separated filenames:
hero-homepage-team-collaboration.jpg - Avoid generic names like
image1.jpg,photo.png, or camera defaults likeIMG_4532.jpg - Use lowercase only—avoid uppercase letters and spaces which can cause URL encoding issues
- Google uses filenames as a relevance signal for image search results
Check
Scan all image file references in this codebase (<img src>, CSS url(), import statements, and public/assets directories). Identify filenames that: 1) Use auto-generated names (e.g., IMG_1234.jpg, DSC_0056.png, screenshot-2024-01-01.png). 2) Use meaningless names (e.g., image1.jpg, photo.png, pic.jpg). 3) Contain spaces (e.g., 'my photo.jpg'). 4) Use underscores as word separators (e.g., hero_image.jpg instead of hero-image.jpg). 5) Mix uppercase and lowercase letters. Report each problematic filename with its path.
Fix
Rename image files with descriptive, SEO-friendly names: 1) Replace generic names with descriptive ones reflecting the content (e.g., rename IMG_1234.jpg to blue-running-shoes-side-view.jpg). 2) Use lowercase letters only. 3) Replace spaces and underscores with hyphens. 4) Keep names concise but meaningful—3 to 5 words is ideal. 5) Update all references to the renamed file in HTML, CSS, and JavaScript. For large-scale renames, provide a migration script that reads old paths, generates new names, and updates all references.
Explain
Explain why descriptive filenames matter for image SEO. Google explicitly states it uses filename as a signal for image search ranking. A filename like product-red-leather-wallet.jpg gives Google context about the image before it even analyses the pixels. Generic filenames (image1.jpg, photo.png) provide no signal. Additionally, descriptive filenames improve developer experience—team members can understand what an asset is without opening it.
Code Review
Review image assets, markup, and delivery configuration related to Use descriptive image filenames. Flag exact files or components where format choice, sizing, or loading behavior violates the rule, and describe how to confirm the fix in DevTools.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/images/filename-quality
अक्सर पूछे जाने वाले सवाल
फ़ाइल नाम सर्च के लिए क्यों मायने रखते हैं?
स्किल कहती है कि Google इमेज सर्च के लिए वर्णनात्मक फ़ाइल नामों को संदर्भ संकेत के रूप में सुझाता है।
यह कौन-सा नामकरण तरीका सुझाती है?
hyphen से अलग किए गए छोटे अक्षरों वाले शब्द, जैसे hero-homepage-team-collaboration.jpg।
स्पेस और underscore के बारे में क्या?
स्किल स्पेस और underscore को चिह्नित करती है, और शब्दों को अलग करने के लिए hyphen सुझाती है।
जानकारी
लेखक का मूल विवरण
Use when reviewing image assets, markup, and CDN or build transforms related to Use descriptive image filenames. Check encoded size, rendered size, loading strategy, and above-the-fold impact together.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2845
- लाइसेंस
- 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 मैनेज करता है।