bmad-shard-doc

Split large markdown documents into section-based files with an index.md.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/jaydubya818/New_baseline --skill bmad-shard-doc-jaydubya818
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-shard-doc
Source: https://github.com/jaydubya818/New_baseline/tree/main/skills/bmad/core/bmad-shard-doc
Command: npx skills add https://github.com/jaydubya818/New_baseline --skill bmad-shard-doc-jaydubya818

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Shards large markdown documents into smaller, organized files by sectioning them according to level 2 headings, enabling easier navigation, versioning, and reuse in automation.

Core Features & Use Cases

  • Splits documents into a hierarchical set of files with an index.md for quick navigation.
  • Preserves section order and names to maintain original context.
  • Use Case: break long architecture or design docs into per-section files to simplify review and automate downstream tasks.

Quick Start

Split large markdown documents into smaller, section-based files to improve navigation and reuse.

Frequently Asked Questions about bmad-shard-doc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I split a large markdown document into smaller files by section?

To split a large markdown document into smaller files, this Skill sections the content by level 2 headings. It generates a hierarchical set of files with an index.md for navigation, preserving the original section order and names to maintain context.

What is the best way to break down long architecture docs for easier review?

The best way to break down long architecture docs is to shard the markdown into per-section files. This enables easier navigation, versioning, and reuse in automation by providing targeted access to individual sections rather than a monolithic document.

Can I automate content management of sharded markdown files without losing context?

Yes, you can automate content management of sharded markdown files without losing context. The process preserves the original section order and names, creating an index.md to ensure deterministic execution and quick navigation across the sectioned files.

Does the markdown sectioning process delete the original document?

The markdown sectioning process does not automatically delete the original document. It handles the original file according to your chosen policy, allowing you to delete, archive, or keep the source document after the destination outputs are validated.

When do I need to shard markdown documents into section-based files?

You need to shard markdown documents into section-based files when working with long-form docs like design or process guides. This simplifies collaboration, enables per-section access, and allows targeted automation downstream by dividing the content by level 2 headings.

Are there limitations to sharding markdown files by level 2 headings?

A limitation of sharding markdown files by level 2 headings is that it sections content strictly based on H2 tags. Documents lacking a clear H2 structure will not shard effectively, and users must manage the original document policy manually after validation.