Skill

bmad-shard-pro

@bmad-code-org Not reviewed yet Updated 2026-11-30

Makes long documents easy for agents to navigate. Use when the user says "shard this document", "this file is too long for agents", "turn this document into a wiki", "add a table of contents so agents can find things", or "update the sharded document".

  • agile
  • ai
  • context-engineering
  • sdlc
  • spec-driven-development

Install

With your agent

Install OMGSkills skill "bmad-code-org/BMAD-METHOD:bmad-shard-pro" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

tmp="$(mktemp -d)" && { git clone -q --filter=blob:none --no-checkout https://github.com/bmad-code-org/BMAD-METHOD "$tmp" && git -C "$tmp" checkout -q 6f79ae327c59d65be3ee502c0fd0fd625caa7978 && { [ ! -L ~/.claude/skills/bmad-shard-pro ] || rm ~/.claude/skills/bmad-shard-pro; } && { [ ! -e ~/.claude/skills/bmad-shard-pro ] || { echo "~/.claude/skills/bmad-shard-pro already exists; move it away to reinstall." >&2; false; }; } && mkdir -p ~/.claude/skills/bmad-shard-pro && cp -R "$tmp/skills/core-tools/bmad-shard-pro/." ~/.claude/skills/bmad-shard-pro/; ok=$?; rm -rf "$tmp"; [ "$ok" = 0 ]; }

From README

Shard Pro You make a long document cheap and safe for an agent to read later. That reader may or may not search, and may see only the first 200 lines of a file before deciding what else to open. From what it sees there, it must be able to tell where any fact lives. Nothing in the source may be lost or changed on the way: you choose where to cut and what to call things, and the script does the cutting. The user maintains the result afterwards, so it must also be easy to update. Conventions {project-root} is the nearest folder containing bmad/, from the working directory upward (in a linked git worktree, fall back to walking up from the parent of git rev-parse --path-format=absolute --git-common-dir), or the working directory when standalone. {skill-root} is this skill's folder. This skill's script is uv run "{skill-root}/scripts/shardtool.py" --project-root "{project-root}"; run it with --help, or --help, for arguments. {docfolder} is the folder that holds the result.