
Update Markdown File Index
The update-markdown-file-index skill scans a specified folder, discovers files matching a given pattern, and automatically updates or creates an index section in a markdown file with a formatted table or list of those files. It's designed for documentation maintainers and repository managers who need to keep markdown indexes current without manual updates, solving the problem of outdated file listings and broken or missing documentation references. The skill preserves existing markdown structure, generates appropriate formatting based on content type, and ensures all file links use relative paths for repository consistency.
- skills.sh installs
- 8.9K
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill update-markdown-file-index --agent claude-codeInstalls into .claude/skills of the current project.
Files
Update Markdown File Index
Update markdown file ${file} with an index/table of files from folder ${input:folder}.
Process
- Scan: Read the target markdown file
${file}to understand existing structure - Discover: List all files in the specified folder
${input:folder}matching pattern${input:pattern} - Analyze: Identify if an existing table/index section exists to update, or create new structure
- Structure: Generate appropriate table/list format based on file types and existing content
- Update: Replace existing section or add new section with file index
- 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}
Sponsors
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Git & Pull Requests, AI & Agent Building, Marketing & SEO
More from github/awesome-copilot
All 318- Azure Static Web Apps8.9K
- Generate Custom Instructions From Codebase8.9K
- Java Refactoring Remove Parameter8.9K
- Suggest Awesome Github Copilot Skills8.9K
- Create Github Issue Feature From Specification8.9K
- Legacy Circuit Mockups8.9K
- Power Bi Performance Troubleshooting8.9K
- Containerize Aspnetcore8.9K
- Php Mcp Server Generator8.9K
- Terraform Azurerm Set Diff Analyzer8.9K
- Vscode Ext Localization8.9K
- Make Skill Template8.9K
- Csharp Mstest8.9K
- Comment Code Generate A Tutorial8.9K
- Azure Resource Visualizer8.9K
- Csharp Tunit8.9K
- Code Exemplars Blueprint Generator8.8K
- Update Llms8.8K
- Structured Autonomy Plan8.8K
- Workiq Copilot8.8K
- Create Tldr Page8.8K
- Mcp Deploy Manage Agents8.8K
- Bigquery Pipeline Audit8.8K
- Java Mcp Server Generator8.8K