मुख्य सामग्री पर जाएँ
Skillpedia
लेखन40k · #7465

update-markdown-file-index

यह क्या करती है

यह टूल किसी खास फ़ोल्डर की फ़ाइलों की सूची या टेबल अपने आप बनाता है, जो एक टेक्स्ट दस्तावेज़ (Markdown फ़ाइल) के अंदर लिखी जाती है। यह फ़ाइलों को व्यवस्थित करता है और उनके नाम, प्रकार और विवरण दिखाता है।

कब इस्तेमाल करें

  • ✓जब आप प्रोजेक्ट की सभी फ़ाइलों को एक दस्तावेज़ में सूचीबद्ध करना चाहते हैं।
  • ✓जब डायरेक्टरी के documentation को व्यवस्थित करने के लिए README बनानी हो।
  • ✓नोट्स वाली फ़ाइल में code examples का index बनाने के लिए।

Skill का लिंक

https://github.com/github/awesome-copilot/blob/main/skills/update-markdown-file-index/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/github/awesome-copilot/blob/main/skills/update-markdown-file-index/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी 'README.md' फ़ाइल में 'documents' फ़ोल्डर की फ़ाइलों का index बनाओ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

AI आपकी मुख्य फ़ाइल को पढ़ता है, आपके बताए फ़ोल्डर को ढूँढता है, उसके अंदर की फ़ाइलों की सूची बनाता है, और हर फ़ाइल की जानकारी के साथ एक व्यवस्थित सूची या टेबल बनाकर आपके दस्तावेज़ में डाल देता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Update Markdown File Index

Update markdown file ${file} with an index/table of files from folder ${input:folder}.

Process

  1. Scan: Read the target markdown file ${file} to understand existing structure
  2. Discover: List all files in the specified folder ${input:folder} matching pattern ${input:pattern}
  3. Analyze: Identify if an existing table/index section exists to update, or create new structure
  4. Structure: Generate appropriate table/list format based on file types and existing content
  5. Update: Replace existing section or add new section with file index
  6. Validate: Ensure markdown syntax is valid and formatting is consistent

File Analysis

For each discovered file, extract:

  • Name: Filename with or without extension based on context
  • Type: File extension and category (e.g., .md, .js, .py)
  • Description: First line comment, header, or inferred purpose
  • Size: File size for reference (optional)
  • Modified: Last modified date (optional)

Table Structure Options

Choose format based on file types and existing content:

Option 1: Simple List

## Files in ${folder}

- [filename.ext](path/to/filename.ext) - Description
- [filename2.ext](path/to/filename2.ext) - Description

Option 2: Detailed Table

| File | Type | Description |
|------|------|-------------|
| [filename.ext](path/to/filename.ext) | Extension | Description |
| [filename2.ext](path/to/filename2.ext) | Extension | Description |

Option 3: Categorized Sections

Group files by type/category with separate sections or sub-tables.

Update Strategy

  • 🔄 Update existing: If table/index section exists, replace content while preserving structure
  • ➕ Add new: If no existing section, create new section using best-fit format
  • 📋 Preserve: Maintain existing markdown formatting, heading levels, and document flow
  • 🔗 Links: Use relative paths for file links within the repository

Section Identification

Look for existing sections with these patterns:

  • Headings containing: "index", "files", "contents", "directory", "list"
  • Tables with file-related columns
  • Lists with file links
  • HTML comments marking file index sections

Requirements

  • Preserve existing markdown structure and formatting
  • Use relative paths for file links
  • Include file descriptions when available
  • Sort files alphabetically by default
  • Handle special characters in filenames
  • Validate all generated markdown syntax
अक्सर पूछे जाने वाले सवाल

Markdown फ़ाइल क्या है?

Markdown एक सरल टेक्स्ट फ़ॉर्मेट है, जिसमें बोल्ड या सूची बनाने के लिए तारे (*) जैसे खास चिन्हों का इस्तेमाल करके टेक्स्ट को फ़ॉर्मेट किया जाता है। इंटरनेट पर documentation के लिए इसका काफ़ी इस्तेमाल होता है।

AI को कैसे पता चलता है कि कौन सी फ़ाइलें सूची में डालनी हैं?

आप AI को बताते हैं कि किस फ़ोल्डर में देखना है। वह 'pattern' का इस्तेमाल भी कर सकता है, जिससे सिर्फ़ कुछ खास प्रकार की फ़ाइलें शामिल हों, जैसे सिर्फ़ '.txt' या '.py' फ़ाइलें।

क्या AI मेरी फ़ाइल की मौजूदा सामग्री मिटा देगा?

नहीं, AI समझदारी से काम करता है। अगर फ़ाइल में सूची पहले से मौजूद है, तो वह उसी को अपडेट करता है। अगर नहीं है, तो बाकी दस्तावेज़ को बिगाड़े बिना सूची के लिए नया हिस्सा बना देता है।

जानकारी

लेखक का मूल विवरण

Update a markdown file section with an index/table of files from a specified folder.

repo: github/awesome-copilot

लोकप्रियता

GitHub स्टार
40k
रैंकिंग में स्थान
#7465
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

acquire-codebase-knowledge

40k

आपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-assess

40k

आपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-generate-instructions

40k

आपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।

लेखन और डॉक्यूमेंटडॉक्यूमेंटेशन

acreadiness-policy

40k

आपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।

AI और एजेंटएजेंट

मिलती-जुलती skills