What problem does it solve? Documenting a retrieval-augmented-generation system as a clear diagram is error-prone: the async indexing flow and the live query flow get visually mixed, fallback and guardrail branches are forgotten, and credentials leak into node labels. This Skill produces a validated Excalidraw flowchart of a RAG pipeline with both paths and all failure branches drawn explicitly. ## Core Features & Use Cases - Dual-path flowchart generation: Draws the async index path (ingest → chunk → embed → vector store) with dashed edges and the live query path (retrieve → assemble → prompt → LLM → eval → response) with solid edges in a single canvas. - First-class failure branches: Models the cache-hit short-circuit, retrieval-miss fallback (keyword/BM25 or refuse/clarify), and guardrail/error path as decision nodes that each reach a terminal. - Quality enforcement loop: Runs lint, score, repair, polish, and architecture validation until the drawing scores at least 95 with zero hard blockers, then saves, versions, and exports it. - Secret redaction: Replaces vector-DB URLs, provider keys, and bearer tokens with typed [REDACTED_<TYPE>] placeholders before any tool call and re-scans the export. - Use Case: Ask to diagram a docs-to-pgvector RAG system with a semantic cache and PII guardrail, and receive a shareable, scored SVG/PNG flowchart with both paths visually distinct. ## Quick Start Ask the AI to diagram your RAG pipeline showing the index path separate from the query path, including the cache, retrieval fallback, and guardrail branches.