fable-dev
Installation
SKILL.md
Fable Development Guide
Fable is a creative-writing desktop app: Electron + React 19 + Vite + TanStack Query + Plate.js frontend, Node.js + SQLite + custom indexed filesystem backend, Google ADK for AI features.
Critical Invariant
Every file can have children, not just folders. FileNode.children exists on ANY node regardless of category. A text document can contain child documents (chapters containing scenes). Never assume only folders have children.
parentId and siblingIndex are computed by buildFileTree() at runtime — never persist them.