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)Edit PDFs with natural-language instructions using the nano-pdf CLI.