wize-shard-doc · git:20261019.207e46c · 2026-10-19 · sha256 0c4dd27a3fc2f22c

wize-shard-doc git:20261019.207e46cA

Immutable. This exact content never changes and is served at /api/v1/blob/0c4dd27a3fc2f22c.

---
description: "Use quando um documento markdown grande (PRD, arquitetura) precisar ser dividido em shards endereçáveis por ID."
globs:
alwaysApply: false
---

# 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.