bmad-index-docs
Automatically create or update directory index.md files.
Install
mkdir -p .claude/skills/bmad-index-docs && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10706" && unzip -o skill.zip -d .claude/skills/bmad-index-docs && rm skill.zipInstalls to .claude/skills/bmad-index-docs
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Generates or updates an index.md to reference all docs in the folder. Use if user requests to create or update an index of all files in a specific folderKey capabilities
- →Scan directories for documentation
- →Generate brief file descriptions
- →Organize files by category
- →Create or update index.md
How it works
The skill scans a directory, reads file contents to generate accurate descriptions, and writes an organized index.md file.
Inputs & outputs
When to use bmad-index-docs
- →Create folder index
- →Update existing documentation index
- →Organize repository docs
About this skill
Index Docs
Goal: Generate or update an index.md to reference all docs in a target folder.
EXECUTION
Step 1: Scan Directory
- List all files and subdirectories in the target location
Step 2: Group Content
- Organize files by type, purpose, or subdirectory
Step 3: Generate Descriptions
- Read each file to understand its actual purpose and create brief (3-10 word) descriptions based on the content, not just the filename
Step 4: Create/Update Index
- Write or update index.md with organized file listings
OUTPUT FORMAT
# Directory Index
## Files
- **[filename.ext](./filename.ext)** - Brief description
- **[another-file.ext](./another-file.ext)** - Brief description
## Subdirectories
### subfolder/
- **[file1.ext](./subfolder/file1.ext)** - Brief description
- **[file2.ext](./subfolder/file2.ext)** - Brief description
### another-folder/
- **[file3.ext](./another-folder/file3.ext)** - Brief description
HALT CONDITIONS
- HALT if target directory does not exist or is inaccessible
- HALT if user does not have write permissions to create index.md
VALIDATION
- Use relative paths starting with ./
- Group similar files together
- Read file contents to generate accurate descriptions - don't guess from filenames
- Keep descriptions concise but informative (3-10 words)
- Sort alphabetically within groups
- Skip hidden files (starting with .) unless specified
When not to use it
- →Files without read permissions
Limitations
- →Requires write permissions
- →Skips hidden files
How it compares
It generates descriptions based on actual file content rather than just filenames, providing a more useful index.
Compared to similar skills
bmad-index-docs side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| bmad-index-docs (this skill) | 0 | 4mo | No flags | Beginner |
| add-provider-doc | 6 | 3mo | Review | Beginner |
| update-release-notes | 1 | 29d | Review | Advanced |
| higress-daily-report | 1 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by pplancq
View all by pplancq →You might also like
add-provider-doc
lobehub
Guide for adding new AI provider documentation. Use when adding documentation for a new AI provider (like OpenAI, Anthropic, etc.), including usage docs, environment variables, Docker config, and image resources. Triggers on provider documentation tasks.
update-release-notes
tldraw
Update the release notes file at `apps/docs/content/releases/next.mdx` based on PRs merged to main since the previous release, or archive `next.mdx` to a versioned file when a new version is published.
higress-daily-report
alibaba
生成 Higress 项目每日报告,追踪 issue/PR 动态,沉淀问题处理经验,驱动社区问题闭环。用于生成日报、跟进 issue、记录解决方案。
sop-creator
coleam00
Create runbooks, playbooks, and technical documentation for engineering teams. Use when the user wants to document a process, create a runbook, build operational docs, or formalize any repeatable technical procedure. Triggers on requests like "create a runbook for...", "document this process", "write a playbook", or any technical documentation request.
release-prep
massgen
Prepare release documentation including CHANGELOG entry, announcement text, and validation. Run before tagging a new release.
update-api-docs
Agenta-AI
Update the API reference documentation by downloading the latest OpenAPI spec from production and regenerating the Docusaurus API docs