wize-shard-doc · git:20261019.207e46c · 2026-10-19 · sha256 36d301bdb947aa12
wize-shard-doc git:20261019.207e46cA
Immutable. This exact content never changes and is served at /api/v1/blob/36d301bdb947aa12.
---
name: wize-shard-doc
description: "Use quando um documento markdown grande (PRD, arquitetura) precisar ser dividido em shards endereçáveis por ID."
---
# Shard Doc
# Shard Doc
Splits large markdown (PRD, architecture, etc.) into addressable shards under `{doc-name}.shards/`.
## Why
Agents quote shards by id (`prd.shards/AC-5.md`) instead of pulling the whole document.
## Behavior
- Splits at headings (`##` by default; configurable).
- Each shard gets `id` from heading slug + frontmatter.
- Original doc becomes the index.