Markdown Document Sharder
Splits large markdown documents into smaller, organized files based on section headings to optimize AI context and documentation management.
The bmad-shard-doc skill is designed to manage high-volume documentation by breaking down monolithic markdown files into smaller, modular sections. By leveraging the markdown-tree-parser utility, it automatically segments files based on level 2 headings, creating a structured directory with an included index. This process is essential for AI-driven workflows where feeding an entire massive document into a context window is inefficient. The skill provides a guided execution path that includes source verification, destination setup, and safety-first handling of the original document through archiving or deletion options.