Agent Skillsterryso/open-agent-sdk-swift › bmad-index-docs

bmad-index-docs

GitHub

扫描指定目录下的文件和子目录,读取内容生成简要描述,并创建或更新index.md文件以建立文档索引。

.claude/skills/bmad-index-docs/SKILL.md terryso/open-agent-sdk-swift

Trigger Scenarios

用户请求创建或更新文件夹的文档索引 需要整理和列出目录下所有文件的链接

Install

npx skills add terryso/open-agent-sdk-swift --skill bmad-index-docs -g -y
More Options

Non-standard path

npx skills add https://github.com/terryso/open-agent-sdk-swift/tree/main/.claude/skills/bmad-index-docs -g -y

Use without installing

npx skills use terryso/open-agent-sdk-swift@bmad-index-docs

指定 Agent (Claude Code)

npx skills add terryso/open-agent-sdk-swift --skill bmad-index-docs -a claude-code -g -y

安装 repo 全部 skill

npx skills add terryso/open-agent-sdk-swift --all -g -y

预览 repo 内 skill

npx skills add terryso/open-agent-sdk-swift --list

SKILL.md

Frontmatter
{
    "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

# 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

Version History

  • 0.12.0 Current 2026-07-24 22:36

Same Skill Collection

.agents/skills/bmad-advanced-elicitation/SKILL.md
.agents/skills/bmad-agent-analyst/SKILL.md
.agents/skills/bmad-agent-architect/SKILL.md
.agents/skills/bmad-agent-dev/SKILL.md
.agents/skills/bmad-agent-pm/SKILL.md
.agents/skills/bmad-agent-tech-writer/SKILL.md
.agents/skills/bmad-agent-ux-designer/SKILL.md
.agents/skills/bmad-check-implementation-readiness/SKILL.md
.agents/skills/bmad-checkpoint-preview/SKILL.md
.agents/skills/bmad-code-review/SKILL.md
.agents/skills/bmad-correct-course/SKILL.md
.agents/skills/bmad-create-architecture/SKILL.md
.agents/skills/bmad-create-epics-and-stories/SKILL.md
.agents/skills/bmad-create-prd/SKILL.md
.agents/skills/bmad-create-story/SKILL.md
.agents/skills/bmad-create-ux-design/SKILL.md
.agents/skills/bmad-customize/SKILL.md
.agents/skills/bmad-dev-story/SKILL.md
.agents/skills/bmad-distillator/SKILL.md
.agents/skills/bmad-document-project/SKILL.md
.agents/skills/bmad-domain-research/SKILL.md
.agents/skills/bmad-edit-prd/SKILL.md
.agents/skills/bmad-editorial-review-prose/SKILL.md
.agents/skills/bmad-editorial-review-structure/SKILL.md
.agents/skills/bmad-generate-project-context/SKILL.md
.agents/skills/bmad-help/SKILL.md
.agents/skills/bmad-index-docs/SKILL.md
.agents/skills/bmad-investigate/SKILL.md
.agents/skills/bmad-market-research/SKILL.md
.agents/skills/bmad-party-mode/SKILL.md
.agents/skills/bmad-prd/SKILL.md
.agents/skills/bmad-prfaq/SKILL.md
.agents/skills/bmad-product-brief/SKILL.md
.agents/skills/bmad-qa-generate-e2e-tests/SKILL.md
.agents/skills/bmad-quick-dev/SKILL.md
.agents/skills/bmad-retrospective/SKILL.md
.agents/skills/bmad-review-adversarial-general/SKILL.md
.agents/skills/bmad-review-edge-case-hunter/SKILL.md
.agents/skills/bmad-shard-doc/SKILL.md
.agents/skills/bmad-spec/SKILL.md
.agents/skills/bmad-sprint-planning/SKILL.md
.agents/skills/bmad-sprint-status/SKILL.md
.agents/skills/bmad-story-automator-review/SKILL.md
.agents/skills/bmad-tea/SKILL.md
.agents/skills/bmad-teach-me-testing/SKILL.md
.agents/skills/bmad-technical-research/SKILL.md
.agents/skills/bmad-testarch-atdd/SKILL.md
.agents/skills/bmad-testarch-automate/SKILL.md
.agents/skills/bmad-testarch-ci/SKILL.md
.agents/skills/bmad-testarch-framework/SKILL.md

Metadata

Files
0
Version
0.12.0
Hash
a855d706
Indexed
2026-07-24 22:36

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 04:14
浙ICP备14020137号-1 $방문자$