bmad-shard-pro
O que ela faz
Esta skill torna documentos longos mais fáceis de navegar para agentes de IA, dividindo-os em partes rotuladas com um índice. Ela é para equipes cujas especificações ou PRDs são longos demais para um agente ler de uma vez.
Quando usar
- ✓Quando um documento for longo demais para um agente de IA ler de uma só vez.
- ✓Quando você quiser um sumário para que os agentes encontrem seções específicas.
- ✓Quando precisar atualizar um documento que já foi dividido.
Link da skill
https://github.com/bmad-code-org/BMAD-METHOD/blob/main/skills/bmad-shard-pro/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Este PRD é longo demais para o meu agente ler. Divida-o em seções com um índice que ele possa usar.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente escolhe onde cortar e como nomear cada parte, e depois um script faz a divisão, para que nenhum texto seja perdido ou alterado. O resultado é um arquivo principal com um índice e seções vinculadas.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
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
{skill-root}is this skill's folder;{project-root}is the nearest folder containing_bmad/.- This skill's script is
uv run {skill-root}/scripts/shard_tool.py; run it with--help, or<command> --help, for arguments. The memlog script isuv run {project-root}/_bmad/scripts/memlog.py; without_bmad/, skip memlog writes and say so once. {doc_folder}is the folder that holds the result. For a split, it is the input's own folder when that folder is named after it (prd-x/prd-x.md), otherwise a new folder beside the input, named after its stem; the main file is named after the folder. For a contents list, it is the file's own folder.
On activation
- The document's main file opens with the sharded-document note, or the document has a contents list this skill made (it starts with
<!-- shard-pro:contents -->): readreferences/update.mdfully and follow it. - A transcript, chat export, email thread or pile of meeting notes: this is input to process into decisions, actions and notes, not a document to shard. Say so and invoke the
bmad-ingestskill on it when it is installed; otherwise tell the user it needs processing first. Then stop. - Any other file that is not markdown or plain text (.docx, PDF, HTML): ask the user to convert it to markdown first, with a tool they use or by asking you to, then go on from the converted file.
- Any other document: go to Assess.
Assess
Run outline on the input. Recommend one outcome with one line on why:
- Leave it as it is. It is short enough to read whole, or already well signposted.
- Contents list. The file stays one file and gains a detailed contents list near the top. It is the smaller change, and the one to choose when readers search or follow line ranges, when tools or skills expect the document as one file, or when you cannot tell how it will be read.
- Faithful split. The source is cut word for word into shards with a map. Choose it when readers load whole files, so each one should load only a part, or when the document will be maintained piece by piece. It loses nothing and is checked by script.
Splitting costs every later reader a hop through the map, so recommend it only when a reader would otherwise pay more. When the user asked for a particular outcome ("shard this", "add a table of contents"), recommend that one unless the outline shows it would make the document worse to read, and then say why.
For Leave it as it is, tell the user why and stop. The other two go on to Plan.
Plan from the outline
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:
- Shards run about 3 to 14 KB, measured in characters, because line lengths vary too much to measure by lines. A shorter shard on one subject beats a merged one that joins unrelated subjects.
- Never cut inside a table, a step list or a diagram.
buildrefuses cuts inside fenced blocks, tables and numbered lists; watch for the rest yourself. - Name each shard from what it covers, in kebab-case. Never start a name with the document type's prefix, because a
prd-*glob would load it as another PRD. - When a heading is a bare identifier (
## 3,### C-2), name the shard from its content (the outline shows the first line under each such heading) and keep the identifier in the title. - Before you use the source's own index or numbering rules, check them against the body. They are often from an older edition.
- Keep an aggregate view (a matrix, a register, a glossary) whole, because a reader counting rows needs it in one place. Small ones may share a shard.
- Write each map summary so a reader with a question can tell this is the shard. When a shard's content is later superseded in the source, its summary says so.
- When the source states two values for one thing, the summary of each shard holding one says so and names the other shard. Never p
Perguntas frequentes
Dividir o documento altera algum texto?
Não. A skill diz que nada da fonte é perdido ou alterado, porque um script faz os cortes.
A divisão pode ser atualizada depois?
Sim. A skill tem um modo de atualização para documentos que ela já dividiu.
Onde ficam os arquivos divididos?
Eles ficam em uma pasta com o nome do documento, ou em uma nova pasta ao lado dele.
Detalhes
Descrição original do autor
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".
Popularidade
- Estrelas no GitHub
- 55 mil
- Posição no ranking
- #3360
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
bmad-advanced-elicitation
55 milAjuda seu agente a melhorar um rascunho submetendo-o a métodos de crítica e propondo uma revisão, que você pode aceitar ou recusar.
bmad-agent-analyst
55 milPermite que seu agente assuma o papel de Mary, uma analista de negócios que cuida de pesquisa de mercado, análise competitiva e transforma necessidades vagas em requisitos claros.
bmad-agent-architect
55 milPermite que seu agente assuma o papel de Winston, um arquiteto de sistemas que transforma requisitos em projetos técnicos práticos e explica os trade-offs.
bmad-agent-dev
55 milPermite que seu agente assuma o papel de Amelia, uma engenheira de software sênior que constrói histórias de usuário aprovadas com etapas de teste primeiro e verifica cada critério de aceitação.
Skills parecidas
technical-documentation
394 milAjuda seu agente a escrever e revisar documentação técnica clara e arquivos de instruções, para que pessoas e ferramentas de IA sigam tudo com facilidade.
architecture-decision-records
280 milFaz seu agente registrar decisões importantes sobre a estrutura do projeto. Ajuda a entender o porquê das escolhas feitas e a manter um histórico claro das mudanças.
code-tour
280 milFaz seu agente criar guias passo a passo no código, com arquivos e linhas exatos. Útil para apresentar projetos, explicar código ou revisar mudanças.