Claude Code skill for minimal Ordinus SQLite settings persistence
Reuse settings storage for state that must survive restart and keep SQLite ownership in the Electron main process.
中文Install in Claude Code
Open Claude Code in a working Ordinus development checkout. Use a temporary user-data directory for a local restart test.
- Review `.claude/skills/sqlite-minimal-persistence/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/sqlite-minimal-persistence/` in your project and save the reviewed file as `.claude/skills/sqlite-minimal-persistence/SKILL.md`.
- Start Claude Code from that project's root, then select `/sqlite-minimal-persistence` in the slash menu.
Example task
Persist the collapse switch of a local trail panel. Check whether app_meta can store it, then verify the state after closing and reopening the app.
`app_meta` · `trailPanelCollapsed` · `true` · `close and reopen`What to check
Set `trailPanelCollapsed` to `true`. After restart it still reads `true` from `app_meta`, with the existing business schema.
Original SKILL.md on GitHub · Updated
Frequently asked question
How should the renderer read the setting?
Use the existing interprocess interface and a main-process service. Check the displayed state along with the restart behavior.