docyrus-app-settings
Installation
SKILL.md
Docyrus App Settings
Two database-backed settings documents you can attach to a Docyrus app. The
shape of what you store is entirely yours — each document holds a free-form
JSON object (data) that you design, plus a small numeric status flag. Docyrus
just persists and returns it per app (and, for the user variant, per user).
| Surface | Scope | Cardinality | Who sees it | Use for |
|---|---|---|---|---|
App config (AppConfig) |
The whole app | one document per app | every user in the tenant | app-wide settings an admin/builder configures: feature flags, defaults, shared filters, integration settings |
User config (UserAppConfig) |
The app and the signed-in user | one document per user per app | only that user | per-user preferences: theme, layout, sidebar state, onboarding/dismissed hints, saved personal defaults |
Both are upsert-only single documents — there is no list, no query, and no extra rows to manage. You read the one document, change it, write it back.