diagnostics
Installation
SKILL.md
Error Handling & Diagnostics
Use this skill whenever you add, change, or review an error path: a build-time authoring error, a parser/handler failure, a CLI validation error, or anything surfaced to a host (FFI/WASM/Node) or a tool/agent. WebUI errors must be recoverable, actionable, and machine-consumable — for humans and AI agents alike.
1 - Never panic on recoverable input
panic = "abort" in the release profile means a panic kills the process
instantly — including any FFI/WASM/Node host embedding the framework. Bad
template input, bad CLI input, and bad state are recoverable and must return
Result, never panic!/unwrap()/expect().