bmad-advanced-elicitat…
Pushes a draft off its first answer with critique methods and proposes one revision. Use when the user or another skill names…
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".
Claude Code
$ npx -y skills add bmad-code-org/bmad-method --skill bmad-shard-pro --agent claude-code
Codex
$ npx skills add bmad-code-org/bmad-method --skill bmad-shard-pro -a codex -y
Cursor
$ npx skills add bmad-code-org/bmad-method --skill bmad-shard-pro -a cursor -y
Gemini CLI
$ npx skills add bmad-code-org/bmad-method --skill bmad-shard-pro -a gemini-cli -y
GitHub Copilot
$ npx skills add bmad-code-org/bmad-method --skill bmad-shard-pro -a github-copilot -y
OpenCode
$ npx skills add bmad-code-org/bmad-method --skill bmad-shard-pro -a opencode -y
Windsurf
$ npx skills add bmad-code-org/bmad-method --skill bmad-shard-pro -a windsurf -y
name: bmad-shard-pro description: '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".'
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.
Run `outline` on the input. There are three outcomes: leave it as it is; a contents list, where the file stays one file and gains a detailed list of its sections near the top; or a faithful split, where the source is cut word for word into shards with a map, which loses nothing and is checked by script. Small, well-named files serve agents better than one long file, so a long document that is kept and edited is split unless something needs it whole. Pick the outcome with these steps and recommend it with one line on why:
1. **Under about 50,000 characters:** leave it as it is. An agent reads it whole for little. 2. **Otherwise, ask** what the document cannot show, in one message, leaving out what the request already says:
With no user present, treat a project document (a PRD, spec, architecture or plan) as kept and edited, a third-party or signed document as a fixed reference, and neither as having to stay one file unless the request says so. 3. **Contents list** when it has to stay one file, is a fixed reference, or its sections lean on each other so much that no cut leaves shards that read on their own (steps that run across sections, frequent "as above"). When it already has an accurate contents list in its first 200 lines, leave it as it is instead. 4. **Faithful split** otherwise.
When the user asked for a particular outcome ("shard this", "add a table of contents"), recommend it unless these steps point elsewhere; then name the answer that points elsewhere, in one line, and do what they choose.
For Leave it as it is, tell the user why and stop. The other two go on to Plan.
Plan from the outline and read only the ranges you need. Holding a long document whole in your context is the expensive mistake. Start from the proposed cut and change it where the content asks:
Pushes a draft off its first answer with critique methods and proposes one revision. Use when the user or another skill names…
Mary, the Business Analyst. Use when the user asks for Mary, the analyst or the business analyst, wants market or competitive…
System architect and technical design leader. Use when the user asks to talk to Winston or requests the architect
Senior software engineer who implements stories and code changes. Use when the user asks to talk to Amelia or requests the…
John, the Product Manager. Use when the user asks for John, the PM or the product manager, wants a planning document written,…
Sofia, the Product Owner: turns any input (an idea, brief, PRD, transcript, notes) into a ticket''s requirements, slices…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration