Agents & OrchestrationSûr100100/100

Bmad Index Docs (Alibaba)

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

ou envoie-le directement à ton agent.

Installer dans ton projet

$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs bmad-index-docs__alibaba-opc-starter__agents-skills-2bd3723696fe
Alibaba
alibaba/opc-starter
Contenu à copier
---
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'
metadata:
  origin: Alibaba
---

# 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
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.

Ce que fait Bmad Index Docs (Alibaba)

List all files and subdirectories in the target location
Organize files by type, purpose, or subdirectory
Read each file to understand its actual purpose and create brief (3-10 word) descriptions based on the content, not just the filename
Write or update index.md with organized file listings

Comment utiliser Bmad Index Docs (Alibaba)

1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.

Déclencheurs pour Bmad Index Docs (Alibaba)

Dis simplement à ton agent quelque chose comme :

Applique le skill bmad-index-docs__alibaba-opc-starter__agents-skills-2bd3723696fe à cette tâche
Utilise bmad-index-docs__alibaba-opc-starter__agents-skills-2bd3723696fe pour améliorer cette implémentation
Passe en revue ce sujet avec bmad-index-docs__alibaba-opc-starter__agents-skills-2bd3723696fe

Skills liés à Bmad Index Docs (Alibaba)