logosdx
Installation
SKILL.md
LogosDX Skill
Use this skill for LogosDX setup and integration. Read only the reference file(s) needed for the task.
Quick Start
- Identify package scope (
dom,fetch,hooks,localize,observer,state-machine,storage,react,utils). - Open the matching file from
references/. - Implement with strict typing and lifecycle cleanup.
- Run project checks (typecheck/tests) before finishing.
Critical Rules
- Define type shapes first (
headers,params,state,events, storage schema, locale shape). - Use
attempt()/attemptSync()for all I/O and error-prone operations — storage, fetch, invoke sources, queue processors, DOM mutations. Never use try-catch. The error tuple is the only sanctioned error handling pattern (seereferences/utils.md). - Always clean up resources (
cleanup(),off(),destroy()). - Keep React hook methods at component top level only.