[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DFGPHJHJG6ASSWP73E4P31":3,"skill-same:01M7DFGPHJHJG6ASSWP73E4P31":433},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7DFGPHJHJG6ASSWP73E4P31","state-stores",null,"Builds and checks Zustand stores - factories, pure reducers, persist-then-publish, useShallow selectors, updateAndPublish, the GameSession reducer. Use when adding a store, action, selector or undo\u002Fcontinue logic, or on Maximum update depth. Not for the save file (save-persistence-and-migrations).","zakariaf\u002Fpocket-arcade","zakariaf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2259803?v=4","01M7DEF0YMPS6Y6RQ4WGA0JH9R","Zakaria Fatahi","01M7DEF0ZN5WYWJT595FWW1A0Y",0,"MIT","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: state-stores\ndescription: Builds and checks Zustand stores - factories, pure reducers, persist-then-publish, useShallow selectors, updateAndPublish, the GameSession reducer. Use when adding a store, action, selector or undo\u002Fcontinue logic, or on Maximum update depth. Not for the save file (save-persistence-and-migrations).\n---\n\n# State stores\n\nApp state lives in four thin Zustand 5 stores over pure reducers, created from the loaded save document; a run lives in a pure `GameSession` changed by one reducer. Every change is reduced, saved, then published, and two scripts prove it.\n\n## Rules that must hold\n\n1. **One store per domain (settings, progress, stats, premium), made by a `create\u003CDomain>Store(save)` factory and created once in `createShellStores(save)`.** No module-level stores and no `create` from `zustand`: tests need fresh stores per test, and a direction reload re-runs module code. Beside them `createShellStores` makes the one store that is never saved, `restart` (`createRestartStore()` in `stores\u002Frestart-store.ts`): the direction reload a screen has started, held from the tap until the reload so the route guards keep that screen (a pending reload must never outlive the reload, so it has no save section and no reducer).\n2. **Every `dispatch` reduces, persists, then publishes:** `next = reducer(get(), action)`; if the reducer can return the same object (a refused or no-op action), stop there; `save.update(recipe)` with only this store's sections; then `set(...)` from `save.doc()` (never `next`). The screen never shows a value that is not on disk, a failed write publishes nothing, and a rejected document never reaches the store, where it would spoil every later write.\n3. **All logic sits in pure reducers with imperative kebab-case actions** (`set-theme`, `record-level-result`, `use-free-hint`, `reset-statistics`). Reducers import no runtime code, never mutate, never read `Date` or randomness; \"today\" arrives in the action. Pure reducers are tested without React and replay the same everywhere.\n4. **A selector returns a primitive or a reference already in the state. One that builds an object or array is wrapped in `useShallow` from `zustand\u002Fshallow`; no store hook is called without a selector.** In Zustand 5 a new reference per call loops (\"Maximum update depth exceeded\"), and the v4 equality argument is gone.\n5. **A write that spans sections (run end, \"Reset all progress\", debug import) is ONE `updateAndPublish(save, stores, { recipe, refreshBackup: true })`: one validated `save.update`, then every section store re-reads the document.** Several dispatches would be several transactions (a kill between them leaves stars without statistics), and a bare `save.update` leaves the stores showing old numbers until a restart.\n6. **A run is a `GameSession` changed only by `gameSessionReducer`, in a per-run store whose persist callback runs before publish.** The board animates only what is already saved, so a kill mid-animation loses nothing.\n7. **The save document is the only persistence.** No `zustand\u002Fmiddleware` persist, AsyncStorage or MMKV; stores and the game host never import SQLite or the save store, they call `save.update`. One document means one version number and tested migrations.\n8. **Every reducer has a test file next to it, and every persisting store a thin persist-before-publish test.** The rules of the product (best result kept, one free hint a day, one continue per run) are only safe while a test pins them.\n\n## Workflow\n\n1. Read [references\u002Fstore-pattern.md](references\u002Fstore-pattern.md): the domains table, the pattern, action names, selectors, cross-section writes, tests and every checker rule. Read [references\u002Fgame-session.md](references\u002Fgame-session.md) before touching a run, undo, continue, hints or the saved run.\n2. Check the prerequisites in the app repo: the save layer (`SaveService`, `createFakeSaveStore`, `planLoad`, the schema in `services\u002Fsave\u002F`), `ClockPort` (`services\u002Fclock\u002Fclock-port.ts` with `nowMs`, `today` and `msUntilNextLocalDay`; `TEST_CLOCK` in `testing\u002Fcreate-test-save.ts` implements all three) and the Premium store (`stores\u002Fpremium\u002Fpremium-store.ts`). If the save layer or the clock port is missing, build it first (save-persistence-and-migrations ships both); the stores are hydrated from `save.doc()`.\n3. New Shell (Shell step 5 of the build order, where the stores and the GameSession store land with the services, so check-stores passes from step 5 on): first install Zustand into the Shell package, exactly this pinned line from the repo root (the dependency policy's plan for `zustand`; the repo's `.npmrc` sets `save-exact=true`, so npm writes the exact version):\n\n   ```sh\n   npm install zustand@5.0.15 -w packages\u002Fshell\n   ```\n\n   Every store template imports `zustand`, so without it `tsc` fails with `TS2307: Cannot find module 'zustand'`. Then copy `templates\u002Fpackages\u002Fshell\u002Fsrc\u002F` into `packages\u002Fshell\u002Fsrc\u002F` (stores, `app\u002Fstores-context.tsx`, game host, testing helpers). The settings files are the same files the settings work uses; keep them identical. Wire `createShellStores(hydrated.save)` into the composition root and `\u003CStoresProvider>`.\n4. New action: write the failing reducer test first (one example per action, a fast-check property for ranges and idempotence), add the union member and the reducer case, and name it by rule 3. The store's `dispatch` stays generic.\n5. New read in a component or hook: pick or add a selector in `\u003Cdomain>-selectors.ts`; a value built per call goes through `useShallow` (see [examples\u002Fuse-display-settings.ts](examples\u002Fuse-display-settings.ts) and [examples\u002Fuse-hint-button.ts](examples\u002Fuse-hint-button.ts)).\n6. Cross-section change: compose the pure section functions in one recipe and call `updateAndPublish(save, stores, { recipe, refreshBackup: true })`.\n7. Run logic: copy the `game-host\u002F` templates, create the run store with `createRunWriter(save, game.persistence)` as its persist callback, restore a saved run with `restoreRun` (it comes back paused), and add the game's two property tests (undo k moves; replay reproduces the snapshot). The run end is not a run-store write: the composition root gives the game host `writeRunEnd: (write) => updateAndPublish(save, stores, write)` (rule 5; the game-host-integration skill wires it).\n8. Run the tests: `npx jest packages\u002Fshell\u002Fsrc\u002Fstores packages\u002Fshell\u002Fsrc\u002Fgame-host --ci --selectProjects unit --coverage --collectCoverageFrom='packages\u002Fshell\u002Fsrc\u002Fstores\u002F**\u002F*.ts' --coverageThreshold='{}'` (paths first; only `npm run test:coverage` judges the thresholds) and `npx tsc -p packages\u002Fshell --noEmit`.\n9. Run the checks from the repo root: `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-reducers.mjs .` and `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-stores.mjs .`. Fix every `FAIL` line (each names file, rule and fix) and rerun until both print `RESULT: PASS`.\n\n## Definition of done\n\n- [ ] `ShellStores` holds settings, progress, stats, premium and the unsaved `restart` store; only `createShellStores` calls the store factories.\n- [ ] Each `dispatch` writes only its own sections through `save.update`, then calls `set`; a reducer that returns the same object (refused action) causes no write.\n- [ ] Every action name is an imperative kebab-case verb; time is passed in actions.\n- [ ] Every selector call returns a primitive or state reference, or goes through `useShallow`.\n- [ ] Run end and \"Reset all progress\" use one `updateAndPublish` write with the backup refreshed, never a bare `save.update`.\n- [ ] Reducer, store, session, saved-run and run-writer tests pass, and `tsc` is clean.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-reducers.mjs .` prints `RESULT: PASS`\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-stores.mjs .` prints `RESULT: PASS`\n\n## Anti-patterns\n\n- **`export const useThing = create(...)`.** A singleton hook-store shares state across tests and app starts; write a factory and add it to `createShellStores`.\n- **`set(next)` and then `save.update(...)`, or a `setTimeout` \"debounced save\".** The screen then shows unsaved data, and a kill loses it; persist first, synchronously.\n- **`useProgressStore((s) => ({ stars: s.x, best: s.y }))`.** A new object every render loops forever in Zustand 5; wrap it in `useShallow` or select two primitives.\n- **`useSettingsStore()` to \"get everything\".** It re-renders on every change; select what the component shows.\n- **Recording a finished run with three dispatches (progress, stats, daily), or with `save.update(applyRunEnd…)` alone.** Use one `updateAndPublish` recipe so the result screen appears only after everything is on disk and every store shows it.\n- **`Date.now()` or `new Date()` in a reducer.** Pass `today` from `ClockPort` in the action; reducers must replay identically.\n- **Event-style action names (`hint-used`, `themeChanged`).** Name the command: `use-hint`, `set-theme`.\n- **Mutating `past` or `log` with `push`.** Spread into new arrays; `check-reducers` freezes the input to catch it.\n- **Keeping undo history on disk.** Save the move log and snapshot; rebuild `past` by replay on restore.\n- **A bare `npm install zustand` (or `@latest`, or a caret range).** It floats to whatever is newest, can be younger than the 7-day release age, and breaks the one-version pin; run exactly `npm install zustand@5.0.15 -w packages\u002Fshell` from the repo root.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Fstore-pattern.md](references\u002Fstore-pattern.md) | Domains, the reduce-persist-publish pattern, actions, reducers, cross-section writes, selectors and useShallow, Premium store, tests, checker rules | Workflow step 1, and on any store change |\n| [references\u002Fgame-session.md](references\u002Fgame-session.md) | GameSession types, what each action does, run store, when the run is written, saved run restore, game property tests | Workflow steps 1 and 7 |\n| `templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002F` | `settings-*`, `progress-*`, `stats-*` reducers, selectors, stores and tests; `create-shell-stores.ts`; `update-and-publish.ts` (+ test); `restart-store.ts` (+ test: the unsaved restart store) | Workflow steps 3 to 6 |\n| `templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fapp\u002Fstores-context.tsx` | `ShellStores`, `StoresProvider`, `useStores` | Workflow step 3 |\n| `templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002F` | Session types, reducer, per-run store, saved run, run writer, and their tests | Workflow step 7 |\n| `templates\u002Fpackages\u002Fshell\u002Fsrc\u002Ftesting\u002F` | `create-test-save.ts` (boot-like in-memory save) and `counter-game.ts` (tiny rules for session tests) | Workflow steps 4 and 7 |\n| [examples\u002Fuse-display-settings.ts](examples\u002Fuse-display-settings.ts) | A hook with one primitive selector and one `useShallow` object selector | Workflow step 5 |\n| [examples\u002Fuse-hint-button.ts](examples\u002Fuse-hint-button.ts) | A hook reading three stores and dispatching only from a handler | Workflow step 5 |\n| `scripts\u002Fcheck-stores.mjs` | Static checker: factories, persist order, purity, action names, selectors, useShallow, second persistence, SQLite bypass, cross-section writes | Workflow step 9, and at the end |\n| `scripts\u002Fcheck-reducers.mjs` | Runs the app's settings, progress and session reducers against their rules | Workflow step 9, and at the end |\n| `scripts\u002Flib\u002Fsource-scan.mjs` | Call and selector scanning helpers for check-stores | Never by hand |\n| `scripts\u002Flib\u002Fapp-modules.mjs` | Imports the app's TypeScript modules (Node type stripping, `@e07\u002F*` resolution) | Never by hand |\n| `scripts\u002Flib\u002Ffixture-tree.mjs` | Builds the self-test trees (templates plus one planted bug) | Never by hand |\n| `scripts\u002Fselftest.mjs` | Proves both checkers pass the templates and catch every planted bug | After changing a checker or a template |\n| `scripts\u002Fcheck-lib.mjs` | Shared script helper, synced from the library (do not edit here) | Never by hand |\n| `assets\u002Fshared.json` | Declares the shared files this skill copies in (`check-lib.mjs` and the six `settings-*` store files, synced from the library and identical to settings-and-preferences' copies: edit them there, never here) | When adding a shared file |\n| `tests\u002Ffixtures\u002F` | Planted-bug overlays (`bad-*\u002F` with `EXPECT.txt`) for both checkers | When adding a checker rule |\n\n## Related skills\n\n- `save-persistence-and-migrations` - the SaveService, document schema and SQLite the stores write through.\n- `settings-and-preferences` - the settings fields, S11 rows and the effect of each setting.\n- `daily-and-statistics` - the daily and statistics maths and the run-end recipe.\n- `game-host-integration` - mounting a game, HUD, pause and result flow around the run store.\n- `premium-purchase` - the Premium store and its service.\n- `react-components-and-hooks` - component rules for the hooks that read stores.\n- `tdd-workflow` - the test-first loop for every reducer change.\n","# State stores\n\nApp state lives in four thin Zustand 5 stores over pure reducers, created from the loaded save document; a run lives in a pure `GameSession` changed by one reducer. Every change is reduced, saved, then published, and two scripts prove it.\n\n## Rules that must hold\n\n1. **One store per domain (settings, progress, stats, premium), made by a `create\u003CDomain>Store(save)` factory and created once in `createShellStores(save)`.** No module-level stores and no `create` from `zustand`: tests need fresh stores per test, and a direction reload re-runs module code. Beside them `createShellStores` makes the one store that is never saved, `restart` (`createRestartStore()` in `stores\u002Frestart-store.ts`): the direction reload a screen has started, held from the tap until the reload so the route guards keep that screen (a pending reload must never outlive the reload, so it has no save section and no reducer).\n2. **Every `dispatch` reduces, persists, then publishes:** `next = reducer(get(), action)`; if the reducer can return the same object (a refused or no-op action), stop there; `save.update(recipe)` with only this store's sections; then `set(...)` from `save.doc()` (never `next`). The screen never shows a value that is not on disk, a failed write publishes nothing, and a rejected document never reaches the store, where it would spoil every later write.\n3. **All logic sits in pure reducers with imperative kebab-case actions** (`set-theme`, `record-level-result`, `use-free-hint`, `reset-statistics`). Reducers import no runtime code, never mutate, never read `Date` or randomness; \"today\" arrives in the action. Pure reducers are tested without React and replay the same everywhere.\n4. **A selector returns a primitive or a reference already in the state. One that builds an object or array is wrapped in `useShallow` from `zustand\u002Fshallow`; no store hook is called without a selector.** In Zustand 5 a new reference per call loops (\"Maximum update depth exceeded\"), and the v4 equality argument is gone.\n5. **A write that spans sections (run end, \"Reset all progress\", debug import) is ONE `updateAndPublish(save, stores, { recipe, refreshBackup: true })`: one validated `save.update`, then every section store re-reads the document.** Several dispatches would be several transactions (a kill between them leaves stars without statistics), and a bare `save.update` leaves the stores showing old numbers until a restart.\n6. **A run is a `GameSession` changed only by `gameSessionReducer`, in a per-run store whose persist callback runs before publish.** The board animates only what is already saved, so a kill mid-animation loses nothing.\n7. **The save document is the only persistence.** No `zustand\u002Fmiddleware` persist, AsyncStorage or MMKV; stores and the game host never import SQLite or the save store, they call `save.update`. One document means one version number and tested migrations.\n8. **Every reducer has a test file next to it, and every persisting store a thin persist-before-publish test.** The rules of the product (best result kept, one free hint a day, one continue per run) are only safe while a test pins them.\n\n## Workflow\n\n1. Read [references\u002Fstore-pattern.md](references\u002Fstore-pattern.md): the domains table, the pattern, action names, selectors, cross-section writes, tests and every checker rule. Read [references\u002Fgame-session.md](references\u002Fgame-session.md) before touching a run, undo, continue, hints or the saved run.\n2. Check the prerequisites in the app repo: the save layer (`SaveService`, `createFakeSaveStore`, `planLoad`, the schema in `services\u002Fsave\u002F`), `ClockPort` (`services\u002Fclock\u002Fclock-port.ts` with `nowMs`, `today` and `msUntilNextLocalDay`; `TEST_CLOCK` in `testing\u002Fcreate-test-save.ts` implements all three) and the Premium store (`stores\u002Fpremium\u002Fpremium-store.ts`). If the save layer or the clock port is missing, build it first (save-persistence-and-migrations ships both); the stores are hydrated from `save.doc()`.\n3. New Shell (Shell step 5 of the build order, where the stores and the GameSession store land with the services, so check-stores passes from step 5 on): first install Zustand into the Shell package, exactly this pinned line from the repo root (the dependency policy's plan for `zustand`; the repo's `.npmrc` sets `save-exact=true`, so npm writes the exact version):\n\n   ```sh\n   npm install zustand@5.0.15 -w packages\u002Fshell\n   ```\n\n   Every store template imports `zustand`, so without it `tsc` fails with `TS2307: Cannot find module 'zustand'`. Then copy `templates\u002Fpackages\u002Fshell\u002Fsrc\u002F` into `packages\u002Fshell\u002Fsrc\u002F` (stores, `app\u002Fstores-context.tsx`, game host, testing helpers). The settings files are the same files the settings work uses; keep them identical. Wire `createShellStores(hydrated.save)` into the composition root and `\u003CStoresProvider>`.\n4. New action: write the failing reducer test first (one example per action, a fast-check property for ranges and idempotence), add the union member and the reducer case, and name it by rule 3. The store's `dispatch` stays generic.\n5. New read in a component or hook: pick or add a selector in `\u003Cdomain>-selectors.ts`; a value built per call goes through `useShallow` (see [examples\u002Fuse-display-settings.ts](examples\u002Fuse-display-settings.ts) and [examples\u002Fuse-hint-button.ts](examples\u002Fuse-hint-button.ts)).\n6. Cross-section change: compose the pure section functions in one recipe and call `updateAndPublish(save, stores, { recipe, refreshBackup: true })`.\n7. Run logic: copy the `game-host\u002F` templates, create the run store with `createRunWriter(save, game.persistence)` as its persist callback, restore a saved run with `restoreRun` (it comes back paused), and add the game's two property tests (undo k moves; replay reproduces the snapshot). The run end is not a run-store write: the composition root gives the game host `writeRunEnd: (write) => updateAndPublish(save, stores, write)` (rule 5; the game-host-integration skill wires it).\n8. Run the tests: `npx jest packages\u002Fshell\u002Fsrc\u002Fstores packages\u002Fshell\u002Fsrc\u002Fgame-host --ci --selectProjects unit --coverage --collectCoverageFrom='packages\u002Fshell\u002Fsrc\u002Fstores\u002F**\u002F*.ts' --coverageThreshold='{}'` (paths first; only `npm run test:coverage` judges the thresholds) and `npx tsc -p packages\u002Fshell --noEmit`.\n9. Run the checks from the repo root: `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-reducers.mjs .` and `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-stores.mjs .`. Fix every `FAIL` line (each names file, rule and fix) and rerun until both print `RESULT: PASS`.\n\n## Definition of done\n\n- [ ] `ShellStores` holds settings, progress, stats, premium and the unsaved `restart` store; only `createShellStores` calls the store factories.\n- [ ] Each `dispatch` writes only its own sections through `save.update`, then calls `set`; a reducer that returns the same object (refused action) causes no write.\n- [ ] Every action name is an imperative kebab-case verb; time is passed in actions.\n- [ ] Every selector call returns a primitive or state reference, or goes through `useShallow`.\n- [ ] Run end and \"Reset all progress\" use one `updateAndPublish` write with the backup refreshed, never a bare `save.update`.\n- [ ] Reducer, store, session, saved-run and run-writer tests pass, and `tsc` is clean.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-reducers.mjs .` prints `RESULT: PASS`\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-stores.mjs .` prints `RESULT: PASS`\n\n## Anti-patterns\n\n- **`export const useThing = create(...)`.** A singleton hook-store shares state across tests and app starts; write a factory and add it to `createShellStores`.\n- **`set(next)` and then `save.update(...)`, or a `setTimeout` \"debounced save\".** The screen then shows unsaved data, and a kill loses it; persist first, synchronously.\n- **`useProgressStore((s) => ({ stars: s.x, best: s.y }))`.** A new object every render loops forever in Zustand 5; wrap it in `useShallow` or select two primitives.\n- **`useSettingsStore()` to \"get everything\".** It re-renders on every change; select what the component shows.\n- **Recording a finished run with three dispatches (progress, stats, daily), or with `save.update(applyRunEnd…)` alone.** Use one `updateAndPublish` recipe so the result screen appears only after everything is on disk and every store shows it.\n- **`Date.now()` or `new Date()` in a reducer.** Pass `today` from `ClockPort` in the action; reducers must replay identically.\n- **Event-style action names (`hint-used`, `themeChanged`).** Name the command: `use-hint`, `set-theme`.\n- **Mutating `past` or `log` with `push`.** Spread into new arrays; `check-reducers` freezes the input to catch it.\n- **Keeping undo history on disk.** Save the move log and snapshot; rebuild `past` by replay on restore.\n- **A bare `npm install zustand` (or `@latest`, or a caret range).** It floats to whatever is newest, can be younger than the 7-day release age, and breaks the one-version pin; run exactly `npm install zustand@5.0.15 -w packages\u002Fshell` from the repo root.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Fstore-pattern.md](references\u002Fstore-pattern.md) | Domains, the reduce-persist-publish pattern, actions, reducers, cross-section writes, selectors and useShallow, Premium store, tests, checker rules | Workflow step 1, and on any store change |\n| [references\u002Fgame-session.md](references\u002Fgame-session.md) | GameSession types, what each action does, run store, when the run is written, saved run restore, game property tests | Workflow steps 1 and 7 |\n| `templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002F` | `settings-*`, `progress-*`, `stats-*` reducers, selectors, stores and tests; `create-shell-stores.ts`; `update-and-publish.ts` (+ test); `restart-store.ts` (+ test: the unsaved restart store) | Workflow steps 3 to 6 |\n| `templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fapp\u002Fstores-context.tsx` | `ShellStores`, `StoresProvider`, `useStores` | Workflow step 3 |\n| `templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002F` | Session types, reducer, per-run store, saved run, run writer, and their tests | Workflow step 7 |\n| `templates\u002Fpackages\u002Fshell\u002Fsrc\u002Ftesting\u002F` | `create-test-save.ts` (boot-like in-memory save) and `counter-game.ts` (tiny rules for session tests) | Workflow steps 4 and 7 |\n| [examples\u002Fuse-display-settings.ts](examples\u002Fuse-display-settings.ts) | A hook with one primitive selector and one `useShallow` object selector | Workflow step 5 |\n| [examples\u002Fuse-hint-button.ts](examples\u002Fuse-hint-button.ts) | A hook reading three stores and dispatching only from a handler | Workflow step 5 |\n| `scripts\u002Fcheck-stores.mjs` | Static checker: factories, persist order, purity, action names, selectors, useShallow, second persistence, SQLite bypass, cross-section writes | Workflow step 9, and at the end |\n| `scripts\u002Fcheck-reducers.mjs` | Runs the app's settings, progress and session reducers against their rules | Workflow step 9, and at the end |\n| `scripts\u002Flib\u002Fsource-scan.mjs` | Call and selector scanning helpers for check-stores | Never by hand |\n| `scripts\u002Flib\u002Fapp-modules.mjs` | Imports the app's TypeScript modules (Node type stripping, `@e07\u002F*` resolution) | Never by hand |\n| `scripts\u002Flib\u002Ffixture-tree.mjs` | Builds the self-test trees (templates plus one planted bug) | Never by hand |\n| `scripts\u002Fselftest.mjs` | Proves both checkers pass the templates and catch every planted bug | After changing a checker or a template |\n| `scripts\u002Fcheck-lib.mjs` | Shared script helper, synced from the library (do not edit here) | Never by hand |\n| `assets\u002Fshared.json` | Declares the shared files this skill copies in (`check-lib.mjs` and the six `settings-*` store files, synced from the library and identical to settings-and-preferences' copies: edit them there, never here) | When adding a shared file |\n| `tests\u002Ffixtures\u002F` | Planted-bug overlays (`bad-*\u002F` with `EXPECT.txt`) for both checkers | When adding a checker rule |\n\n## Related skills\n\n- `save-persistence-and-migrations` - the SaveService, document schema and SQLite the stores write through.\n- `settings-and-preferences` - the settings fields, S11 rows and the effect of each setting.\n- `daily-and-statistics` - the daily and statistics maths and the run-end recipe.\n- `game-host-integration` - mounting a game, HUD, pause and result flow around the run store.\n- `premium-purchase` - the Premium store and its service.\n- `react-components-and-hooks` - component rules for the hooks that read stores.\n- `tdd-workflow` - the test-first loop for every reducer change.\n",{"name":5,"description":7},"main","5d711936a7299f9bb0c0132bfe99d3b43cfbfb48","skills\u002Fstate-stores","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade","https:\u002F\u002Fgithub.com\u002Fzakariaf","https:\u002F\u002Fzakaria.dev","Seniore Software Engineer","2026-11-05 04:56:14",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add zakariaf\u002Fpocket-arcade --skill state-stores",{"tool":38,"command":39},"bunx","bunx skills add zakariaf\u002Fpocket-arcade --skill state-stores",{"tool":41,"command":42},"pnpm","pnpm dlx skills add zakariaf\u002Fpocket-arcade --skill state-stores","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002FSKILL.md",true,[46,52,58,62,68,72,76,80,84,88,92,96,99,105,109,113,117,121,125,129,133,137,141,145,149,153,157,161,165,169,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,233,237,241,245,249,253,257,261,265,269,273,277,281,285,289,292,296,300,304,308,312,316,320,324,328,332,336,340,344,348,352,356,360,364,368,372,376,380,383,387,390,394,398,402,405,409,413,417,421,425,429],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"assets\u002Fshared.json","ASSET","资产文件",961,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Fassets\u002Fshared.json",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"examples\u002Fuse-display-settings.ts","SCRIPT","脚本",1001,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Fexamples\u002Fuse-display-settings.ts",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"examples\u002Fuse-hint-button.ts",1825,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Fexamples\u002Fuse-hint-button.ts",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fgame-session.md","REFERENCE","参考文档",11416,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Freferences\u002Fgame-session.md",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fstore-pattern.md",17132,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Freferences\u002Fstore-pattern.md",{"path":73,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fcheck-lib.mjs",45444,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Fscripts\u002Fcheck-lib.mjs",{"path":77,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fcheck-reducers.mjs",16233,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Fscripts\u002Fcheck-reducers.mjs",{"path":81,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fcheck-stores.mjs",14734,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Fscripts\u002Fcheck-stores.mjs",{"path":85,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Flib\u002Fapp-modules.mjs",3221,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Fscripts\u002Flib\u002Fapp-modules.mjs",{"path":89,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Flib\u002Ffixture-tree.mjs",1451,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Fscripts\u002Flib\u002Ffixture-tree.mjs",{"path":93,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Flib\u002Fsource-scan.mjs",3566,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Fscripts\u002Flib\u002Fsource-scan.mjs",{"path":97,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":50,"sourceHtmlUrl":98},"scripts\u002Fselftest.mjs","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Fscripts\u002Fselftest.mjs",{"path":100,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":103,"sourceHtmlUrl":104},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fapp\u002Fstores-context.tsx","OTHER","其他",1589,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fapp\u002Fstores-context.tsx",{"path":106,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":107,"sourceHtmlUrl":108},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.test.ts",7141,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.test.ts",{"path":110,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":111,"sourceHtmlUrl":112},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.ts",4646,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.ts",{"path":114,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":115,"sourceHtmlUrl":116},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-store.test.ts",1659,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-store.test.ts",{"path":118,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":119,"sourceHtmlUrl":120},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-store.ts",2356,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-store.ts",{"path":122,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":123,"sourceHtmlUrl":124},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-types.ts",2375,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-types.ts",{"path":126,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":127,"sourceHtmlUrl":128},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Frun-writer.test.ts",3446,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Frun-writer.test.ts",{"path":130,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":131,"sourceHtmlUrl":132},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Frun-writer.ts",2774,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Frun-writer.ts",{"path":134,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":135,"sourceHtmlUrl":136},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fsaved-run.test.ts",3015,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fsaved-run.test.ts",{"path":138,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":139,"sourceHtmlUrl":140},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fsaved-run.ts",4837,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fsaved-run.ts",{"path":142,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":143,"sourceHtmlUrl":144},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fcreate-shell-stores.ts",1051,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fcreate-shell-stores.ts",{"path":146,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":147,"sourceHtmlUrl":148},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.test.ts",4413,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.test.ts",{"path":150,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":151,"sourceHtmlUrl":152},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.ts",4586,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.ts",{"path":154,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":155,"sourceHtmlUrl":156},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-selectors.test.ts",1593,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-selectors.test.ts",{"path":158,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":159,"sourceHtmlUrl":160},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-selectors.ts",2348,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-selectors.ts",{"path":162,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":163,"sourceHtmlUrl":164},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-store.test.tsx",4121,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-store.test.tsx",{"path":166,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":167,"sourceHtmlUrl":168},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-store.ts",1986,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-store.ts",{"path":170,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":171,"sourceHtmlUrl":172},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Frestart-store.test.ts",2963,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Frestart-store.test.ts",{"path":174,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":175,"sourceHtmlUrl":176},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Frestart-store.ts",3105,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Frestart-store.ts",{"path":178,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":179,"sourceHtmlUrl":180},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-reducer.test.ts",4690,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-reducer.test.ts",{"path":182,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":183,"sourceHtmlUrl":184},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-reducer.ts",3258,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-reducer.ts",{"path":186,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":187,"sourceHtmlUrl":188},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-selectors.test.ts",2030,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-selectors.test.ts",{"path":190,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":191,"sourceHtmlUrl":192},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-selectors.ts",1635,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-selectors.ts",{"path":194,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":195,"sourceHtmlUrl":196},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-store.test.ts",3242,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-store.test.ts",{"path":198,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":199,"sourceHtmlUrl":200},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-store.ts",1802,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-store.ts",{"path":202,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":203,"sourceHtmlUrl":204},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-reducer.test.ts",649,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-reducer.test.ts",{"path":206,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":207,"sourceHtmlUrl":208},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-reducer.ts",1113,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-reducer.ts",{"path":210,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":211,"sourceHtmlUrl":212},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-selectors.test.ts",1042,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-selectors.test.ts",{"path":214,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":215,"sourceHtmlUrl":216},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-selectors.ts",625,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-selectors.ts",{"path":218,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":219,"sourceHtmlUrl":220},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-store.test.ts",2059,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-store.test.ts",{"path":222,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":223,"sourceHtmlUrl":224},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-store.ts",1713,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fstats-store.ts",{"path":226,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":227,"sourceHtmlUrl":228},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fupdate-and-publish.test.ts",1783,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fupdate-and-publish.test.ts",{"path":230,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":231,"sourceHtmlUrl":232},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fupdate-and-publish.ts",1422,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fupdate-and-publish.ts",{"path":234,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":235,"sourceHtmlUrl":236},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Ftesting\u002Fcounter-game.ts",1544,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Ftesting\u002Fcounter-game.ts",{"path":238,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":239,"sourceHtmlUrl":240},"templates\u002Fpackages\u002Fshell\u002Fsrc\u002Ftesting\u002Fcreate-test-save.ts",2430,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftemplates\u002Fpackages\u002Fshell\u002Fsrc\u002Ftesting\u002Fcreate-test-save.ts",{"path":242,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":243,"sourceHtmlUrl":244},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-best-overwritten\u002FEXPECT.txt",54,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-best-overwritten\u002FEXPECT.txt",{"path":246,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":247,"sourceHtmlUrl":248},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-best-overwritten\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.ts",4350,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-best-overwritten\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.ts",{"path":250,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":251,"sourceHtmlUrl":252},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-continue-twice\u002FEXPECT.txt",37,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-continue-twice\u002FEXPECT.txt",{"path":254,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":255,"sourceHtmlUrl":256},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-continue-twice\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.ts",4617,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-continue-twice\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.ts",{"path":258,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":259,"sourceHtmlUrl":260},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-hint-every-time\u002FEXPECT.txt",79,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-hint-every-time\u002FEXPECT.txt",{"path":262,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":263,"sourceHtmlUrl":264},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-hint-every-time\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.ts",4514,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-hint-every-time\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.ts",{"path":266,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":267,"sourceHtmlUrl":268},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-hint-ignores-config\u002FEXPECT.txt",77,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-hint-ignores-config\u002FEXPECT.txt",{"path":270,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":271,"sourceHtmlUrl":272},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-hint-ignores-config\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.ts",4705,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-hint-ignores-config\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.ts",{"path":274,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":275,"sourceHtmlUrl":276},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-mutating\u002FEXPECT.txt",51,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-mutating\u002FEXPECT.txt",{"path":278,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":279,"sourceHtmlUrl":280},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-mutating\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-reducer.ts",2789,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-mutating\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-reducer.ts",{"path":282,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":283,"sourceHtmlUrl":284},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-paused-moves\u002FEXPECT.txt",35,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-paused-moves\u002FEXPECT.txt",{"path":286,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":287,"sourceHtmlUrl":288},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-paused-moves\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.ts",4642,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-paused-moves\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.ts",{"path":290,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":267,"sourceHtmlUrl":291},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-take-back-keeps-move\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-take-back-keeps-move\u002FEXPECT.txt",{"path":293,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":294,"sourceHtmlUrl":295},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-take-back-keeps-move\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.ts",4399,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-take-back-keeps-move\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.ts",{"path":297,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":298,"sourceHtmlUrl":299},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-undo-unlimited\u002FEXPECT.txt",71,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-undo-unlimited\u002FEXPECT.txt",{"path":301,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":302,"sourceHtmlUrl":303},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-undo-unlimited\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.ts",4611,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-undo-unlimited\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-reducer.ts",{"path":305,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":306,"sourceHtmlUrl":307},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-volume-unclamped\u002FEXPECT.txt",59,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-volume-unclamped\u002FEXPECT.txt",{"path":309,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":310,"sourceHtmlUrl":311},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-volume-unclamped\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-reducer.ts",2731,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fbad-volume-unclamped\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-reducer.ts",{"path":313,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":314,"sourceHtmlUrl":315},"tests\u002Ffixtures\u002Fcheck-reducers\u002Fgood\u002FREADME.md",405,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-reducers\u002Fgood\u002FREADME.md",{"path":317,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":318,"sourceHtmlUrl":319},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-action-name\u002FEXPECT.txt",63,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-action-name\u002FEXPECT.txt",{"path":321,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":322,"sourceHtmlUrl":323},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-action-name\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-reducer.ts",2767,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-action-name\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-reducer.ts",{"path":325,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":326,"sourceHtmlUrl":327},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-created-twice\u002FEXPECT.txt",102,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-created-twice\u002FEXPECT.txt",{"path":329,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":330,"sourceHtmlUrl":331},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-created-twice\u002Fpackages\u002Fshell\u002Fsrc\u002Fapp\u002Fcreate-shell-app.tsx",380,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-created-twice\u002Fpackages\u002Fshell\u002Fsrc\u002Fapp\u002Fcreate-shell-app.tsx",{"path":333,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":334,"sourceHtmlUrl":335},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-direct-sql\u002FEXPECT.txt",42,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-direct-sql\u002FEXPECT.txt",{"path":337,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":338,"sourceHtmlUrl":339},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-direct-sql\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-store.ts",190,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-direct-sql\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fgame-session-store.ts",{"path":341,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":342,"sourceHtmlUrl":343},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-impure-reducer\u002FEXPECT.txt",55,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-impure-reducer\u002FEXPECT.txt",{"path":345,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":346,"sourceHtmlUrl":347},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-impure-reducer\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.ts",4457,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-impure-reducer\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-reducer.ts",{"path":349,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":350,"sourceHtmlUrl":351},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-no-selector\u002FEXPECT.txt",38,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-no-selector\u002FEXPECT.txt",{"path":353,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":354,"sourceHtmlUrl":355},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-no-selector\u002Fpackages\u002Fshell\u002Fsrc\u002Fscreens\u002Fsettings\u002Fuse-theme-row.ts",182,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-no-selector\u002Fpackages\u002Fshell\u002Fsrc\u002Fscreens\u002Fsettings\u002Fuse-theme-row.ts",{"path":357,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":358,"sourceHtmlUrl":359},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-object-selector\u002FEXPECT.txt",81,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-object-selector\u002FEXPECT.txt",{"path":361,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":362,"sourceHtmlUrl":363},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-object-selector\u002Fpackages\u002Fshell\u002Fsrc\u002Fscreens\u002Flevels\u002Fuse-pack-header.ts",647,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-object-selector\u002Fpackages\u002Fshell\u002Fsrc\u002Fscreens\u002Flevels\u002Fuse-pack-header.ts",{"path":365,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":366,"sourceHtmlUrl":367},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-publish-first\u002FEXPECT.txt",82,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-publish-first\u002FEXPECT.txt",{"path":369,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":370,"sourceHtmlUrl":371},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-publish-first\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-store.ts",1879,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-publish-first\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-store.ts",{"path":373,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":374,"sourceHtmlUrl":375},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-run-end-no-publish\u002FEXPECT.txt",84,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-run-end-no-publish\u002FEXPECT.txt",{"path":377,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":378,"sourceHtmlUrl":379},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-run-end-no-publish\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Frecord-run-end.ts",662,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-run-end-no-publish\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Frecord-run-end.ts",{"path":381,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":374,"sourceHtmlUrl":382},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-run-end-recipe-variable\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-run-end-recipe-variable\u002FEXPECT.txt",{"path":384,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":385,"sourceHtmlUrl":386},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-run-end-recipe-variable\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Frecord-run-end.ts",782,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-run-end-recipe-variable\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Frecord-run-end.ts",{"path":388,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":366,"sourceHtmlUrl":389},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-second-persistence\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-second-persistence\u002FEXPECT.txt",{"path":391,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":392,"sourceHtmlUrl":393},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-second-persistence\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-store.ts",167,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-second-persistence\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fprogress-store.ts",{"path":395,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":396,"sourceHtmlUrl":397},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-shallow-v4\u002FEXPECT.txt",28,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-shallow-v4\u002FEXPECT.txt",{"path":399,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":400,"sourceHtmlUrl":401},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-shallow-v4\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fuse-score.ts",349,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-shallow-v4\u002Fpackages\u002Fshell\u002Fsrc\u002Fgame-host\u002Fuse-score.ts",{"path":403,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":350,"sourceHtmlUrl":404},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-singleton\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-singleton\u002FEXPECT.txt",{"path":406,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":407,"sourceHtmlUrl":408},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-singleton\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-store.ts",282,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-singleton\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fsettings-store.ts",{"path":410,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":411,"sourceHtmlUrl":412},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-untested-reducer\u002FEXPECT.txt",65,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-untested-reducer\u002FEXPECT.txt",{"path":414,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":415,"sourceHtmlUrl":416},"tests\u002Ffixtures\u002Fcheck-stores\u002Fbad-untested-reducer\u002FREMOVE.txt",48,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fbad-untested-reducer\u002FREMOVE.txt",{"path":418,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":419,"sourceHtmlUrl":420},"tests\u002Ffixtures\u002Fcheck-stores\u002Fgood\u002F.claude\u002Fskills\u002Fdemo\u002Fplanted-store.ts",128,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fgood\u002F.claude\u002Fskills\u002Fdemo\u002Fplanted-store.ts",{"path":422,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":423,"sourceHtmlUrl":424},"tests\u002Ffixtures\u002Fcheck-stores\u002Fgood\u002Fapps\u002Fdemo\u002Fios\u002FGenerated\u002Fplanted-store.ts",143,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fgood\u002Fapps\u002Fdemo\u002Fios\u002FGenerated\u002Fplanted-store.ts",{"path":426,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":427,"sourceHtmlUrl":428},"tests\u002Ffixtures\u002Fcheck-stores\u002Fgood\u002FREADME.md",426,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fgood\u002FREADME.md",{"path":430,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":431,"sourceHtmlUrl":432},"tests\u002Ffixtures\u002Fcheck-stores\u002Fgood\u002Fskills\u002Fdemo-skill\u002Ftests\u002Ffixtures\u002Fbad-singleton\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fplanted-store.ts",169,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Fstate-stores\u002Ftests\u002Ffixtures\u002Fcheck-stores\u002Fgood\u002Fskills\u002Fdemo-skill\u002Ftests\u002Ffixtures\u002Fbad-singleton\u002Fpackages\u002Fshell\u002Fsrc\u002Fstores\u002Fplanted-store.ts",[434,441,448,455,460,467],{"skillNo":435,"name":436,"nameZh":6,"description":437,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":438,"categories":439,"keywords":440,"publishedAt":19},"01M7DFK8QE5P9TME3GRJC5716K","unit-and-component-tests","Sets up Jest and writes Pocket Arcade test code - three projects, RNTL 14 async via renderWithShell, root SDK mocks, fakes, fast-check, coverage, Stryker. Use when a test needs the Shell wrapper, a mock or a fake, or Jest fails. Not for the red-green loop (tdd-workflow) or goldens (golden-tests).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Funit-and-component-tests\u002FSKILL.md",[],[],{"skillNo":442,"name":443,"nameZh":6,"description":444,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":445,"categories":446,"keywords":447,"publishedAt":19},"01M7DFK0YRGRX0S7FB79KSKK7F","typescript-and-lint-rules","Enforces Pocket Arcade's strict TypeScript 6 tsconfigs, ESLint 9 flat config, Prettier and size limits. Use when writing or splitting .ts\u002F.tsx or fixing a tsc or lint error. Not for gate wiring (quality-gates), names (naming-conventions) or import zones (architecture-and-boundaries).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript-and-lint-rules\u002FSKILL.md",[],[],{"skillNo":449,"name":450,"nameZh":6,"description":451,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":452,"categories":453,"keywords":454,"publishedAt":19},"01M7DFJZB14VQ3F8A6A5G8D5BY","demo-skill","Builds a demo. Use when testing the pitfall checker.","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Ftroubleshooting-playbook\u002Ftests\u002Ffixtures\u002Fcheck-known-pitfalls\u002Fgood\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[],[],{"skillNo":456,"name":450,"nameZh":6,"description":451,"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},"01M7DFJXMSA9Y9K6DF4CJJ2XPZ","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Ftroubleshooting-playbook\u002Ftests\u002Ffixtures\u002Fcheck-known-pitfalls\u002Fbad-configs\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[],[],{"skillNo":461,"name":462,"nameZh":6,"description":463,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":464,"categories":465,"keywords":466,"publishedAt":19},"01M7DFJKZXFJ7403V3YNE83MBS","troubleshooting-playbook","Diagnoses and fixes Pocket Arcade failures with a catalogue of 300+ known ones (symptom, cause, fix). Use when something errors, crashes, hangs or renders wrong, or an error or log needs explaining. Not for gate setup (quality-gates) or running builds (ios-simulator-build, ios-release-testflight).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Ftroubleshooting-playbook\u002FSKILL.md",[],[],{"skillNo":468,"name":469,"nameZh":6,"description":470,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":471,"categories":472,"keywords":473,"publishedAt":19},"01M7DFJ7FGGWGMV63YW4VT4QPX","toybox-visual-parity","Proves a built Pocket Arcade screen matches its Toybox design screenshot (light\u002Fdark, en\u002Ffa) and drives the fixes: capture, element gates, sheets, sign-off. Use when any screen is built or changed, or for visual parity, design match, screenshot compare. Not for building screens (toybox-screens).","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002Fpocket-arcade\u002Fblob\u002Fmain\u002Fskills\u002Ftoybox-visual-parity\u002FSKILL.md",[],[]]