bmad-index-docs
How to Install
Claude Code:
git clone --depth 1 https://github.com/zsutxz/ClaudeLearning.git && cp ClaudeLearning/.claude/skills/bmad-index-docs ~/.claude/skills/bmad-index-docs -r---
name: bmad-index-docs
description: '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 folder'
---
# 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
```markdown
# 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
Details
| Category | Docs → writing |
| Source | zsutxz/ClaudeLearning |
| SKILL.md | View on GitHub → |
| Repo Stars | N/A |
| Est. per Skill | N/A (shared across 74 skills from this repo) |
| Difficulty | Intermediate |
| Risk Level | Safe |
Related Skills
content-production
Full content production pipeline — takes a topic from blank page to published-ready piece. Use when
article-writing
Article Writing Write long-form content that sounds like an actual person with a point of view, not
brand-voice
Brand Voice Build a durable voice profile from real source material, then use that profile everywher
gws-docs
docs (v1) > PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If
Works Well With
Skills from the same repository — often designed to work together
bmad-init
--- name: bmad-init description: "Initialize BMad project configuration and load config variables. U
github-ai-projects
--- name: github-ai-projects description: 这个skill专门用于监控GitHub上的热门AI项目,获取项目的简述信息和不同时间范围的更新状态。当用户需要了解G
a-share
--- name: a-share description: | A股推荐、选股、盘后复盘、次日推荐清单、涨停、龙虎榜、主力资金、板块轮动、个股评分与持仓参考。当用户说"A股推荐 / 帮我选股 / 明