ingest-docslisted
Install: claude install-skill produtoramaxvision/maxvision
<purpose>
Transform unstructured planning documents into structured MaxVision project context. Discovers documents, classifies each in parallel (maxvision-doc-classifier), synthesizes with precedence rules ADR > SPEC > PRD > DOC (maxvision-doc-synthesizer), gates on conflicts, then routes to maxvision-roadmapper for new projects or merges into existing roadmap. Hard cap: 50 documents per invocation.
</purpose>
<available_agent_types>
Valid MaxVision subagent types (use exact names):
- maxvision-doc-classifier — Classifies a single document as ADR/PRD/SPEC/DOC/UNKNOWN
- maxvision-doc-synthesizer — Synthesizes classified docs with conflict detection and precedence rules
- maxvision-roadmapper — Creates phased execution roadmap from synthesized context
</available_agent_types>
<process>
## 0. Parse Arguments
From `$ARGUMENTS`:
- `--dir <path>` → directory to scan (default: current directory + common doc locations)
- `--files <glob>` → specific file pattern to ingest
- `--no-roadmap` → skip roadmapper (synthesis only, no roadmap creation)
- `--merge` → merge into existing ROADMAP.md instead of creating new
## 1. Discover Documents
Scan for planning documents:
```bash
set -euo pipefail
DOC_DIRS="${INGEST_DIR:-.}"
# Search common locations
find "$DOC_DIRS" \
\( -name "*.md" -o -name "*.txt" -o -name "*.pdf" \) \
-not -path "*/node_modules/*" \
-not -path "*/.maxvision/*" \
-not -path "*/.git/*" \
-not -path "*/ROADMAP.md" \
-not -path "*/STATE.md" \
-not -path