[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F2MVGPEFRD7HYFJE2NHJ46":3,"skill-same:01M7F2MVGPEFRD7HYFJE2NHJ46":418},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7F2MVGPEFRD7HYFJE2NHJ46","settings-and-preferences",null,"Builds app settings - saved fields, defaults, rows, each setting's effect, resets that keep them. Use when adding a setting or toggle, or a setting is ignored or lost on restart. Not for theme tokens (design-system-structure).","zakariaf\u002FReactNative-Skills","zakariaf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2259803?v=4","01M7DEF0YMPS6Y6RQ4WGA0JH9R","Zakaria Fatahi","01M7F1VKYEK96M7SYJE1EPGD0A",13,"MIT","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: settings-and-preferences\ndescription: Builds app settings - saved fields, defaults, rows, each setting's effect, resets that keep them. Use when adding a setting or toggle, or a setting is ignored or lost on restart. Not for theme tokens (design-system-structure).\n---\n\n# Settings and preferences\n\nEvery setting is saved in one place, changed by one action, shown by one row, and applied by code\noutside the settings screen, at once and without a Save button; data resets never touch it, and a\nchecker proves the whole chain against the app's own settings contract on iOS and Android alike.\n\n## Rules that must hold\n\n1. **One settings model, one owner.** Every saved preference is a field of one strict valibot object\n   (`SETTINGS_SCHEMA` in `src\u002Fstores\u002Fsettings\u002F`) and is listed in `contracts\u002Fsettings.json` with its\n   validator, first-launch value, action and effect; nothing else keeps a copy (no `useState` mirror,\n   no side cache, no zustand `persist`, no second key-value write). Why: one place to read, change\n   and decode, so a restart can never show an older value. (`settings-schema`, `single-writer`)\n2. **Saved through one synchronous adapter, read before the first paint.** Default: `expo-sqlite\u002Fkv-store`\n   behind `SettingsStoragePort`, one JSON value under one key, read in the root layout's first-render\n   initializer. Why: the first frame already has the saved theme and language, and one key is one\n   atomic write. (`hydrate-sync`)\n3. **Reduce, persist, then publish; a failed write publishes nothing.** The screen never shows a value\n   that is not saved, the failure is shown (`settings.save-failed`), and storage that cannot be read\n   runs the session in memory without overwriting it. No Save button, no delayed write.\n   (`persist-then-publish`)\n4. **One pure reducer action per change; ranges clamped in the reducer.** Imperative kebab-case\n   (`set-theme`), a no-op returns the same object (nothing written), integer percent rounded and\n   clamped with a property test. Why: every change is testable without React and replays the same.\n   (`reducer-action`)\n5. **Decode field by field; a stored field never changes shape in place.** A missing field takes its\n   default quietly, an unreadable one falls back alone and is recorded, a new meaning gets a new field\n   name, and a frozen sample of every shipped shape keeps decoding. Why: the key-value store has no\n   migrations, and one bad value must never reset every setting.\n6. **First-launch values follow the phone; noise is opt-in.** Settings that mirror a phone setting\n   (language, theme, reduce motion, digits) start at `'system'`\u002F`null`; sound and anything that\n   interrupts start off; every other value is a product decision written in the contract.\n   (`settings-default`)\n7. **Every setting has an effect outside the settings code, applied at once**, through one of four\n   mechanisms: a provider re-render (`PreferencesRoot` feeds `I18nProvider`, `AppThemeProvider\n   preference`, the reduce-motion preference context the root stack's `RootMotion` hands to\n   `MotionConfig`), a store subscription started at startup that returns its\n   unsubscribe (sound), an adapter that reads the store at call time (the haptics gate: created\n   before the services, connected once the store opens, silent until then), or a feature hook\n   reading a selector. Why: a setting nothing reads is a bug people see. (`setting-effect`)\n8. **Store canonical units; convert at the edge.** The volume is integer percent; `toSoundOutput`\n   divides by 100 for the 0..1 an audio API takes; a 0..1 slider dispatches only when the whole\n   percent changes. (`unit-scale`)\n9. **Every row dispatches its action; rows that do not apply are hidden, never greyed.** Visibility\n   is the pure `settingsGroupsFor(context)` over facts (haptics supported, Premium owned, a consent\n   entry point needed), each rule unit-tested; testIDs and label keys come from one typed table.\n   Why: a disabled control nobody can enable is noise for VoiceOver and TalkBack. (`row-dispatch`)\n10. **A language change switches the text at once; only a layout-direction flip restarts, after\n    the person confirms.** `planLanguageChange` compares the new language's direction with the\n    layout's and the choice is saved either way. Why: React Native applies a direction at the next\n    start, and a needless restart throws away state. (`restart-on-direction-only`)\n11. **Resets never touch the settings.** \"Delete all data\" (`createDataResets`) deletes data through\n    the data layer (persistence-and-migrations owns the SQL) and keeps settings and purchases (and\n    first-run flags, unless the product decides otherwise); no code outside the storage adapter\n    clears a whole key-value store (`Storage.clearSync()`, `AsyncStorage.clear()`); a failed delete\n    is shown, never silent; \"Reset settings\" is its own action and confirmation; a save-document\n    reset is one write inside `updateAndPublish`'s callback. (`reset-keeps-settings`, `reset-publish`)\n12. **A switch plays its feedback once, after the dispatch** (the model input `onToggled`, which\n    calls `playUiFeedback(services, 'toggle')`; never the press feedback); sliders and segments play\n    none. Why: the feedback reads the settings at call time, so \"sound off\" is\n    already silent. (`toggle-feedback`, when the contract sets it)\n13. **Reduce motion is tri-state.** The switch shows the resolved value (`useReduceMotion()`) and\n    writes the opposite explicitly (`'on'`\u002F`'off'`); accessibility-as-code owns the resolution and the\n    ban on Reanimated's `useReducedMotion`, and design-system-structure owns the theme provider.\n\n## Workflow\n\n1. Read [references\u002Fsettings-model.md](references\u002Fsettings-model.md): where each piece lives, the\n   fields and first-launch values, persistence, decoding, the effects table, iOS and Android, resets,\n   the contract keys and every checker rule.\n2. **New settings model.** `npx expo install expo-sqlite expo-localization`, then\n   `npm install -E zustand@5.0.15 valibot@1.5.0` (stack table, verified 2026-10-03; re-verify with\n   `npm view zustand@5 version`). Copy `templates\u002Fsrc\u002Fstores\u002Fsettings\u002F` (schema, codec, reducer and\n   its `settings-reducer-cases.ts` table, selectors, store), `templates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002F`,\n   `templates\u002Fsrc\u002Fdata\u002Fopen-device-settings.ts` and `templates\u002Fcontracts\u002F` to `contracts\u002F`. Replace the\n   Tasks fields with the app's own, in the contract first, then the schema, defaults, codec\n   `v.fallback` lines, actions, reducer cases and selectors.\n3. **Wire the startup** (copy `templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002F`): in the root layout's\n   `decideStartup` create the gate (`createHapticsGate()`) before `createDeviceServices`, whose haptics\n   adapter takes `gate.isEnabled`, and resolve the language from `readSavedLanguage(...)`\n   ([examples\u002Froot-layout.tsx](examples\u002Froot-layout.tsx)); in AppRoot's `startApp`, after the data\n   layer and the error sink, open the store (`openDeviceSettings(errorLog)`), then\n   `gate.connect(settings)` and `connectSoundSettings` (audio-and-haptics-feedback owns both ports);\n   render `SettingsStoreProvider` and `PreferencesRoot` in place of fixed provider values; the\n   canonical `root-stack.tsx` stays as it is (its `RootMotion` reads the preference `PreferencesRoot`\n   provides) ([examples\u002Fapp-root.tsx](examples\u002Fapp-root.tsx),\n   [examples\u002Fapp-providers.tsx](examples\u002Fapp-providers.tsx)).\n4. **The screen.** Read [references\u002Frows-and-controls.md](references\u002Frows-and-controls.md). Copy\n   `templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002F` and `templates\u002Fsrc\u002Fconfig\u002Fexternal-links.ts`, merge\n   `templates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002F*.json` into the app's catalogs (translate for every app language),\n   add the route as [examples\u002Fsettings-route.tsx](examples\u002Fsettings-route.tsx) and the view as\n   [examples\u002Fsettings-screen.tsx](examples\u002Fsettings-screen.tsx) with the ui-component-library rows and\n   the three confirm dialogs; gather the row facts (signed in, haptics, Premium, consent) and the\n   `dataResets` wiring (`updateAndPublish` around the data layer's reset) as\n   [examples\u002Fuse-settings-input.ts](examples\u002Fuse-settings-input.ts). Fill `PRIVACY_POLICY_PAGE`: its\n   test fails while the placeholder is left in. The account rows hand off to auth-and-secure-storage.\n5. **Adding or changing a setting:** follow \"Adding or changing a setting\" in the model reference:\n   contract, schema and defaults, codec line and a frozen sample, action (test first), selector, row,\n   effect. A new setting is a product decision: ask the developer first.\n6. **Save document instead of the key-value store** (persistence-and-migrations' document mode): use\n   [examples\u002Fsettings-contract-document-mode.json](examples\u002Fsettings-contract-document-mode.json) as\n   the contract and read the model reference's appendix.\n7. **Test**, then `npm run typecheck`:\n\n   ```bash\n   npx jest src\u002Fstores\u002Fsettings src\u002Fservices\u002Fsettings-storage src\u002Ffeatures\u002Fsettings \\\n     src\u002Ffeatures\u002Fsettings-effects src\u002Fconfig --ci --maxWorkers=2\n   ```\n\n8. **On devices**, after a change to the storage or the startup: change the theme, kill and relaunch on\n   a named iOS simulator and a named Android emulator (commands in the rows reference); the first frame\n   must show the saved theme. Without devices, say in the report that this check is owed.\n9. **Run the checker** from the repo root: `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-settings.mjs .`;\n   fix every `FAIL` line (file, rule and fix are printed) and rerun until it prints `RESULT: PASS`.\n\n## Definition of done\n\n- [ ] `contracts\u002Fsettings.json` lists every field (validator, first-launch value, action, effect) and\n      every action; schema and defaults match it, and the codec has a `v.fallback` line per field.\n- [ ] The store hydrates synchronously, persists before it publishes, publishes nothing on a failed\n      write, and never writes when the saved settings could not be read; its tests pass.\n- [ ] Every action has a reducer case and a test; every range is clamped with a property test; the\n      codec test holds a frozen sample of every shipped shape.\n- [ ] Every row dispatches its action; hidden rows follow `settingsGroupsFor` and its tests; row\n      testIDs and labels come from the typed tables and every app catalog has the keys.\n- [ ] Every field's effect is wired and tested outside the settings code; percent values are\n      converted at the edge.\n- [ ] A language of the other direction opens \"Restart to apply\"; the same direction switches at once.\n- [ ] Data resets keep the settings and purchases (first-run flags as the product decided), and a\n      failed delete shows `settings.delete-all-data.failed`; \"Reset settings\" is its own confirmed\n      action.\n- [ ] The Privacy policy row opens the app's real https page (`PRIVACY_POLICY_PAGE` filled in).\n- [ ] The restart check passed on a named iOS simulator and a named Android emulator, or the report\n      says it is owed.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-settings.mjs .` prints `RESULT: PASS` (expected only\n      before the data layer exists: `SKIP src\u002Fdata\u002Freset-data.ts [reset-keeps-settings] not yet\n      created (persistence-and-migrations creates it)`; an app with no settings prints `NOT APPLICABLE`).\n\n## Anti-patterns\n\n- **A local `useState` copy of a setting in the screen.** It drifts from the store and skips the save;\n  read the store and dispatch.\n- **A Save button or a debounced write.** Every change is saved at once; the store already persists\n  before it publishes.\n- **Loading settings with an async API after the first render.** The app flashes the default theme\n  and language; read synchronously in the first-render initializer.\n- **zustand's `persist` middleware or AsyncStorage for settings.** A second, unversioned copy that\n  publishes before it saves; use the storage port.\n- **One storage key per field.** A two-field change becomes two writes and can be half saved; one\n  JSON value under one key.\n- **Resetting every setting because one saved value is unreadable.** Decode field by field.\n- **Reading `settings.reduceMotion` or `settings.theme` directly in a component.** `'system'` must\n  resolve against the phone; the providers and `useReduceMotion()` do that.\n- **Passing the stored percent to a 0..1 API or a 0..1 slider value straight into the store.**\n  Convert at the edge; dispatch only whole-percent changes.\n- **Greying out rows that do not apply.** Hide them, from the pure visibility function.\n- **Restarting for every language change**, or opening the restart dialog after a failed save (the\n  restart comes back in the old language).\n- **Clearing the whole key-value store in \"Delete all data\"** (`Storage.clearSync()`,\n  `AsyncStorage.clear()`): the settings go with it. Delete through the data layer.\n- **Playing the toggle sound in the row component, or before the dispatch.** It sounds twice, and\n  \"sound off\" still clicks.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Fsettings-model.md](references\u002Fsettings-model.md) | Homes, fields, defaults, persistence, decoding, actions, effects, iOS and Android, resets, adding a setting, document mode, multi-package, contract keys, checker rules | Workflow steps 1, 5 and 6 |\n| [references\u002Frows-and-controls.md](references\u002Frows-and-controls.md) | Route, model and view; each row kind with VoiceOver and TalkBack; slider pitfall; language list and restart; dialogs; copy keys; testIDs and device flows; tests; React Navigation appendix | Workflow steps 4 and 8 |\n| `templates\u002Fsrc\u002Fstores\u002Fsettings\u002F` | Schema and defaults, codec, reducer and `settings-reducer-cases.ts` (the rules as data, also read by state-management-zustand's reducer checker), selectors, store, store context, each with its test (synced canonical copies: never edit here) | Workflow step 2 |\n| `templates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002F` | `SettingsStoragePort` and its fake with a test (synced), and the `expo-sqlite\u002Fkv-store` adapter | Workflow step 2 |\n| [templates\u002Fsrc\u002Fdata\u002Fopen-device-settings.ts](templates\u002Fsrc\u002Fdata\u002Fopen-device-settings.ts) | Creates the store over the key-value adapter (composition root) | Workflow steps 2 and 3 |\n| `templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002F` | `PreferencesRoot` (language, digits, theme, reduce motion), `connectSoundSettings`, `createHapticsGate`, `readSavedLanguage` (for rtl-and-direction's `DirectionGate`), with tests | Workflow step 3 |\n| `templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002F` | Rows and visibility (with the account group), preference handlers, `data-resets.ts` (\"Delete all data\" after its confirmation), the model hook, the language-change plan, with tests | Workflow step 4 |\n| `templates\u002Fsrc\u002Fconfig\u002F` | `external-links.ts` (privacy policy page, store review page per platform, support mail) and its test | Workflow step 4 |\n| `templates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002F` | The settings copy keys in `en` and `ar`, merged into the app's catalogs | Workflow step 4 |\n| `templates\u002Fcontracts\u002F` | `settings.json` (the Tasks contract) and `settings.schema.json` | Workflow steps 2 and 5 |\n| [examples\u002Froot-layout.tsx](examples\u002Froot-layout.tsx) | The canonical root layout with the haptics gate and the saved language in `decideStartup` | Workflow step 3 |\n| [examples\u002Fapp-root.tsx](examples\u002Fapp-root.tsx) | The canonical AppRoot opening the store, connecting the effects and rendering `PreferencesRoot` | Workflow step 3 |\n| [examples\u002Fapp-providers.tsx](examples\u002Fapp-providers.tsx) | AppRoot's outer providers with `SettingsStoreProvider` after the data layer | Workflow step 3 |\n| [examples\u002Fsettings-route.tsx](examples\u002Fsettings-route.tsx) | Thin Expo Router route and its feature hook shape (row hand-offs, the three dialogs) | Workflow step 4 |\n| [examples\u002Fsettings-screen.tsx](examples\u002Fsettings-screen.tsx) | The pure screen view over the model: rows, failure notes heard on both platforms, confirm dialogs | Workflow step 4 |\n| [examples\u002Fuse-settings-input.ts](examples\u002Fuse-settings-input.ts) | Where the row facts, locales, layout direction and the data-reset wiring come from | Workflow step 4 |\n| [examples\u002Fsettings-contract-document-mode.json](examples\u002Fsettings-contract-document-mode.json) | The contract for settings kept in the save document | Workflow step 6 |\n| `scripts\u002Fcheck-settings.mjs` | Checker for the contract, schema, defaults, actions, store, writers, rows, effects, units, resets, restarts and feedback | Workflow step 9, and at the end |\n| `scripts\u002Fselftest.mjs` | Proves the checker passes the templates and catches every planted bug | After changing the checker |\n| `scripts\u002Fcheck-lib.mjs` | Shared script helpers, synced from the library (do not edit here) | Never by hand |\n| `scripts\u002Flib\u002Fobject-literal.mjs` | Shared object-literal reader, synced (do not edit here) | Never by hand |\n| `assets\u002Fshared.json` | Declares the synced files (check-lib, the object-literal reader, the canonical store and port files) | When adding a shared file |\n| `assets\u002Ftemplate-placeholders.json` | Sample values for the template placeholders (`__PRIVACY_POLICY_URL__`) used when the templates are verified | When adding a placeholder |\n| `tests\u002F` | `bases\u002Fapp\u002F` (a minimal app) and `fixtures\u002F` (overlay cases over the templates, including document mode and silent decoys) | When adding a rule to the checker |\n\n## Related skills\n\n- `state-management-zustand` - the store pattern, selectors and `useShallow`, `updateAndPublish`.\n- `persistence-and-migrations` - the key-value boundary, the save document, data resets.\n- `design-system-structure` - `AppThemeProvider` and its `preference` prop.\n- `accessibility-as-code` - `MotionConfig`, `useReduceMotion()`, roles and targets.\n- `i18n-strings-and-catalogs` - `I18nProvider`, language resolution, digits, catalogs.\n- `rtl-and-direction` - the layout direction and the restart that applies it.\n- `audio-and-haptics-feedback` - the audio and haptics ports the effects drive.\n- `ui-component-library` - the row, slider, segmented and dialog components.\n- `auth-and-secure-storage` - the Sign out and Delete account rows' flows.\n- `navigation-and-routing` - the settings routes and sub-screens.\n- `in-app-purchases`, `admob-ads-and-consent` - the Premium and privacy-choices rows.\n- `local-notifications`, `permissions-and-system-prompts` - reminder settings and system settings links.\n- `e2e-maestro` - the restart flow on named devices.\n","# Settings and preferences\n\nEvery setting is saved in one place, changed by one action, shown by one row, and applied by code\noutside the settings screen, at once and without a Save button; data resets never touch it, and a\nchecker proves the whole chain against the app's own settings contract on iOS and Android alike.\n\n## Rules that must hold\n\n1. **One settings model, one owner.** Every saved preference is a field of one strict valibot object\n   (`SETTINGS_SCHEMA` in `src\u002Fstores\u002Fsettings\u002F`) and is listed in `contracts\u002Fsettings.json` with its\n   validator, first-launch value, action and effect; nothing else keeps a copy (no `useState` mirror,\n   no side cache, no zustand `persist`, no second key-value write). Why: one place to read, change\n   and decode, so a restart can never show an older value. (`settings-schema`, `single-writer`)\n2. **Saved through one synchronous adapter, read before the first paint.** Default: `expo-sqlite\u002Fkv-store`\n   behind `SettingsStoragePort`, one JSON value under one key, read in the root layout's first-render\n   initializer. Why: the first frame already has the saved theme and language, and one key is one\n   atomic write. (`hydrate-sync`)\n3. **Reduce, persist, then publish; a failed write publishes nothing.** The screen never shows a value\n   that is not saved, the failure is shown (`settings.save-failed`), and storage that cannot be read\n   runs the session in memory without overwriting it. No Save button, no delayed write.\n   (`persist-then-publish`)\n4. **One pure reducer action per change; ranges clamped in the reducer.** Imperative kebab-case\n   (`set-theme`), a no-op returns the same object (nothing written), integer percent rounded and\n   clamped with a property test. Why: every change is testable without React and replays the same.\n   (`reducer-action`)\n5. **Decode field by field; a stored field never changes shape in place.** A missing field takes its\n   default quietly, an unreadable one falls back alone and is recorded, a new meaning gets a new field\n   name, and a frozen sample of every shipped shape keeps decoding. Why: the key-value store has no\n   migrations, and one bad value must never reset every setting.\n6. **First-launch values follow the phone; noise is opt-in.** Settings that mirror a phone setting\n   (language, theme, reduce motion, digits) start at `'system'`\u002F`null`; sound and anything that\n   interrupts start off; every other value is a product decision written in the contract.\n   (`settings-default`)\n7. **Every setting has an effect outside the settings code, applied at once**, through one of four\n   mechanisms: a provider re-render (`PreferencesRoot` feeds `I18nProvider`, `AppThemeProvider\n   preference`, the reduce-motion preference context the root stack's `RootMotion` hands to\n   `MotionConfig`), a store subscription started at startup that returns its\n   unsubscribe (sound), an adapter that reads the store at call time (the haptics gate: created\n   before the services, connected once the store opens, silent until then), or a feature hook\n   reading a selector. Why: a setting nothing reads is a bug people see. (`setting-effect`)\n8. **Store canonical units; convert at the edge.** The volume is integer percent; `toSoundOutput`\n   divides by 100 for the 0..1 an audio API takes; a 0..1 slider dispatches only when the whole\n   percent changes. (`unit-scale`)\n9. **Every row dispatches its action; rows that do not apply are hidden, never greyed.** Visibility\n   is the pure `settingsGroupsFor(context)` over facts (haptics supported, Premium owned, a consent\n   entry point needed), each rule unit-tested; testIDs and label keys come from one typed table.\n   Why: a disabled control nobody can enable is noise for VoiceOver and TalkBack. (`row-dispatch`)\n10. **A language change switches the text at once; only a layout-direction flip restarts, after\n    the person confirms.** `planLanguageChange` compares the new language's direction with the\n    layout's and the choice is saved either way. Why: React Native applies a direction at the next\n    start, and a needless restart throws away state. (`restart-on-direction-only`)\n11. **Resets never touch the settings.** \"Delete all data\" (`createDataResets`) deletes data through\n    the data layer (persistence-and-migrations owns the SQL) and keeps settings and purchases (and\n    first-run flags, unless the product decides otherwise); no code outside the storage adapter\n    clears a whole key-value store (`Storage.clearSync()`, `AsyncStorage.clear()`); a failed delete\n    is shown, never silent; \"Reset settings\" is its own action and confirmation; a save-document\n    reset is one write inside `updateAndPublish`'s callback. (`reset-keeps-settings`, `reset-publish`)\n12. **A switch plays its feedback once, after the dispatch** (the model input `onToggled`, which\n    calls `playUiFeedback(services, 'toggle')`; never the press feedback); sliders and segments play\n    none. Why: the feedback reads the settings at call time, so \"sound off\" is\n    already silent. (`toggle-feedback`, when the contract sets it)\n13. **Reduce motion is tri-state.** The switch shows the resolved value (`useReduceMotion()`) and\n    writes the opposite explicitly (`'on'`\u002F`'off'`); accessibility-as-code owns the resolution and the\n    ban on Reanimated's `useReducedMotion`, and design-system-structure owns the theme provider.\n\n## Workflow\n\n1. Read [references\u002Fsettings-model.md](references\u002Fsettings-model.md): where each piece lives, the\n   fields and first-launch values, persistence, decoding, the effects table, iOS and Android, resets,\n   the contract keys and every checker rule.\n2. **New settings model.** `npx expo install expo-sqlite expo-localization`, then\n   `npm install -E zustand@5.0.15 valibot@1.5.0` (stack table, verified 2026-10-03; re-verify with\n   `npm view zustand@5 version`). Copy `templates\u002Fsrc\u002Fstores\u002Fsettings\u002F` (schema, codec, reducer and\n   its `settings-reducer-cases.ts` table, selectors, store), `templates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002F`,\n   `templates\u002Fsrc\u002Fdata\u002Fopen-device-settings.ts` and `templates\u002Fcontracts\u002F` to `contracts\u002F`. Replace the\n   Tasks fields with the app's own, in the contract first, then the schema, defaults, codec\n   `v.fallback` lines, actions, reducer cases and selectors.\n3. **Wire the startup** (copy `templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002F`): in the root layout's\n   `decideStartup` create the gate (`createHapticsGate()`) before `createDeviceServices`, whose haptics\n   adapter takes `gate.isEnabled`, and resolve the language from `readSavedLanguage(...)`\n   ([examples\u002Froot-layout.tsx](examples\u002Froot-layout.tsx)); in AppRoot's `startApp`, after the data\n   layer and the error sink, open the store (`openDeviceSettings(errorLog)`), then\n   `gate.connect(settings)` and `connectSoundSettings` (audio-and-haptics-feedback owns both ports);\n   render `SettingsStoreProvider` and `PreferencesRoot` in place of fixed provider values; the\n   canonical `root-stack.tsx` stays as it is (its `RootMotion` reads the preference `PreferencesRoot`\n   provides) ([examples\u002Fapp-root.tsx](examples\u002Fapp-root.tsx),\n   [examples\u002Fapp-providers.tsx](examples\u002Fapp-providers.tsx)).\n4. **The screen.** Read [references\u002Frows-and-controls.md](references\u002Frows-and-controls.md). Copy\n   `templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002F` and `templates\u002Fsrc\u002Fconfig\u002Fexternal-links.ts`, merge\n   `templates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002F*.json` into the app's catalogs (translate for every app language),\n   add the route as [examples\u002Fsettings-route.tsx](examples\u002Fsettings-route.tsx) and the view as\n   [examples\u002Fsettings-screen.tsx](examples\u002Fsettings-screen.tsx) with the ui-component-library rows and\n   the three confirm dialogs; gather the row facts (signed in, haptics, Premium, consent) and the\n   `dataResets` wiring (`updateAndPublish` around the data layer's reset) as\n   [examples\u002Fuse-settings-input.ts](examples\u002Fuse-settings-input.ts). Fill `PRIVACY_POLICY_PAGE`: its\n   test fails while the placeholder is left in. The account rows hand off to auth-and-secure-storage.\n5. **Adding or changing a setting:** follow \"Adding or changing a setting\" in the model reference:\n   contract, schema and defaults, codec line and a frozen sample, action (test first), selector, row,\n   effect. A new setting is a product decision: ask the developer first.\n6. **Save document instead of the key-value store** (persistence-and-migrations' document mode): use\n   [examples\u002Fsettings-contract-document-mode.json](examples\u002Fsettings-contract-document-mode.json) as\n   the contract and read the model reference's appendix.\n7. **Test**, then `npm run typecheck`:\n\n   ```bash\n   npx jest src\u002Fstores\u002Fsettings src\u002Fservices\u002Fsettings-storage src\u002Ffeatures\u002Fsettings \\\n     src\u002Ffeatures\u002Fsettings-effects src\u002Fconfig --ci --maxWorkers=2\n   ```\n\n8. **On devices**, after a change to the storage or the startup: change the theme, kill and relaunch on\n   a named iOS simulator and a named Android emulator (commands in the rows reference); the first frame\n   must show the saved theme. Without devices, say in the report that this check is owed.\n9. **Run the checker** from the repo root: `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-settings.mjs .`;\n   fix every `FAIL` line (file, rule and fix are printed) and rerun until it prints `RESULT: PASS`.\n\n## Definition of done\n\n- [ ] `contracts\u002Fsettings.json` lists every field (validator, first-launch value, action, effect) and\n      every action; schema and defaults match it, and the codec has a `v.fallback` line per field.\n- [ ] The store hydrates synchronously, persists before it publishes, publishes nothing on a failed\n      write, and never writes when the saved settings could not be read; its tests pass.\n- [ ] Every action has a reducer case and a test; every range is clamped with a property test; the\n      codec test holds a frozen sample of every shipped shape.\n- [ ] Every row dispatches its action; hidden rows follow `settingsGroupsFor` and its tests; row\n      testIDs and labels come from the typed tables and every app catalog has the keys.\n- [ ] Every field's effect is wired and tested outside the settings code; percent values are\n      converted at the edge.\n- [ ] A language of the other direction opens \"Restart to apply\"; the same direction switches at once.\n- [ ] Data resets keep the settings and purchases (first-run flags as the product decided), and a\n      failed delete shows `settings.delete-all-data.failed`; \"Reset settings\" is its own confirmed\n      action.\n- [ ] The Privacy policy row opens the app's real https page (`PRIVACY_POLICY_PAGE` filled in).\n- [ ] The restart check passed on a named iOS simulator and a named Android emulator, or the report\n      says it is owed.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-settings.mjs .` prints `RESULT: PASS` (expected only\n      before the data layer exists: `SKIP src\u002Fdata\u002Freset-data.ts [reset-keeps-settings] not yet\n      created (persistence-and-migrations creates it)`; an app with no settings prints `NOT APPLICABLE`).\n\n## Anti-patterns\n\n- **A local `useState` copy of a setting in the screen.** It drifts from the store and skips the save;\n  read the store and dispatch.\n- **A Save button or a debounced write.** Every change is saved at once; the store already persists\n  before it publishes.\n- **Loading settings with an async API after the first render.** The app flashes the default theme\n  and language; read synchronously in the first-render initializer.\n- **zustand's `persist` middleware or AsyncStorage for settings.** A second, unversioned copy that\n  publishes before it saves; use the storage port.\n- **One storage key per field.** A two-field change becomes two writes and can be half saved; one\n  JSON value under one key.\n- **Resetting every setting because one saved value is unreadable.** Decode field by field.\n- **Reading `settings.reduceMotion` or `settings.theme` directly in a component.** `'system'` must\n  resolve against the phone; the providers and `useReduceMotion()` do that.\n- **Passing the stored percent to a 0..1 API or a 0..1 slider value straight into the store.**\n  Convert at the edge; dispatch only whole-percent changes.\n- **Greying out rows that do not apply.** Hide them, from the pure visibility function.\n- **Restarting for every language change**, or opening the restart dialog after a failed save (the\n  restart comes back in the old language).\n- **Clearing the whole key-value store in \"Delete all data\"** (`Storage.clearSync()`,\n  `AsyncStorage.clear()`): the settings go with it. Delete through the data layer.\n- **Playing the toggle sound in the row component, or before the dispatch.** It sounds twice, and\n  \"sound off\" still clicks.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Fsettings-model.md](references\u002Fsettings-model.md) | Homes, fields, defaults, persistence, decoding, actions, effects, iOS and Android, resets, adding a setting, document mode, multi-package, contract keys, checker rules | Workflow steps 1, 5 and 6 |\n| [references\u002Frows-and-controls.md](references\u002Frows-and-controls.md) | Route, model and view; each row kind with VoiceOver and TalkBack; slider pitfall; language list and restart; dialogs; copy keys; testIDs and device flows; tests; React Navigation appendix | Workflow steps 4 and 8 |\n| `templates\u002Fsrc\u002Fstores\u002Fsettings\u002F` | Schema and defaults, codec, reducer and `settings-reducer-cases.ts` (the rules as data, also read by state-management-zustand's reducer checker), selectors, store, store context, each with its test (synced canonical copies: never edit here) | Workflow step 2 |\n| `templates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002F` | `SettingsStoragePort` and its fake with a test (synced), and the `expo-sqlite\u002Fkv-store` adapter | Workflow step 2 |\n| [templates\u002Fsrc\u002Fdata\u002Fopen-device-settings.ts](templates\u002Fsrc\u002Fdata\u002Fopen-device-settings.ts) | Creates the store over the key-value adapter (composition root) | Workflow steps 2 and 3 |\n| `templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002F` | `PreferencesRoot` (language, digits, theme, reduce motion), `connectSoundSettings`, `createHapticsGate`, `readSavedLanguage` (for rtl-and-direction's `DirectionGate`), with tests | Workflow step 3 |\n| `templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002F` | Rows and visibility (with the account group), preference handlers, `data-resets.ts` (\"Delete all data\" after its confirmation), the model hook, the language-change plan, with tests | Workflow step 4 |\n| `templates\u002Fsrc\u002Fconfig\u002F` | `external-links.ts` (privacy policy page, store review page per platform, support mail) and its test | Workflow step 4 |\n| `templates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002F` | The settings copy keys in `en` and `ar`, merged into the app's catalogs | Workflow step 4 |\n| `templates\u002Fcontracts\u002F` | `settings.json` (the Tasks contract) and `settings.schema.json` | Workflow steps 2 and 5 |\n| [examples\u002Froot-layout.tsx](examples\u002Froot-layout.tsx) | The canonical root layout with the haptics gate and the saved language in `decideStartup` | Workflow step 3 |\n| [examples\u002Fapp-root.tsx](examples\u002Fapp-root.tsx) | The canonical AppRoot opening the store, connecting the effects and rendering `PreferencesRoot` | Workflow step 3 |\n| [examples\u002Fapp-providers.tsx](examples\u002Fapp-providers.tsx) | AppRoot's outer providers with `SettingsStoreProvider` after the data layer | Workflow step 3 |\n| [examples\u002Fsettings-route.tsx](examples\u002Fsettings-route.tsx) | Thin Expo Router route and its feature hook shape (row hand-offs, the three dialogs) | Workflow step 4 |\n| [examples\u002Fsettings-screen.tsx](examples\u002Fsettings-screen.tsx) | The pure screen view over the model: rows, failure notes heard on both platforms, confirm dialogs | Workflow step 4 |\n| [examples\u002Fuse-settings-input.ts](examples\u002Fuse-settings-input.ts) | Where the row facts, locales, layout direction and the data-reset wiring come from | Workflow step 4 |\n| [examples\u002Fsettings-contract-document-mode.json](examples\u002Fsettings-contract-document-mode.json) | The contract for settings kept in the save document | Workflow step 6 |\n| `scripts\u002Fcheck-settings.mjs` | Checker for the contract, schema, defaults, actions, store, writers, rows, effects, units, resets, restarts and feedback | Workflow step 9, and at the end |\n| `scripts\u002Fselftest.mjs` | Proves the checker passes the templates and catches every planted bug | After changing the checker |\n| `scripts\u002Fcheck-lib.mjs` | Shared script helpers, synced from the library (do not edit here) | Never by hand |\n| `scripts\u002Flib\u002Fobject-literal.mjs` | Shared object-literal reader, synced (do not edit here) | Never by hand |\n| `assets\u002Fshared.json` | Declares the synced files (check-lib, the object-literal reader, the canonical store and port files) | When adding a shared file |\n| `assets\u002Ftemplate-placeholders.json` | Sample values for the template placeholders (`__PRIVACY_POLICY_URL__`) used when the templates are verified | When adding a placeholder |\n| `tests\u002F` | `bases\u002Fapp\u002F` (a minimal app) and `fixtures\u002F` (overlay cases over the templates, including document mode and silent decoys) | When adding a rule to the checker |\n\n## Related skills\n\n- `state-management-zustand` - the store pattern, selectors and `useShallow`, `updateAndPublish`.\n- `persistence-and-migrations` - the key-value boundary, the save document, data resets.\n- `design-system-structure` - `AppThemeProvider` and its `preference` prop.\n- `accessibility-as-code` - `MotionConfig`, `useReduceMotion()`, roles and targets.\n- `i18n-strings-and-catalogs` - `I18nProvider`, language resolution, digits, catalogs.\n- `rtl-and-direction` - the layout direction and the restart that applies it.\n- `audio-and-haptics-feedback` - the audio and haptics ports the effects drive.\n- `ui-component-library` - the row, slider, segmented and dialog components.\n- `auth-and-secure-storage` - the Sign out and Delete account rows' flows.\n- `navigation-and-routing` - the settings routes and sub-screens.\n- `in-app-purchases`, `admob-ads-and-consent` - the Premium and privacy-choices rows.\n- `local-notifications`, `permissions-and-system-prompts` - reminder settings and system settings links.\n- `e2e-maestro` - the restart flow on named devices.\n",{"name":5,"description":7},"main","41a0e66d4d09de5b46e6537f59a97c7192473486","skills\u002Fsettings-and-preferences",2,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills","https:\u002F\u002Fzakaria.dev\u002FReactNative-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fzakariaf","https:\u002F\u002Fzakaria.dev","Seniore Software Engineer","2026-10-22 07:05:00",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add zakariaf\u002FReactNative-Skills --skill settings-and-preferences",{"tool":40,"command":41},"bunx","bunx skills add zakariaf\u002FReactNative-Skills --skill settings-and-preferences",{"tool":43,"command":44},"pnpm","pnpm dlx skills add zakariaf\u002FReactNative-Skills --skill settings-and-preferences","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002FSKILL.md",true,[48,54,58,64,68,72,78,82,86,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,159,163,167,171,175,179,183,187,191,195,199,203,207,211,215,219,223,227,231,235,239,243,247,251,255,259,263,267,271,275,279,283,287,291,295,299,303,307,311,315,319,323,326,330,334,338,342,346,350,354,358,362,366,370,374,378,382,386,390,394,398,401,404,407,410,414],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"assets\u002Fshared.json","ASSET","资产文件",747,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fassets\u002Fshared.json",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"assets\u002Ftemplate-placeholders.json",68,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fassets\u002Ftemplate-placeholders.json",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"examples\u002Fapp-providers.tsx","OTHER","其他",1317,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fexamples\u002Fapp-providers.tsx",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"examples\u002Fapp-root.tsx",4279,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fexamples\u002Fapp-root.tsx",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"examples\u002Froot-layout.tsx",3887,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fexamples\u002Froot-layout.tsx",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"examples\u002Fsettings-contract-document-mode.json","REFERENCE","参考文档",2684,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fexamples\u002Fsettings-contract-document-mode.json",{"path":79,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":80,"sourceHtmlUrl":81},"examples\u002Fsettings-route.tsx",2803,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fexamples\u002Fsettings-route.tsx",{"path":83,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":84,"sourceHtmlUrl":85},"examples\u002Fsettings-screen.tsx",6298,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fexamples\u002Fsettings-screen.tsx",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"examples\u002Fuse-settings-input.ts","SCRIPT","脚本",3191,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fexamples\u002Fuse-settings-input.ts",{"path":93,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Frows-and-controls.md",16584,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Freferences\u002Frows-and-controls.md",{"path":97,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fsettings-model.md",26886,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Freferences\u002Fsettings-model.md",{"path":101,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":102,"sourceHtmlUrl":103},"scripts\u002Fcheck-lib.mjs",119923,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fscripts\u002Fcheck-lib.mjs",{"path":105,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Fcheck-settings.mjs",32780,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fscripts\u002Fcheck-settings.mjs",{"path":109,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Flib\u002Fobject-literal.mjs",3545,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fscripts\u002Flib\u002Fobject-literal.mjs",{"path":113,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":114,"sourceHtmlUrl":115},"scripts\u002Fselftest.mjs",579,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Fscripts\u002Fselftest.mjs",{"path":117,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":118,"sourceHtmlUrl":119},"templates\u002Fcontracts\u002Fsettings.json",3078,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fcontracts\u002Fsettings.json",{"path":121,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":122,"sourceHtmlUrl":123},"templates\u002Fcontracts\u002Fsettings.schema.json",7750,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fcontracts\u002Fsettings.schema.json",{"path":125,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":126,"sourceHtmlUrl":127},"templates\u002Fsrc\u002Fconfig\u002Fexternal-links.test.ts",2028,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fconfig\u002Fexternal-links.test.ts",{"path":129,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":130,"sourceHtmlUrl":131},"templates\u002Fsrc\u002Fconfig\u002Fexternal-links.ts",2237,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fconfig\u002Fexternal-links.ts",{"path":133,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":134,"sourceHtmlUrl":135},"templates\u002Fsrc\u002Fdata\u002Fopen-device-settings.ts",877,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fdata\u002Fopen-device-settings.ts",{"path":137,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":138,"sourceHtmlUrl":139},"templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fconnect-sound-settings.test.ts",1941,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fconnect-sound-settings.test.ts",{"path":141,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":142,"sourceHtmlUrl":143},"templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fconnect-sound-settings.ts",1507,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fconnect-sound-settings.ts",{"path":145,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":146,"sourceHtmlUrl":147},"templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fhaptics-gate.test.ts",1459,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fhaptics-gate.test.ts",{"path":149,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":150,"sourceHtmlUrl":151},"templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fhaptics-gate.ts",1368,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fhaptics-gate.ts",{"path":153,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":154,"sourceHtmlUrl":155},"templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fpreferences-root.test.tsx",3937,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fpreferences-root.test.tsx",{"path":157,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":76,"sourceHtmlUrl":158},"templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fpreferences-root.tsx","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fpreferences-root.tsx",{"path":160,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":161,"sourceHtmlUrl":162},"templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fread-saved-language.test.ts",1502,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fread-saved-language.test.ts",{"path":164,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":165,"sourceHtmlUrl":166},"templates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fread-saved-language.ts",942,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings-effects\u002Fread-saved-language.ts",{"path":168,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":169,"sourceHtmlUrl":170},"templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fdata-resets.test.ts",3767,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fdata-resets.test.ts",{"path":172,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":173,"sourceHtmlUrl":174},"templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fdata-resets.ts",2033,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fdata-resets.ts",{"path":176,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":177,"sourceHtmlUrl":178},"templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Flanguage-change.test.ts",1598,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Flanguage-change.test.ts",{"path":180,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":181,"sourceHtmlUrl":182},"templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Flanguage-change.ts",1745,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Flanguage-change.ts",{"path":184,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":185,"sourceHtmlUrl":186},"templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fsettings-preference-actions.test.ts",2787,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fsettings-preference-actions.test.ts",{"path":188,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":189,"sourceHtmlUrl":190},"templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fsettings-preference-actions.ts",2805,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fsettings-preference-actions.ts",{"path":192,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":193,"sourceHtmlUrl":194},"templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fsettings-rows.test.ts",2749,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fsettings-rows.test.ts",{"path":196,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":197,"sourceHtmlUrl":198},"templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fsettings-rows.ts",5179,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fsettings-rows.ts",{"path":200,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":201,"sourceHtmlUrl":202},"templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fuse-settings-model.test.tsx",7483,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fuse-settings-model.test.tsx",{"path":204,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":205,"sourceHtmlUrl":206},"templates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fuse-settings-model.ts",6205,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fuse-settings-model.ts",{"path":208,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":209,"sourceHtmlUrl":210},"templates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002Far.json",3206,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002Far.json",{"path":212,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":213,"sourceHtmlUrl":214},"templates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002Fen.json",2547,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fi18n\u002Fcatalogs\u002Fen.json",{"path":216,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":217,"sourceHtmlUrl":218},"templates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002Ffake-settings-storage.test.ts",1313,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002Ffake-settings-storage.test.ts",{"path":220,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":221,"sourceHtmlUrl":222},"templates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002Ffake-settings-storage.ts",1219,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002Ffake-settings-storage.ts",{"path":224,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":225,"sourceHtmlUrl":226},"templates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002Fkv-settings-storage-adapter.ts",1520,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002Fkv-settings-storage-adapter.ts",{"path":228,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":229,"sourceHtmlUrl":230},"templates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002Fsettings-storage-port.ts",1092,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fservices\u002Fsettings-storage\u002Fsettings-storage-port.ts",{"path":232,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":233,"sourceHtmlUrl":234},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-codec.test.ts",2847,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-codec.test.ts",{"path":236,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":237,"sourceHtmlUrl":238},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-codec.ts",3152,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-codec.ts",{"path":240,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":241,"sourceHtmlUrl":242},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-reducer-cases.ts",3624,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-reducer-cases.ts",{"path":244,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":245,"sourceHtmlUrl":246},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-reducer.test.ts",2600,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-reducer.test.ts",{"path":248,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":249,"sourceHtmlUrl":250},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-reducer.ts",2440,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-reducer.ts",{"path":252,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":253,"sourceHtmlUrl":254},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-schema.test.ts",1044,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-schema.test.ts",{"path":256,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":257,"sourceHtmlUrl":258},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-schema.ts",1539,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-schema.ts",{"path":260,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":261,"sourceHtmlUrl":262},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-selectors.test.ts",1791,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-selectors.test.ts",{"path":264,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":265,"sourceHtmlUrl":266},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-selectors.ts",1527,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-selectors.ts",{"path":268,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":269,"sourceHtmlUrl":270},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-store-context.test.tsx",2211,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-store-context.test.tsx",{"path":272,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":273,"sourceHtmlUrl":274},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-store-context.tsx",779,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-store-context.tsx",{"path":276,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":277,"sourceHtmlUrl":278},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-store.test.ts",3224,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-store.test.ts",{"path":280,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":281,"sourceHtmlUrl":282},"templates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-store.ts",3949,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftemplates\u002Fsrc\u002Fstores\u002Fsettings\u002Fsettings-store.ts",{"path":284,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":285,"sourceHtmlUrl":286},"tests\u002Fbases\u002Fapp\u002Fpackage.json",212,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Fbases\u002Fapp\u002Fpackage.json",{"path":288,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":289,"sourceHtmlUrl":290},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Fdata\u002Freset-data.ts",483,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Fdata\u002Freset-data.ts",{"path":292,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":293,"sourceHtmlUrl":294},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fuse-settings-input.ts",449,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Fsettings\u002Fuse-settings-input.ts",{"path":296,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":297,"sourceHtmlUrl":298},"tests\u002Fbases\u002Fapp\u002Ftsconfig.json",137,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Fbases\u002Fapp\u002Ftsconfig.json",{"path":300,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":301,"sourceHtmlUrl":302},"tests\u002Ffixtures\u002Fbad-async-hydrate\u002FEXPECT.txt",103,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-async-hydrate\u002FEXPECT.txt",{"path":304,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":305,"sourceHtmlUrl":306},"tests\u002Ffixtures\u002Fbad-clear-in-handler\u002FEXPECT.txt",334,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-clear-in-handler\u002FEXPECT.txt",{"path":308,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":309,"sourceHtmlUrl":310},"tests\u002Ffixtures\u002Fbad-default-mismatch\u002FEXPECT.txt",122,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-default-mismatch\u002FEXPECT.txt",{"path":312,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":313,"sourceHtmlUrl":314},"tests\u002Ffixtures\u002Fbad-loose-schema\u002FEXPECT.txt",46,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-loose-schema\u002FEXPECT.txt",{"path":316,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":317,"sourceHtmlUrl":318},"tests\u002Ffixtures\u002Fbad-missing-case\u002FEXPECT.txt",39,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-missing-case\u002FEXPECT.txt",{"path":320,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":321,"sourceHtmlUrl":322},"tests\u002Ffixtures\u002Fbad-no-clamp\u002FEXPECT.txt",62,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-no-clamp\u002FEXPECT.txt",{"path":324,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":313,"sourceHtmlUrl":325},"tests\u002Ffixtures\u002Fbad-no-contract\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-no-contract\u002FEXPECT.txt",{"path":327,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":328,"sourceHtmlUrl":329},"tests\u002Ffixtures\u002Fbad-no-effect\u002FEXPECT.txt",97,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-no-effect\u002FEXPECT.txt",{"path":331,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":332,"sourceHtmlUrl":333},"tests\u002Ffixtures\u002Fbad-no-row\u002FEXPECT.txt",56,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-no-row\u002FEXPECT.txt",{"path":335,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":336,"sourceHtmlUrl":337},"tests\u002Ffixtures\u002Fbad-no-toggle-feedback\u002FEXPECT.txt",57,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-no-toggle-feedback\u002FEXPECT.txt",{"path":339,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":340,"sourceHtmlUrl":341},"tests\u002Ffixtures\u002Fbad-publish-first\u002FEXPECT.txt",91,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-publish-first\u002FEXPECT.txt",{"path":343,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":344,"sourceHtmlUrl":345},"tests\u002Ffixtures\u002Fbad-reset-bare-update\u002FEXPECT.txt",181,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-reset-bare-update\u002FEXPECT.txt",{"path":347,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":348,"sourceHtmlUrl":349},"tests\u002Ffixtures\u002Fbad-reset-clears-store\u002FEXPECT.txt",79,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-reset-clears-store\u002FEXPECT.txt",{"path":351,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":352,"sourceHtmlUrl":353},"tests\u002Ffixtures\u002Fbad-reset-replaces-settings\u002FEXPECT.txt",95,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-reset-replaces-settings\u002FEXPECT.txt",{"path":355,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":356,"sourceHtmlUrl":357},"tests\u002Ffixtures\u002Fbad-restart-always\u002FEXPECT.txt",113,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-restart-always\u002FEXPECT.txt",{"path":359,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":360,"sourceHtmlUrl":361},"tests\u002Ffixtures\u002Fbad-side-copy\u002FEXPECT.txt",145,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-side-copy\u002FEXPECT.txt",{"path":363,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":364,"sourceHtmlUrl":365},"tests\u002Ffixtures\u002Fbad-unit-scale\u002FEXPECT.txt",130,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-unit-scale\u002FEXPECT.txt",{"path":367,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":368,"sourceHtmlUrl":369},"tests\u002Ffixtures\u002Fbad-unknown-setting\u002FEXPECT.txt",44,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-unknown-setting\u002FEXPECT.txt",{"path":371,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":372,"sourceHtmlUrl":373},"tests\u002Ffixtures\u002Fbad-validator-changed\u002FEXPECT.txt",135,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-validator-changed\u002FEXPECT.txt",{"path":375,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":376,"sourceHtmlUrl":377},"tests\u002Ffixtures\u002Fbad-zustand-persist\u002FEXPECT.txt",74,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fbad-zustand-persist\u002FEXPECT.txt",{"path":379,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":380,"sourceHtmlUrl":381},"tests\u002Ffixtures\u002FCASES.json",20591,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002FCASES.json",{"path":383,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":384,"sourceHtmlUrl":385},"tests\u002Ffixtures\u002Ferror-bad-contract\u002FEXPECT.txt",60,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Ferror-bad-contract\u002FEXPECT.txt",{"path":387,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":388,"sourceHtmlUrl":389},"tests\u002Ffixtures\u002Ferror-no-package\u002FEXPECT.txt",52,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Ferror-no-package\u002FEXPECT.txt",{"path":391,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":392,"sourceHtmlUrl":393},"tests\u002Ffixtures\u002Ferror-unknown-action\u002FEXPECT.txt",78,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Ferror-unknown-action\u002FEXPECT.txt",{"path":395,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":396,"sourceHtmlUrl":397},"tests\u002Ffixtures\u002Fgood\u002FEXPECT.txt",29,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fgood\u002FEXPECT.txt",{"path":399,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":396,"sourceHtmlUrl":400},"tests\u002Ffixtures\u002Fpass-document-mode\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fpass-document-mode\u002FEXPECT.txt",{"path":402,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":364,"sourceHtmlUrl":403},"tests\u002Ffixtures\u002Fpass-no-settings\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fpass-no-settings\u002FEXPECT.txt",{"path":405,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":14,"sourceHtmlUrl":406},"tests\u002Ffixtures\u002Fpass-own-clear-methods\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fpass-own-clear-methods\u002FEXPECT.txt",{"path":408,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":14,"sourceHtmlUrl":409},"tests\u002Ffixtures\u002Fpass-reset-block-body\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fpass-reset-block-body\u002FEXPECT.txt",{"path":411,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":412,"sourceHtmlUrl":413},"tests\u002Ffixtures\u002Fpass-reset-not-yet-created\u002FEXPECT.txt",120,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002Fpass-reset-not-yet-created\u002FEXPECT.txt",{"path":415,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":416,"sourceHtmlUrl":417},"tests\u002Ffixtures\u002FSUITE.json",1488,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fsettings-and-preferences\u002Ftests\u002Ffixtures\u002FSUITE.json",[419,426,432,439,446,453],{"skillNo":420,"name":421,"nameZh":6,"description":422,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":423,"categories":424,"keywords":425,"publishedAt":19},"01M7F2S4KZG97D21GEJ2GKKYK1","demo","Planted skill folder (never scanned).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002Ftests\u002Fbases\u002Fapp\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":427,"name":421,"nameZh":6,"description":428,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":429,"categories":430,"keywords":431,"publishedAt":19},"01M7F2S1F4ATZ49909EDKWA9E6","Planted installed skill (its files must never be scanned).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002Ftests\u002Fbases\u002Fapp\u002F.agents\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":433,"name":434,"nameZh":6,"description":435,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":436,"categories":437,"keywords":438,"publishedAt":19},"01M7F2RXGPZJ5Q1FV2HQ1PJ6AX","web-support","Ships the web build of an Expo app: platform files, APIs missing in react-native-web, expo-sqlite headers. Use when adding web, a .web.tsx file or expo export --platform web. Not for responsive layout (adaptive-layout).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-support\u002FSKILL.md",[],[],{"skillNo":440,"name":441,"nameZh":6,"description":442,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":443,"categories":444,"keywords":445,"publishedAt":19},"01M7F2RQ43JFA4QFWQEHBET08G","value-objects-money-and-units","Stores money as ISO 4217 minor units, quantities in canonical units, instants as epoch ms. Use when adding a price, currency, tax, split, unit or timestamp, or a total is a cent off. Not for calendar days (dates-streaks-and-statistics).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalue-objects-money-and-units\u002FSKILL.md",[],[],{"skillNo":447,"name":448,"nameZh":6,"description":449,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":450,"categories":451,"keywords":452,"publishedAt":19},"01M7F2RHR7H8VVZDP16FJNJV11","unit-and-component-tests","Sets up Jest, checks unit, component and route tests (RNTL 14, renderWithProviders, SDK mocks, fakes, fast-check, Stryker). Use when writing a test or mock, or Jest fails or flakes. Not for goldens (golden-and-snapshot-tests).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Funit-and-component-tests\u002FSKILL.md",[],[],{"skillNo":454,"name":455,"nameZh":6,"description":456,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":457,"categories":458,"keywords":459,"publishedAt":19},"01M7F2RAEDWQ6H4514HFRWJAE6","ui-states-and-feedback","Builds loading, empty, failed and offline states, delayed skeletons, toasts, banners, confirms, Undo. Use when a screen loads data, shows a spinner, toast, retry or delete prompt. Not for failure values (error-handling-typed-results).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fui-states-and-feedback\u002FSKILL.md",[],[]]