bmad-shard-doc
Splits large markdown documents into smaller, organized files based on level 2 (default) sections. Use if the user says perform shard document
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Splits large markdown documents into smaller, organized files based on level 2 (default) sections. Use if the user says perform shard document
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Push the LLM to reconsider, refine, and improve its recent output. Use when user asks for deeper critique or mentions a known deeper critique method, e.g. socratic, first principles, pre-mortem, red team.
Strategic business analyst and requirements expert. Use when the user asks to talk to Mary or requests the business analyst.
System architect and technical design leader. Use when the user asks to talk to Winston or requests the architect.
Senior software engineer for story execution and code implementation. Use when the user asks to talk to Amelia or requests the developer agent.
Product manager for PRD creation and requirements discovery. Use when the user asks to talk to John or requests the product manager.
Technical documentation specialist and knowledge curator. Use when the user asks to talk to Paige or requests the tech writer.
| name | bmad-shard-doc |
| description | Splits large markdown documents into smaller, organized files based on level 2 (default) sections. Use if the user says perform shard document |
Goal: Split large markdown documents into smaller, organized files based on level 2 sections using npx @kayvan/markdown-tree-parser.
/path/to/architecture.md --> /path/to/architecture/[y] to confirm use of default: [suggested-path], else enter a new path)npx @kayvan/markdown-tree-parser explode [source-document] [destination-folder]Critical: Keeping both the original and sharded versions defeats the purpose of sharding and can cause confusion.
Present user with options for the original document:
What would you like to do with the original document
[source-document-name]?Options:
[d]Delete - Remove the original (recommended - shards can always be recombined)[m]Move to archive - Move original to a backup/archive location[k]Keep - Leave original in place (NOT recommended - defeats sharding purpose)Your choice (d/m/k):
d (delete)m (move)archive subfolder
/path/to/architecture.md --> /path/to/archive/architecture.md[y] to use default: [default-archive-path], or provide custom path)k (keep)