
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.
$ npx -y skills add github/awesome-copilot --skill update-markdown-file-index --agent claude-codeInstalls into .claude/skills of the current project.
Update markdown file ${file} with an index/table of files from folder ${input:folder}.
${file} to understand existing structure${input:folder} matching pattern ${input:pattern}For each discovered file, extract:
.md, .js, .py)Choose format based on file types and existing content:
## Files in ${folder}
- [filename.ext](path/to/filename.ext) - Description
- [filename2.ext](path/to/filename2.ext) - Description
| File | Type | Description |
|------|------|-------------|
| [filename.ext](path/to/filename.ext) | Extension | Description |
| [filename2.ext](path/to/filename2.ext) | Extension | Description |
Group files by type/category with separate sections or sub-tables.
Look for existing sections with these patterns:
Sponsors