[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F2N057RFKB6C42X0HCPYME":3,"skill-same:01M7F2N057RFKB6C42X0HCPYME":548},{"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},"01M7F2N057RFKB6C42X0HCPYME","skia-canvas-rendering",null,"Builds hand-drawn Skia canvases - pure worklet draw() in one Picture, scene clock, timelines, canvas text, goldens. Use when drawing a chart, grid or board, or canvas animation freezes. Not for touch (canvas-gestures-and-hit-testing).","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\u002Fskia-canvas-rendering\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: skia-canvas-rendering\ndescription: Builds hand-drawn Skia canvases - pure worklet draw() in one Picture, scene clock, timelines, canvas text, goldens. Use when drawing a chart, grid or board, or canvas animation freezes. Not for touch (canvas-gestures-and-hit-testing).\n---\n\n# Skia canvas rendering\n\nEvery hand-drawn surface of the app (a progress grid, a chart, an editor, a game board) is one Skia\n`\u003CCanvas>` whose single `\u003CPicture>` is recorded on the UI thread from the surface's pure `draw()`,\nanimated by a timeline that a self-stopping scene clock plays, and proven by unit tests, a draw-call\nbudget and pixel goldens. This skill ships the canvas kit (`src\u002Fcanvas\u002F`), a template surface and two\ncheckers that prove the result.\n\n## Rules that must hold\n\n1. **One `\u003CCanvas>` per surface with one `\u003CPicture>` recorded in `useDerivedValue` from the surface's\n   `draw()`, and every computed picture lives in the kit or a surface folder.** Why: dynamic pictures\n   are Skia's immediate-mode case; one picture per frame keeps cost predictable; a computed canvas\n   elsewhere (a Picture sparkline in `components\u002F`, animated Skia nodes in a child component) escapes\n   every rule below. Retained nodes only for static art: a declarative gradient, blur or fixed shape\n   may live anywhere (sizing it through `onSize` is layout, not motion), and art recorded once\n   (`createPicture`) is listed in the contract's `staticCanvases`. An atlas only for hundreds of sprites.\n2. **`draw(canvas, frame)` is a pure worklet in a `'worklet'` file:** it reads only `frame` (`view`,\n   `fx`, `highlight`, `colors`, `layout`, `kit`), imports Skia types only, allocates no Skia objects,\n   reads no clock or random source, and imports values only from other `'worklet'` modules. Why: the\n   same function then renders on device, in Jest goldens and in Node with identical pixels, and a plain\n   function called on the UI thread crashes at runtime only.\n3. **An opaque canvas paints every pixel first.** `SurfaceCanvas` is opaque by default, so `draw()`\n   starts with `canvas.drawColor(colors.color.background)`; a canvas that must show what lies behind it\n   is declared `\"opaque\": false` in the contract and every `SurfaceHost`\u002F`SurfaceCanvas` rendering it\n   passes a literal `isOpaque={false}`. Why: on Android an opaque canvas is a SurfaceView, neither\n   clipped by a rounded parent nor blended with what lies behind it, so unpainted pixels show black on\n   device while iOS and the goldens look right; the declaration alone changes nothing on screen.\n4. **Push one `scene` shared value per committed change** (`makeScene(seq, view, tracks)`, `startAt:\n   NOT_STARTED`); the frame runner stamps `startAt = info.timestamp` on its first frame. Never use\n   `timeSinceFirstFrame`. Why: Reanimated resets it to 0 on every re-activation, which froze every\n   animation after the first (verified on Reanimated 4.5.1).\n5. **The frame callback runs only while something moves** and its body is one call into\n   `runSceneFrame`, which holds the `try\u002Fcatch`; never Skia's `useClock()` or `withRepeat(…, -1)`. Why:\n   an idle surface must cost nothing (both of those run every frame forever), an uncaught UI-thread\n   error kills the app, and React Compiler bails out of hooks with value blocks inside `try\u002Fcatch`.\n6. **Persist before animating; a new change fast-forwards; only changes committed while the surface is mounted animate.** The store applies and saves, then\n   `presentChange` cancels old cues, pushes the final view and schedules new cues; the change present\n   at mount is shown without animation. Why: killing the app mid-animation must lose nothing, the view\n   is always the final state, and a screen opened again must not replay its last celebration.\n7. **`buildTimeline(events, motion)` is pure and honours `'reduced'`:** half durations, no particles or\n   shake, no overshoot. Why: reduce motion is an accessibility requirement, and as data it is testable.\n8. **An effect layer that is not a tween of something visible (flash, glow, burst, shake) draws only\n   while its track plays (`isPlaying`: `ageMs > 0 && progress \u003C 1`).** Why: a sample holds a track's\n   `from` before it starts, so an unguarded effect shows at full strength at moment 0.\n9. **Selection and hints are UI state the screen passes as `highlight` (`CanvasHighlight`,\n   `EMPTY_HIGHLIGHT`), and a drag preview sits exactly on the hovered cell.** The gesture layer applies\n   the surface's `dragLiftPt` once; draw adds no offset. Why: stores, undo and persistence never see a\n   selection, and the previewed cell must be the cell that receives the drop.\n10. **The layout is a pure worklet of the actual canvas size, shared by draw and hit-testing.** Why:\n   tablets, landscape, foldables and resizable windows need no special case, and draw and touch cannot\n   drift.\n11. **Never pixel-flip.** A surface that opts in (`isMirroredInRtl`) mirrors positions in the layout.\n    Why: `scaleX(-1)` mirrors letters and digits.\n12. **Digits are localised in `toView()` and drawn with `drawText` (`drawFittedText` in a small\n    shape); words and complex scripts use a cached Skia `Paragraph`; widths come from glyph widths;\n    fonts come from the bundled TTF through one `useFonts` provider on both platforms.** Why:\n    `drawText` does no shaping, `measureText` is unimplemented in CanvasKit (Jest, Node), and Skia's\n    Android font manager cannot see fonts embedded with the `expo-font` plugin.\n13. **Paths are built once with `Skia.PathBuilder` at unit size** and placed with\n    `canvas.translate\u002Fscale`. Why: the mutable `SkPath` API is deprecated in Skia 2.6 and allocates.\n14. **Palettes are semantic tokens in sets with identical keys (`light`, `dark`, plus the opt-in sets\n    `contracts\u002Fcanvas-surfaces.json` lists), beside a `canvas-contrast.json` saying which colour sits on\n    which; every declared pair meets WCAG 2.2 AA in every set (text 4.5:1, graphics and shapes 3:1,\n    `distinct` kinds apart under colour-blind simulation); meaning is never carried by colour alone.**\n    Why: a missing token is a crash on one theme only, and contrast is provable only when the pairs are\n    declared and measured; `accessibility-as-code`'s contrast check measures the same file, so its format\n    is stable and the pairs are never declared a second time in `contracts\u002Fcontrast.json`.\n15. **Stop everything when the surface may not run, and switch the clock only through\n    `scene-clock-state`.** `useCanvasLifecycle` (app active, screen focused and not covered) stops\n    the clock, cancels cues and suspends audio; a scene pushed while the surface may not run is held\n    until it may; every resume records at least one frame; a done message names its run, and JS never\n    reads the scene shared value back. Why: an overlay or an unfocused screen that stays mounted must\n    not keep a display link running, no cue or sound may fire once the app leaves the foreground, and a\n    stale done read through `scene.get()` froze the picture after an interruption (the case study in\n    `timeline-and-clock.md`).\n16. **iOS: keep `CADisableMinimumFrameDurationOnPhone` true.** Expo's prebuild template sets it, so a\n    Continuous Native Generation app needs no key; never override it with `false` in the config or a\n    plugin, and committed native folders keep it in `ios\u002F\u003CApp>\u002FInfo.plist`. Why: without it iOS caps\n    the app at 60 fps on ProMotion iPhones. Android needs no key.\n17. **Every canvas is one accessible image:** `accessible`, `accessibilityRole=\"image\"` (or `role=\"img\"`)\n    and `accessibilityLabel` (or `aria-label`) = `t()` of `surface.describe(view)`; a purely decorative\n    canvas opts out explicitly (`accessible={false}`). Why: Skia content is invisible to VoiceOver and\n    TalkBack, labels must be translated, and React Native 0.86 defaults `accessible` to false: iOS\n    ignores the label and role of a view that is not accessible.\n18. **Every surface is proven three ways:** pure unit tests (timeline, clock, layout), a draw-call\n    budget test that also asserts every localised label, and pixel goldens at 3 sizes × moments 0,\n    0.5, 1 with 0.1 % tolerance, accepted only after opening every PNG. Why: a two-digit label is\n    below the golden tolerance, so pixels alone miss it; goldens catch what assertions forget.\n19. **Draw-call budget per surface on the busiest frame, never above 1,000.** Why: counting canvas\n    calls is the headless stand-in for GPU cost; a higher number needs an on-device frame report.\n20. **Server data becomes changes through `useCommittedChange(data, diffEvents)`** with a pure, tested\n    `diffEvents(previous, next)` in the surface folder: the first data and identical refetches animate\n    nothing; an optimistic update and its rollback are two changes. Why: a query has no reducer to\n    return events, and a chart that replays on every refetch is noise.\n\n## Workflow\n\n1. **Decide and classify.** Read [references\u002Farchitecture.md](references\u002Farchitecture.md): draw with\n   Skia only when the picture is computed; pick the kind (timeline: this skill end to end;\n   simulate-then-replay or live: the loop comes from `realtime-game-loop`, palettes and drawing rules\n   from here). A surface that takes touch also needs `canvas-gestures-and-hit-testing` in the same\n   session. A game board: also read [references\u002Fgame-boards.md](references\u002Fgame-boards.md).\n2. **Copy the kit.** Copy `templates\u002Fcontracts\u002Fcanvas-surfaces.json` to `contracts\u002F` and fill in the\n   first surface, then from the repo root run `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-canvas-files.mjs .`:\n   it lists every file to copy. Copy each `kit-file-missing`\n   file verbatim from `templates\u002F` to the path its first line names (`templates\u002Fsrc\u002Fcanvas\u002F**` →\n   `src\u002Fcanvas\u002F`, `templates\u002Fscripts\u002Fquality\u002F**`, `templates\u002Ftest\u002Fgoldens\u002Fskia-golden.ts`), and\n   `templates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.ts` (+ test) → `src\u002Fhooks\u002F` when the app does not have it\n   yet. A `kit-import-unresolved` line names the prerequisite and the skill that creates it (the\n   table in architecture.md). The iOS 120 Hz key comes from Expo's template (`plist-120hz` fails only an\n   override or a committed `Info.plist` without it); the canonical `jest.config.js` has the golden\n   project (`jest-golden-project`).\n3. **Read before writing the surface:** [references\u002Ftimeline-and-clock.md](references\u002Ftimeline-and-clock.md)\n   for `buildTimeline`, the clock and the lifecycle, [references\u002Fdrawing.md](references\u002Fdrawing.md) for\n   `draw()`, the kit, palettes, layout and text, [references\u002Fapi-traps.md](references\u002Fapi-traps.md) for\n   the worklet rules and API traps. Imitate the template surface and\n   [examples\u002Fweekly-chart\u002F](examples\u002Fweekly-chart\u002F).\n4. **Copy the surface templates** from `templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002F` to\n   `src\u002Ffeatures\u002F\u003Cfeature>\u002Fcanvas\u002F`, the golden test and its nine baselines from `templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F`,\n   and the contract's schema (`templates\u002Fcontracts\u002Fcanvas-surfaces.schema.json`). Replace `__FEATURE__`\n   (`tasks`), `__SURFACE__` (kebab, `progress-grid`), `__SURFACE_PASCAL__` and `__SURFACE_CAMEL__` in\n   file names and contents. The copy compiles and passes as is; then adapt the model, the view, the\n   events, the layers, the palettes and the contrast pairs.\n5. **Build test-first, in this order:** palettes and `canvas-contrast.json` → `canvas-model.ts` →\n   `to-view.ts` → `build-timeline.ts` with its test (budget, reduced motion, cues) → `layout-\u003Cid>.ts`\n   with its any-size test → `draw-\u003Cid>.ts` with the budget, moment-0, highlight and label tests →\n   `\u003Cid>-surface.ts` (`isMirroredInRtl`, the `describe` key in every locale catalog, `dragLiftPt` and\n   `targetsOf` when the surface drags or suggests). Run `npx jest src\u002Ffeatures\u002F\u003Cfeature>\u002Fcanvas --ci\n   --selectProjects unit` after each step (paths first: `--selectProjects` would swallow them).\n6. **Wire the screen.** The feature's model hook passes the store's `CommittedChange` (server data:\n   `useCommittedChange(data, diffEvents)`, the timeline reference's server section), the `ViewFormat`,\n   the live `motion`, `useIsFocused()`, `isInterrupted`, the colours, the kit (built once the\n   `useFonts` provider exists, drawing.md) and the highlight to `SurfaceHost` (display-only), or calls\n   `useSurfacePlayer` and renders `SurfaceCanvas` with the gesture layer's `input` (interactive). The\n   label is `t(surface.describe(view))`. A canvas that shows what lies behind it passes\n   `isOpaque={false}` (written out on the element, not through a spread) and declares\n   `\"opaque\": false` in the contract.\n7. **Lint, format and type-check:** `npx eslint --fix src\u002Fcanvas src\u002Ffeatures\u002F\u003Cfeature>\u002Fcanvas test\u002Fgoldens scripts\u002Fquality`,\n   `npx prettier --write` on them (import order and wrapping depend on the names you chose), then\n   `npm run typecheck`.\n8. **Create the pixel goldens deliberately** ([references\u002Ftesting-and-goldens.md](references\u002Ftesting-and-goldens.md)):\n   `npx jest test\u002Fgoldens\u002Fcanvas\u002F\u003Cid>.golden.test.ts --selectProjects golden -u`, open all nine PNGs\n   and compare them with the intended look (moment 0: old geometry, no effect that starts later,\n   labels from the view already final; 0.5 mid-flight; 1 the final view), then\n   `CI=1 npx jest --ci --selectProjects golden`.\n9. **Run the checks:** `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-canvas-code.mjs .` and\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-canvas-files.mjs .`. Fix every `FAIL` line (each names the\n   file, the rule and the fix) and rerun until both print `RESULT: PASS`.\n10. **Look at it for real.** A Release build on a named iOS simulator and a named Android emulator,\n    screenshots in every locale (one RTL locale at least), then the developer confirms 120 Hz and the\n    hitch rate on real phones with a frame-time recorder (simulators are not devices).\n\n## Definition of done\n\n- [ ] The kit is in `src\u002Fcanvas\u002F` with its tests, plus `test\u002Fgoldens\u002Fskia-golden.ts` and the worklet\n      boundary gate in `scripts\u002Fquality\u002F`; `npx jest src\u002Fcanvas scripts\u002Fquality --ci --selectProjects unit` passes.\n- [ ] Each surface folder has palettes (identical tokens in every set) with `canvas-contrast.json`,\n      `to-view.ts`, `build-timeline.ts`, `layout-\u003Cid>.ts`, `draw-\u003Cid>.ts`, `\u003Cid>-surface.ts`, and their\n      tests pass; every pair in `canvas-contrast.json` meets its ratio in every palette set (the\n      contrast rules of `check-canvas-files.mjs`), and no `contracts\u002Fcontrast.json` entry names the\n      surface's palettes (`contrast-declared-once`).\n- [ ] Moment 0 draws no effect that starts later (a draw test and the moment-0 goldens), the\n      highlight is drawn, and a surface with a drag lift draws its preview on the dropped cell.\n- [ ] The draw test asserts that the first call is `drawColor` (or the surface is declared\n      `\"opaque\": false` and every element rendering it passes `isOpaque={false}`); every computed\n      canvas lives in the kit or a surface folder, and no surface file sits outside one.\n- [ ] A server-data surface has `diff-events.ts` with its test and feeds `useCommittedChange`;\n      reopening the screen replays nothing (`use-surface-player.test.ts` passes).\n- [ ] The busiest frame stays within the surface's draw-call budget (≤ 1,000) and every localised\n      label is asserted through the recording canvas.\n- [ ] Nine golden PNGs (3 sizes × 0, 0.5, 1) exist, were opened and looked at, and\n      `CI=1 npx jest --ci --selectProjects golden` passes.\n- [ ] `npm run typecheck` and `npx eslint --max-warnings 0` pass; no `__PLACEHOLDER__` is left.\n- [ ] Reduced motion removes particles, shake and overshoot; every canvas is `accessible` with an\n      image role and a translated `accessibilityLabel` (or opts out as decorative); the surface runs\n      only while the app is active, the screen focused and nothing covers it (no `useClock`, no\n      endless repeat); nothing turns the iOS 120 Hz key off.\n- [ ] `npx jest src\u002Fcanvas\u002Fscene-clock --ci --selectProjects unit` passes (push while paused, resume\n      after done, stale done, and both recorded traces).\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-canvas-code.mjs .` prints `RESULT: PASS`.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-canvas-files.mjs .` prints `RESULT: PASS`.\n\nNeither checker prints SKIP lines. Both print `NOT APPLICABLE` only when no `package.json` declares\n`@shopify\u002Freact-native-skia`, and both stop with exit 2 when a configured `canvasSurfaceDirs` glob\nmatches no surface folder or `contracts\u002Fcanvas-surfaces.json` is malformed.\n\n## Anti-patterns\n\n- **Animating with `timeSinceFirstFrame` or a `t0` stored on JS.** The second change freezes. Stamp\n  `startAt` from `info.timestamp` in the frame runner.\n- **Creating `Skia.Paint()`, `Skia.Color()` or paths inside `draw()` or at module import.** Native\n  allocations every frame, and module scope breaks tests. Build once in the kit (`makeDrawKit`,\n  `buildPaths`); one recorder per canvas via `useState`.\n- **Putting per-frame data in React state or re-rendering a label per frame.** A 120 Hz frame is\n  8.3 ms. Positions live in shared values and the picture; React renders on committed changes.\n- **Storing only \"the change\" in the view and reading old state in `draw()`.** The view is the final\n  state; anything that vanishes carries its own position in a track.\n- **A frame callback that keeps running on an idle surface, on an unfocused screen or under an\n  overlay.** Stop on `onDone(run, seq)` through `finishRun` and through `useCanvasLifecycle`.\n- **Guarding `onDone` with `scene.get().seq` on the JS thread.** Until the UI applies a push, the JS\n  read returns the old scene, so the done of the scene before an interruption stops the next scene on\n  its first frame. Compare runs in `scene-clock-state`.\n- **Starting the clock for a scene pushed while the surface is covered or unfocused.** Its animation\n  plays where nobody sees it; `pushScene` holds it until the surface may run.\n- **Reading Reanimated's `useReducedMotion()` in canvas code.** It reads the setting once at app\n  start, so a later change is missed; pass the live setting as `motion`.\n- **Flipping the canvas with `scaleX: -1` for RTL.** Mirror positions in the layout instead.\n- **Leaving the background unpainted on the default opaque canvas.** iOS and the goldens look fine;\n  Android shows black corners. Start draw with `drawColor`, or pass `isOpaque={false}` and declare it.\n- **Embedding fonts with the `expo-font` plugin and resolving them with `matchFont` or\n  `Skia.FontMgr.System()` for the canvas.** Works on iOS only; Android falls back to a system font.\n  Load the TTF with `useFonts` and pass the provider everywhere.\n- **Presenting the change a screen mounts with, or clearing store events to avoid it.** The player\n  shows the mounted change's final view and animates only later `seq`s.\n- **Setting `structuralSharing: false`, or putting `Date`, `Map`, `Set` or class instances into the\n  query data or `select` result a surface reads.** Only plain JSON keeps its identity across\n  refetches, so each refetch becomes a change and the chart replays.\n- **A computed `\u003CCanvas>` (a `\u003CPicture>`, shared values, draw calls) in `src\u002Fui\u002F` or `components\u002F`,\n  or a surface's files in a folder no surface glob matches.** Make it a surface folder and render it\n  with `SurfaceHost`; a static declarative canvas is fine anywhere.\n- **Animating a canvas with Skia's `useClock()` or `withRepeat(…, -1)`.** The frame loop runs for as\n  long as the canvas is mounted (idle, unfocused, covered); play a timeline through the scene clock.\n- **A canvas with an image role and a label but no `accessible`.** TalkBack may read it, VoiceOver never\n  focuses it; write all three (`SurfaceCanvas` does).\n- **Declaring a surface's colour pairs again in `contracts\u002Fcontrast.json`.** Two tables drift. The pairs\n  live once, in the surface's `canvas-contrast.json`, which this skill and `accessibility-as-code` both\n  measure. If that skill reports `canvas-palettes.json` as an undeclared colour table, update it (drawing.md).\n- **`isRtl && TextDirection.RTL`.** RTL is 0; choose explicitly.\n- **Raising the golden tolerance or re-running `-u` without opening the PNGs.** Fix the code, or\n  accept a deliberate change and say why.\n- **Calling a plain JS helper from `draw()` or `layout()`.** It throws on the UI thread at runtime\n  only; move the helper into a `'worklet'` module (the template's `canvas-ids.ts`).\n- **Asserting small text through pixels.** Use the recording canvas; 0.1 % tolerance cannot see a\n  missing number.\n- **Drawing a flash or glow whenever its entry exists.** It shows at full strength at moment 0; guard\n  it with `isPlaying`.\n- **Offsetting a drag preview in `draw()` (`row - 1`).** The item lands elsewhere and an edge row\n  becomes unreachable; set `dragLiftPt` on the surface and let the gesture layer lift the pointer.\n- **Keeping a selection or hint in the store.** Undo and persistence would see it; the screen passes it\n  as `highlight`.\n- **Measuring text with `measureText`, or drawing golden text without a loaded typeface.** CanvasKit\n  returns `undefined` for the first and draws nothing for the second.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Farchitecture.md](references\u002Farchitecture.md) | When to use Skia, data flow, file map, the kit's public API, the `CanvasSurface` contract, surface kinds, prerequisites and owners, the contract file and config keys, When multi-package | Workflow step 1, before any canvas work |\n| [references\u002Ftimeline-and-clock.md](references\u002Ftimeline-and-clock.md) | Tracks, sampling, `buildTimeline`, the startAt fix, `scene-clock-state`, the frozen-surface case study with its traces, presenter, cues, lifecycle on iOS and Android, the clock trace and canvas-frame probe, 120 Hz | Step 3, before writing a timeline or touching the clock |\n| [references\u002Fdrawing.md](references\u002Fdrawing.md) | `draw()` rules, highlights and effects, kit and palettes, contrast pairs and the colour-blind profile, paths, layout, RTL, text and fonts, particles, atlas, performance, accessibility, the template and the example | Step 3, before writing draw, layout, view or palettes |\n| [references\u002Ftesting-and-goldens.md](references\u002Ftesting-and-goldens.md) | Test levels, the draw-call budget, golden set-up and acceptance, failures, the device-only marker, headless previews, simulators, emulators and the E2E probe | Step 8, and whenever a golden fails |\n| [references\u002Fapi-traps.md](references\u002Fapi-traps.md) | Worklet rules, the SDK 57 API churn table, the re-verify list | Step 3, and when something works in Jest but not on a device |\n| [references\u002Fgame-boards.md](references\u002Fgame-boards.md) | Games appendix: board folders, kinds, Lights Out from the template, selection, hints and drag, recurring needs | Step 1, when the surface is a game board |\n| `templates\u002Fsrc\u002Fcanvas\u002F` | The kit: layout, types, timeline, draw kit, scene, clock decisions (+ the recorded-trace test), frame runner, clock hook, recorder, text, canvas (`isOpaque`), presenter, cues, lifecycle, player, host, server-data change hook, E2E probe, PNG painter, with tests (layout, types, track and sample are canonical synced copies, identical in every skill that carries them) | Step 2 (copy verbatim) |\n| `templates\u002Fsrc\u002Fhooks\u002F` | `use-is-app-active.ts` (+ test): the shared foreground hook the lifecycle reads, a synced copy of the canonical file `react-components-and-hooks` owns; keep the app's copy if it already has one | Step 2 (copy verbatim, unless the app has it) |\n| `templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002F` | The template surface (the Tasks progress grid): palettes, contrast pairs (`canvas-contrast.json`, format 1 in drawing.md), model, ids, view, timeline, layout, draw, surface object, tests | Step 4 |\n| `templates\u002Ftest\u002Fgoldens\u002F` | `skia-golden.ts` (synced canonical matcher), the `__SURFACE__.golden.test.ts` golden and its nine reviewed baselines | Steps 2, 4 and 8 |\n| `templates\u002Fscripts\u002Fquality\u002F` | `check-worklet-boundary.ts` (+ test) and `worklet-transform.test.ts`: the `npm test` gate for `'worklet'` modules | Step 2 (copy verbatim) |\n| `templates\u002Fcontracts\u002F` | `canvas-surfaces.json` (the app's surfaces, kinds, opacity, palette sets, `staticCanvases`) and its JSON schema | Steps 2 and 4 |\n| [examples\u002Fweekly-chart\u002F](examples\u002Fweekly-chart\u002F) | A second, complete surface folder to imitate: a server-fed bar chart with `diff-events.ts`, tweens, a guarded flash, RTL mirroring, two regions, fitted digits, its tests and a golden test that loads the bundled TTF (no baselines: you accept them in step 8) | Steps 3 and 6 |\n| `scripts\u002Fcheck-canvas-code.mjs` | Checks worklets, the frame clock and idle clocks, the worklets API, pure and opaque draw, the opacity contract, per-frame allocation, the Skia API, where computed canvases and surface files live, accessibility, lifecycle, the clock decisions and the reduce-motion source | Step 9 and at the end |\n| `scripts\u002Fcheck-canvas-files.mjs` | Checks kit files and their imports, the layout probe's containment, surface files, palettes, the contrast pairs (measured in every set, never declared again in `contracts\u002Fcontrast.json`), timeline and draw tests, goldens and baselines, the iOS 120 Hz key (no override, committed `Info.plist`), the Jest golden project | Steps 2 and 9 and at the end |\n| `scripts\u002Fselftest.mjs` | Proves both checkers pass the templates and catch each planted bug | After changing a checker or a template |\n| `scripts\u002Flib\u002F` | `canvas-scope.mjs` (kit and surface folders, the contract, declared packages), `canvas-contrast.mjs` (the contrast file's keys, WCAG and colour-blind maths), `source-scan.mjs` (synced: worklet, JSX and import helpers) and `plist.mjs` (synced: reads `Info.plist`) | When changing a checker |\n| `scripts\u002Fcheck-lib.mjs` | The shared script library (synced; never edit here) | Never by hand |\n| `assets\u002Fshared.json` | The shared files this skill copies in | When adding a shared file |\n| `assets\u002Ftemplate-placeholders.json` | The placeholder values the template checks fill in (`tasks`, `progress-grid`) | When renaming the template surface |\n| `tests\u002Fbases\u002Fapp\u002F` | Fixture base beside the templates: stand-ins for files other skills own (`AppText`, `renderWithProviders`, `app.config.ts`, `jest.config.js`), `package.json`, a live surface and the contract | When changing a fixture |\n| `tests\u002Ffixtures\u002F` | One overlay suite per checker: `good\u002F` plus one planted bug per case (`mutation.json` + `EXPECT.txt`) | When adding a rule to a checker |\n\n## Related skills\n\n- `canvas-gestures-and-hit-testing` - touch on the canvas: gestures, hit-testing, drag, the pointer sample (load with this skill for any interactive surface).\n- `networking-and-server-state` - the queries, keys and optimistic updates a server-fed surface reads.\n- `realtime-game-loop` - fixed-step loops, simulate-then-replay and live surfaces.\n- `game-rules-engine` - rules, events and seeded randomness for game boards.\n- `audio-and-haptics-feedback` - the audio and haptics ports the cue scheduler calls.\n- `accessibility-as-code` - contrast and colour-blind checks of the palettes, the live reduce-motion value, per-cell actions.\n- `golden-and-snapshot-tests` - the golden policy and accepting baselines.\n- `performance-budgets` - frame-time recording and on-device budgets.\n- `i18n-strings-and-catalogs` and `rtl-and-direction` - the describe keys, digits and direction.\n- `unit-and-component-tests` - the Jest projects, the Skia unit mock and the device-only marker.\n- `design-system-structure` - the tokens the palettes take their values from, and `AppText`.\n- `e2e-maestro` and `debug-menu-and-test-hooks` - flows that read the canvas probe, and the switch that shows it.\n- `motion-and-animation` - Reanimated animations of ordinary views.\n- `icons-app-icon-and-splash` - code-drawn icons and store art from the same Skia code.\n- `expo-sdk-upgrade` - moving Skia, Reanimated and Worklets to the next SDK.\n","# Skia canvas rendering\n\nEvery hand-drawn surface of the app (a progress grid, a chart, an editor, a game board) is one Skia\n`\u003CCanvas>` whose single `\u003CPicture>` is recorded on the UI thread from the surface's pure `draw()`,\nanimated by a timeline that a self-stopping scene clock plays, and proven by unit tests, a draw-call\nbudget and pixel goldens. This skill ships the canvas kit (`src\u002Fcanvas\u002F`), a template surface and two\ncheckers that prove the result.\n\n## Rules that must hold\n\n1. **One `\u003CCanvas>` per surface with one `\u003CPicture>` recorded in `useDerivedValue` from the surface's\n   `draw()`, and every computed picture lives in the kit or a surface folder.** Why: dynamic pictures\n   are Skia's immediate-mode case; one picture per frame keeps cost predictable; a computed canvas\n   elsewhere (a Picture sparkline in `components\u002F`, animated Skia nodes in a child component) escapes\n   every rule below. Retained nodes only for static art: a declarative gradient, blur or fixed shape\n   may live anywhere (sizing it through `onSize` is layout, not motion), and art recorded once\n   (`createPicture`) is listed in the contract's `staticCanvases`. An atlas only for hundreds of sprites.\n2. **`draw(canvas, frame)` is a pure worklet in a `'worklet'` file:** it reads only `frame` (`view`,\n   `fx`, `highlight`, `colors`, `layout`, `kit`), imports Skia types only, allocates no Skia objects,\n   reads no clock or random source, and imports values only from other `'worklet'` modules. Why: the\n   same function then renders on device, in Jest goldens and in Node with identical pixels, and a plain\n   function called on the UI thread crashes at runtime only.\n3. **An opaque canvas paints every pixel first.** `SurfaceCanvas` is opaque by default, so `draw()`\n   starts with `canvas.drawColor(colors.color.background)`; a canvas that must show what lies behind it\n   is declared `\"opaque\": false` in the contract and every `SurfaceHost`\u002F`SurfaceCanvas` rendering it\n   passes a literal `isOpaque={false}`. Why: on Android an opaque canvas is a SurfaceView, neither\n   clipped by a rounded parent nor blended with what lies behind it, so unpainted pixels show black on\n   device while iOS and the goldens look right; the declaration alone changes nothing on screen.\n4. **Push one `scene` shared value per committed change** (`makeScene(seq, view, tracks)`, `startAt:\n   NOT_STARTED`); the frame runner stamps `startAt = info.timestamp` on its first frame. Never use\n   `timeSinceFirstFrame`. Why: Reanimated resets it to 0 on every re-activation, which froze every\n   animation after the first (verified on Reanimated 4.5.1).\n5. **The frame callback runs only while something moves** and its body is one call into\n   `runSceneFrame`, which holds the `try\u002Fcatch`; never Skia's `useClock()` or `withRepeat(…, -1)`. Why:\n   an idle surface must cost nothing (both of those run every frame forever), an uncaught UI-thread\n   error kills the app, and React Compiler bails out of hooks with value blocks inside `try\u002Fcatch`.\n6. **Persist before animating; a new change fast-forwards; only changes committed while the surface is mounted animate.** The store applies and saves, then\n   `presentChange` cancels old cues, pushes the final view and schedules new cues; the change present\n   at mount is shown without animation. Why: killing the app mid-animation must lose nothing, the view\n   is always the final state, and a screen opened again must not replay its last celebration.\n7. **`buildTimeline(events, motion)` is pure and honours `'reduced'`:** half durations, no particles or\n   shake, no overshoot. Why: reduce motion is an accessibility requirement, and as data it is testable.\n8. **An effect layer that is not a tween of something visible (flash, glow, burst, shake) draws only\n   while its track plays (`isPlaying`: `ageMs > 0 && progress \u003C 1`).** Why: a sample holds a track's\n   `from` before it starts, so an unguarded effect shows at full strength at moment 0.\n9. **Selection and hints are UI state the screen passes as `highlight` (`CanvasHighlight`,\n   `EMPTY_HIGHLIGHT`), and a drag preview sits exactly on the hovered cell.** The gesture layer applies\n   the surface's `dragLiftPt` once; draw adds no offset. Why: stores, undo and persistence never see a\n   selection, and the previewed cell must be the cell that receives the drop.\n10. **The layout is a pure worklet of the actual canvas size, shared by draw and hit-testing.** Why:\n   tablets, landscape, foldables and resizable windows need no special case, and draw and touch cannot\n   drift.\n11. **Never pixel-flip.** A surface that opts in (`isMirroredInRtl`) mirrors positions in the layout.\n    Why: `scaleX(-1)` mirrors letters and digits.\n12. **Digits are localised in `toView()` and drawn with `drawText` (`drawFittedText` in a small\n    shape); words and complex scripts use a cached Skia `Paragraph`; widths come from glyph widths;\n    fonts come from the bundled TTF through one `useFonts` provider on both platforms.** Why:\n    `drawText` does no shaping, `measureText` is unimplemented in CanvasKit (Jest, Node), and Skia's\n    Android font manager cannot see fonts embedded with the `expo-font` plugin.\n13. **Paths are built once with `Skia.PathBuilder` at unit size** and placed with\n    `canvas.translate\u002Fscale`. Why: the mutable `SkPath` API is deprecated in Skia 2.6 and allocates.\n14. **Palettes are semantic tokens in sets with identical keys (`light`, `dark`, plus the opt-in sets\n    `contracts\u002Fcanvas-surfaces.json` lists), beside a `canvas-contrast.json` saying which colour sits on\n    which; every declared pair meets WCAG 2.2 AA in every set (text 4.5:1, graphics and shapes 3:1,\n    `distinct` kinds apart under colour-blind simulation); meaning is never carried by colour alone.**\n    Why: a missing token is a crash on one theme only, and contrast is provable only when the pairs are\n    declared and measured; `accessibility-as-code`'s contrast check measures the same file, so its format\n    is stable and the pairs are never declared a second time in `contracts\u002Fcontrast.json`.\n15. **Stop everything when the surface may not run, and switch the clock only through\n    `scene-clock-state`.** `useCanvasLifecycle` (app active, screen focused and not covered) stops\n    the clock, cancels cues and suspends audio; a scene pushed while the surface may not run is held\n    until it may; every resume records at least one frame; a done message names its run, and JS never\n    reads the scene shared value back. Why: an overlay or an unfocused screen that stays mounted must\n    not keep a display link running, no cue or sound may fire once the app leaves the foreground, and a\n    stale done read through `scene.get()` froze the picture after an interruption (the case study in\n    `timeline-and-clock.md`).\n16. **iOS: keep `CADisableMinimumFrameDurationOnPhone` true.** Expo's prebuild template sets it, so a\n    Continuous Native Generation app needs no key; never override it with `false` in the config or a\n    plugin, and committed native folders keep it in `ios\u002F\u003CApp>\u002FInfo.plist`. Why: without it iOS caps\n    the app at 60 fps on ProMotion iPhones. Android needs no key.\n17. **Every canvas is one accessible image:** `accessible`, `accessibilityRole=\"image\"` (or `role=\"img\"`)\n    and `accessibilityLabel` (or `aria-label`) = `t()` of `surface.describe(view)`; a purely decorative\n    canvas opts out explicitly (`accessible={false}`). Why: Skia content is invisible to VoiceOver and\n    TalkBack, labels must be translated, and React Native 0.86 defaults `accessible` to false: iOS\n    ignores the label and role of a view that is not accessible.\n18. **Every surface is proven three ways:** pure unit tests (timeline, clock, layout), a draw-call\n    budget test that also asserts every localised label, and pixel goldens at 3 sizes × moments 0,\n    0.5, 1 with 0.1 % tolerance, accepted only after opening every PNG. Why: a two-digit label is\n    below the golden tolerance, so pixels alone miss it; goldens catch what assertions forget.\n19. **Draw-call budget per surface on the busiest frame, never above 1,000.** Why: counting canvas\n    calls is the headless stand-in for GPU cost; a higher number needs an on-device frame report.\n20. **Server data becomes changes through `useCommittedChange(data, diffEvents)`** with a pure, tested\n    `diffEvents(previous, next)` in the surface folder: the first data and identical refetches animate\n    nothing; an optimistic update and its rollback are two changes. Why: a query has no reducer to\n    return events, and a chart that replays on every refetch is noise.\n\n## Workflow\n\n1. **Decide and classify.** Read [references\u002Farchitecture.md](references\u002Farchitecture.md): draw with\n   Skia only when the picture is computed; pick the kind (timeline: this skill end to end;\n   simulate-then-replay or live: the loop comes from `realtime-game-loop`, palettes and drawing rules\n   from here). A surface that takes touch also needs `canvas-gestures-and-hit-testing` in the same\n   session. A game board: also read [references\u002Fgame-boards.md](references\u002Fgame-boards.md).\n2. **Copy the kit.** Copy `templates\u002Fcontracts\u002Fcanvas-surfaces.json` to `contracts\u002F` and fill in the\n   first surface, then from the repo root run `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-canvas-files.mjs .`:\n   it lists every file to copy. Copy each `kit-file-missing`\n   file verbatim from `templates\u002F` to the path its first line names (`templates\u002Fsrc\u002Fcanvas\u002F**` →\n   `src\u002Fcanvas\u002F`, `templates\u002Fscripts\u002Fquality\u002F**`, `templates\u002Ftest\u002Fgoldens\u002Fskia-golden.ts`), and\n   `templates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.ts` (+ test) → `src\u002Fhooks\u002F` when the app does not have it\n   yet. A `kit-import-unresolved` line names the prerequisite and the skill that creates it (the\n   table in architecture.md). The iOS 120 Hz key comes from Expo's template (`plist-120hz` fails only an\n   override or a committed `Info.plist` without it); the canonical `jest.config.js` has the golden\n   project (`jest-golden-project`).\n3. **Read before writing the surface:** [references\u002Ftimeline-and-clock.md](references\u002Ftimeline-and-clock.md)\n   for `buildTimeline`, the clock and the lifecycle, [references\u002Fdrawing.md](references\u002Fdrawing.md) for\n   `draw()`, the kit, palettes, layout and text, [references\u002Fapi-traps.md](references\u002Fapi-traps.md) for\n   the worklet rules and API traps. Imitate the template surface and\n   [examples\u002Fweekly-chart\u002F](examples\u002Fweekly-chart\u002F).\n4. **Copy the surface templates** from `templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002F` to\n   `src\u002Ffeatures\u002F\u003Cfeature>\u002Fcanvas\u002F`, the golden test and its nine baselines from `templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F`,\n   and the contract's schema (`templates\u002Fcontracts\u002Fcanvas-surfaces.schema.json`). Replace `__FEATURE__`\n   (`tasks`), `__SURFACE__` (kebab, `progress-grid`), `__SURFACE_PASCAL__` and `__SURFACE_CAMEL__` in\n   file names and contents. The copy compiles and passes as is; then adapt the model, the view, the\n   events, the layers, the palettes and the contrast pairs.\n5. **Build test-first, in this order:** palettes and `canvas-contrast.json` → `canvas-model.ts` →\n   `to-view.ts` → `build-timeline.ts` with its test (budget, reduced motion, cues) → `layout-\u003Cid>.ts`\n   with its any-size test → `draw-\u003Cid>.ts` with the budget, moment-0, highlight and label tests →\n   `\u003Cid>-surface.ts` (`isMirroredInRtl`, the `describe` key in every locale catalog, `dragLiftPt` and\n   `targetsOf` when the surface drags or suggests). Run `npx jest src\u002Ffeatures\u002F\u003Cfeature>\u002Fcanvas --ci\n   --selectProjects unit` after each step (paths first: `--selectProjects` would swallow them).\n6. **Wire the screen.** The feature's model hook passes the store's `CommittedChange` (server data:\n   `useCommittedChange(data, diffEvents)`, the timeline reference's server section), the `ViewFormat`,\n   the live `motion`, `useIsFocused()`, `isInterrupted`, the colours, the kit (built once the\n   `useFonts` provider exists, drawing.md) and the highlight to `SurfaceHost` (display-only), or calls\n   `useSurfacePlayer` and renders `SurfaceCanvas` with the gesture layer's `input` (interactive). The\n   label is `t(surface.describe(view))`. A canvas that shows what lies behind it passes\n   `isOpaque={false}` (written out on the element, not through a spread) and declares\n   `\"opaque\": false` in the contract.\n7. **Lint, format and type-check:** `npx eslint --fix src\u002Fcanvas src\u002Ffeatures\u002F\u003Cfeature>\u002Fcanvas test\u002Fgoldens scripts\u002Fquality`,\n   `npx prettier --write` on them (import order and wrapping depend on the names you chose), then\n   `npm run typecheck`.\n8. **Create the pixel goldens deliberately** ([references\u002Ftesting-and-goldens.md](references\u002Ftesting-and-goldens.md)):\n   `npx jest test\u002Fgoldens\u002Fcanvas\u002F\u003Cid>.golden.test.ts --selectProjects golden -u`, open all nine PNGs\n   and compare them with the intended look (moment 0: old geometry, no effect that starts later,\n   labels from the view already final; 0.5 mid-flight; 1 the final view), then\n   `CI=1 npx jest --ci --selectProjects golden`.\n9. **Run the checks:** `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-canvas-code.mjs .` and\n   `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-canvas-files.mjs .`. Fix every `FAIL` line (each names the\n   file, the rule and the fix) and rerun until both print `RESULT: PASS`.\n10. **Look at it for real.** A Release build on a named iOS simulator and a named Android emulator,\n    screenshots in every locale (one RTL locale at least), then the developer confirms 120 Hz and the\n    hitch rate on real phones with a frame-time recorder (simulators are not devices).\n\n## Definition of done\n\n- [ ] The kit is in `src\u002Fcanvas\u002F` with its tests, plus `test\u002Fgoldens\u002Fskia-golden.ts` and the worklet\n      boundary gate in `scripts\u002Fquality\u002F`; `npx jest src\u002Fcanvas scripts\u002Fquality --ci --selectProjects unit` passes.\n- [ ] Each surface folder has palettes (identical tokens in every set) with `canvas-contrast.json`,\n      `to-view.ts`, `build-timeline.ts`, `layout-\u003Cid>.ts`, `draw-\u003Cid>.ts`, `\u003Cid>-surface.ts`, and their\n      tests pass; every pair in `canvas-contrast.json` meets its ratio in every palette set (the\n      contrast rules of `check-canvas-files.mjs`), and no `contracts\u002Fcontrast.json` entry names the\n      surface's palettes (`contrast-declared-once`).\n- [ ] Moment 0 draws no effect that starts later (a draw test and the moment-0 goldens), the\n      highlight is drawn, and a surface with a drag lift draws its preview on the dropped cell.\n- [ ] The draw test asserts that the first call is `drawColor` (or the surface is declared\n      `\"opaque\": false` and every element rendering it passes `isOpaque={false}`); every computed\n      canvas lives in the kit or a surface folder, and no surface file sits outside one.\n- [ ] A server-data surface has `diff-events.ts` with its test and feeds `useCommittedChange`;\n      reopening the screen replays nothing (`use-surface-player.test.ts` passes).\n- [ ] The busiest frame stays within the surface's draw-call budget (≤ 1,000) and every localised\n      label is asserted through the recording canvas.\n- [ ] Nine golden PNGs (3 sizes × 0, 0.5, 1) exist, were opened and looked at, and\n      `CI=1 npx jest --ci --selectProjects golden` passes.\n- [ ] `npm run typecheck` and `npx eslint --max-warnings 0` pass; no `__PLACEHOLDER__` is left.\n- [ ] Reduced motion removes particles, shake and overshoot; every canvas is `accessible` with an\n      image role and a translated `accessibilityLabel` (or opts out as decorative); the surface runs\n      only while the app is active, the screen focused and nothing covers it (no `useClock`, no\n      endless repeat); nothing turns the iOS 120 Hz key off.\n- [ ] `npx jest src\u002Fcanvas\u002Fscene-clock --ci --selectProjects unit` passes (push while paused, resume\n      after done, stale done, and both recorded traces).\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-canvas-code.mjs .` prints `RESULT: PASS`.\n- [ ] `node ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fcheck-canvas-files.mjs .` prints `RESULT: PASS`.\n\nNeither checker prints SKIP lines. Both print `NOT APPLICABLE` only when no `package.json` declares\n`@shopify\u002Freact-native-skia`, and both stop with exit 2 when a configured `canvasSurfaceDirs` glob\nmatches no surface folder or `contracts\u002Fcanvas-surfaces.json` is malformed.\n\n## Anti-patterns\n\n- **Animating with `timeSinceFirstFrame` or a `t0` stored on JS.** The second change freezes. Stamp\n  `startAt` from `info.timestamp` in the frame runner.\n- **Creating `Skia.Paint()`, `Skia.Color()` or paths inside `draw()` or at module import.** Native\n  allocations every frame, and module scope breaks tests. Build once in the kit (`makeDrawKit`,\n  `buildPaths`); one recorder per canvas via `useState`.\n- **Putting per-frame data in React state or re-rendering a label per frame.** A 120 Hz frame is\n  8.3 ms. Positions live in shared values and the picture; React renders on committed changes.\n- **Storing only \"the change\" in the view and reading old state in `draw()`.** The view is the final\n  state; anything that vanishes carries its own position in a track.\n- **A frame callback that keeps running on an idle surface, on an unfocused screen or under an\n  overlay.** Stop on `onDone(run, seq)` through `finishRun` and through `useCanvasLifecycle`.\n- **Guarding `onDone` with `scene.get().seq` on the JS thread.** Until the UI applies a push, the JS\n  read returns the old scene, so the done of the scene before an interruption stops the next scene on\n  its first frame. Compare runs in `scene-clock-state`.\n- **Starting the clock for a scene pushed while the surface is covered or unfocused.** Its animation\n  plays where nobody sees it; `pushScene` holds it until the surface may run.\n- **Reading Reanimated's `useReducedMotion()` in canvas code.** It reads the setting once at app\n  start, so a later change is missed; pass the live setting as `motion`.\n- **Flipping the canvas with `scaleX: -1` for RTL.** Mirror positions in the layout instead.\n- **Leaving the background unpainted on the default opaque canvas.** iOS and the goldens look fine;\n  Android shows black corners. Start draw with `drawColor`, or pass `isOpaque={false}` and declare it.\n- **Embedding fonts with the `expo-font` plugin and resolving them with `matchFont` or\n  `Skia.FontMgr.System()` for the canvas.** Works on iOS only; Android falls back to a system font.\n  Load the TTF with `useFonts` and pass the provider everywhere.\n- **Presenting the change a screen mounts with, or clearing store events to avoid it.** The player\n  shows the mounted change's final view and animates only later `seq`s.\n- **Setting `structuralSharing: false`, or putting `Date`, `Map`, `Set` or class instances into the\n  query data or `select` result a surface reads.** Only plain JSON keeps its identity across\n  refetches, so each refetch becomes a change and the chart replays.\n- **A computed `\u003CCanvas>` (a `\u003CPicture>`, shared values, draw calls) in `src\u002Fui\u002F` or `components\u002F`,\n  or a surface's files in a folder no surface glob matches.** Make it a surface folder and render it\n  with `SurfaceHost`; a static declarative canvas is fine anywhere.\n- **Animating a canvas with Skia's `useClock()` or `withRepeat(…, -1)`.** The frame loop runs for as\n  long as the canvas is mounted (idle, unfocused, covered); play a timeline through the scene clock.\n- **A canvas with an image role and a label but no `accessible`.** TalkBack may read it, VoiceOver never\n  focuses it; write all three (`SurfaceCanvas` does).\n- **Declaring a surface's colour pairs again in `contracts\u002Fcontrast.json`.** Two tables drift. The pairs\n  live once, in the surface's `canvas-contrast.json`, which this skill and `accessibility-as-code` both\n  measure. If that skill reports `canvas-palettes.json` as an undeclared colour table, update it (drawing.md).\n- **`isRtl && TextDirection.RTL`.** RTL is 0; choose explicitly.\n- **Raising the golden tolerance or re-running `-u` without opening the PNGs.** Fix the code, or\n  accept a deliberate change and say why.\n- **Calling a plain JS helper from `draw()` or `layout()`.** It throws on the UI thread at runtime\n  only; move the helper into a `'worklet'` module (the template's `canvas-ids.ts`).\n- **Asserting small text through pixels.** Use the recording canvas; 0.1 % tolerance cannot see a\n  missing number.\n- **Drawing a flash or glow whenever its entry exists.** It shows at full strength at moment 0; guard\n  it with `isPlaying`.\n- **Offsetting a drag preview in `draw()` (`row - 1`).** The item lands elsewhere and an edge row\n  becomes unreachable; set `dragLiftPt` on the surface and let the gesture layer lift the pointer.\n- **Keeping a selection or hint in the store.** Undo and persistence would see it; the screen passes it\n  as `highlight`.\n- **Measuring text with `measureText`, or drawing golden text without a loaded typeface.** CanvasKit\n  returns `undefined` for the first and draws nothing for the second.\n\n## Files in this skill\n\n| File | What it is | Read\u002Frun when |\n|---|---|---|\n| [references\u002Farchitecture.md](references\u002Farchitecture.md) | When to use Skia, data flow, file map, the kit's public API, the `CanvasSurface` contract, surface kinds, prerequisites and owners, the contract file and config keys, When multi-package | Workflow step 1, before any canvas work |\n| [references\u002Ftimeline-and-clock.md](references\u002Ftimeline-and-clock.md) | Tracks, sampling, `buildTimeline`, the startAt fix, `scene-clock-state`, the frozen-surface case study with its traces, presenter, cues, lifecycle on iOS and Android, the clock trace and canvas-frame probe, 120 Hz | Step 3, before writing a timeline or touching the clock |\n| [references\u002Fdrawing.md](references\u002Fdrawing.md) | `draw()` rules, highlights and effects, kit and palettes, contrast pairs and the colour-blind profile, paths, layout, RTL, text and fonts, particles, atlas, performance, accessibility, the template and the example | Step 3, before writing draw, layout, view or palettes |\n| [references\u002Ftesting-and-goldens.md](references\u002Ftesting-and-goldens.md) | Test levels, the draw-call budget, golden set-up and acceptance, failures, the device-only marker, headless previews, simulators, emulators and the E2E probe | Step 8, and whenever a golden fails |\n| [references\u002Fapi-traps.md](references\u002Fapi-traps.md) | Worklet rules, the SDK 57 API churn table, the re-verify list | Step 3, and when something works in Jest but not on a device |\n| [references\u002Fgame-boards.md](references\u002Fgame-boards.md) | Games appendix: board folders, kinds, Lights Out from the template, selection, hints and drag, recurring needs | Step 1, when the surface is a game board |\n| `templates\u002Fsrc\u002Fcanvas\u002F` | The kit: layout, types, timeline, draw kit, scene, clock decisions (+ the recorded-trace test), frame runner, clock hook, recorder, text, canvas (`isOpaque`), presenter, cues, lifecycle, player, host, server-data change hook, E2E probe, PNG painter, with tests (layout, types, track and sample are canonical synced copies, identical in every skill that carries them) | Step 2 (copy verbatim) |\n| `templates\u002Fsrc\u002Fhooks\u002F` | `use-is-app-active.ts` (+ test): the shared foreground hook the lifecycle reads, a synced copy of the canonical file `react-components-and-hooks` owns; keep the app's copy if it already has one | Step 2 (copy verbatim, unless the app has it) |\n| `templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002F` | The template surface (the Tasks progress grid): palettes, contrast pairs (`canvas-contrast.json`, format 1 in drawing.md), model, ids, view, timeline, layout, draw, surface object, tests | Step 4 |\n| `templates\u002Ftest\u002Fgoldens\u002F` | `skia-golden.ts` (synced canonical matcher), the `__SURFACE__.golden.test.ts` golden and its nine reviewed baselines | Steps 2, 4 and 8 |\n| `templates\u002Fscripts\u002Fquality\u002F` | `check-worklet-boundary.ts` (+ test) and `worklet-transform.test.ts`: the `npm test` gate for `'worklet'` modules | Step 2 (copy verbatim) |\n| `templates\u002Fcontracts\u002F` | `canvas-surfaces.json` (the app's surfaces, kinds, opacity, palette sets, `staticCanvases`) and its JSON schema | Steps 2 and 4 |\n| [examples\u002Fweekly-chart\u002F](examples\u002Fweekly-chart\u002F) | A second, complete surface folder to imitate: a server-fed bar chart with `diff-events.ts`, tweens, a guarded flash, RTL mirroring, two regions, fitted digits, its tests and a golden test that loads the bundled TTF (no baselines: you accept them in step 8) | Steps 3 and 6 |\n| `scripts\u002Fcheck-canvas-code.mjs` | Checks worklets, the frame clock and idle clocks, the worklets API, pure and opaque draw, the opacity contract, per-frame allocation, the Skia API, where computed canvases and surface files live, accessibility, lifecycle, the clock decisions and the reduce-motion source | Step 9 and at the end |\n| `scripts\u002Fcheck-canvas-files.mjs` | Checks kit files and their imports, the layout probe's containment, surface files, palettes, the contrast pairs (measured in every set, never declared again in `contracts\u002Fcontrast.json`), timeline and draw tests, goldens and baselines, the iOS 120 Hz key (no override, committed `Info.plist`), the Jest golden project | Steps 2 and 9 and at the end |\n| `scripts\u002Fselftest.mjs` | Proves both checkers pass the templates and catch each planted bug | After changing a checker or a template |\n| `scripts\u002Flib\u002F` | `canvas-scope.mjs` (kit and surface folders, the contract, declared packages), `canvas-contrast.mjs` (the contrast file's keys, WCAG and colour-blind maths), `source-scan.mjs` (synced: worklet, JSX and import helpers) and `plist.mjs` (synced: reads `Info.plist`) | When changing a checker |\n| `scripts\u002Fcheck-lib.mjs` | The shared script library (synced; never edit here) | Never by hand |\n| `assets\u002Fshared.json` | The shared files this skill copies in | When adding a shared file |\n| `assets\u002Ftemplate-placeholders.json` | The placeholder values the template checks fill in (`tasks`, `progress-grid`) | When renaming the template surface |\n| `tests\u002Fbases\u002Fapp\u002F` | Fixture base beside the templates: stand-ins for files other skills own (`AppText`, `renderWithProviders`, `app.config.ts`, `jest.config.js`), `package.json`, a live surface and the contract | When changing a fixture |\n| `tests\u002Ffixtures\u002F` | One overlay suite per checker: `good\u002F` plus one planted bug per case (`mutation.json` + `EXPECT.txt`) | When adding a rule to a checker |\n\n## Related skills\n\n- `canvas-gestures-and-hit-testing` - touch on the canvas: gestures, hit-testing, drag, the pointer sample (load with this skill for any interactive surface).\n- `networking-and-server-state` - the queries, keys and optimistic updates a server-fed surface reads.\n- `realtime-game-loop` - fixed-step loops, simulate-then-replay and live surfaces.\n- `game-rules-engine` - rules, events and seeded randomness for game boards.\n- `audio-and-haptics-feedback` - the audio and haptics ports the cue scheduler calls.\n- `accessibility-as-code` - contrast and colour-blind checks of the palettes, the live reduce-motion value, per-cell actions.\n- `golden-and-snapshot-tests` - the golden policy and accepting baselines.\n- `performance-budgets` - frame-time recording and on-device budgets.\n- `i18n-strings-and-catalogs` and `rtl-and-direction` - the describe keys, digits and direction.\n- `unit-and-component-tests` - the Jest projects, the Skia unit mock and the device-only marker.\n- `design-system-structure` - the tokens the palettes take their values from, and `AppText`.\n- `e2e-maestro` and `debug-menu-and-test-hooks` - flows that read the canvas probe, and the switch that shows it.\n- `motion-and-animation` - Reanimated animations of ordinary views.\n- `icons-app-icon-and-splash` - code-drawn icons and store art from the same Skia code.\n- `expo-sdk-upgrade` - moving Skia, Reanimated and Worklets to the next SDK.\n",{"name":5,"description":7},"main","41a0e66d4d09de5b46e6537f59a97c7192473486","skills\u002Fskia-canvas-rendering",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 skia-canvas-rendering",{"tool":40,"command":41},"bunx","bunx skills add zakariaf\u002FReactNative-Skills --skill skia-canvas-rendering",{"tool":43,"command":44},"pnpm","pnpm dlx skills add zakariaf\u002FReactNative-Skills --skill skia-canvas-rendering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002FSKILL.md",true,[48,54,58,64,68,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280,284,288,292,296,300,304,308,312,316,320,324,327,331,335,339,343,347,351,355,359,363,367,371,375,379,383,387,391,395,399,403,407,411,415,419,423,427,431,435,439,443,447,451,455,459,463,467,471,475,479,483,487,491,495,499,503,507,511,515,519,523,527,531,534,538,542,545],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"assets\u002Fshared.json","ASSET","资产文件",1214,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fassets\u002Fshared.json",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"assets\u002Ftemplate-placeholders.json",310,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fassets\u002Ftemplate-placeholders.json",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"examples\u002Fweekly-chart\u002Fbuild-timeline.test.ts","SCRIPT","脚本",1616,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fbuild-timeline.test.ts",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"examples\u002Fweekly-chart\u002Fbuild-timeline.ts",1691,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fbuild-timeline.ts",{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"examples\u002Fweekly-chart\u002Fcanvas-contrast.json","REFERENCE","参考文档",204,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fcanvas-contrast.json",{"path":75,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":76,"sourceHtmlUrl":77},"examples\u002Fweekly-chart\u002Fcanvas-model.ts",1250,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fcanvas-model.ts",{"path":79,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":80,"sourceHtmlUrl":81},"examples\u002Fweekly-chart\u002Fcanvas-palettes.json",326,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fcanvas-palettes.json",{"path":83,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":84,"sourceHtmlUrl":85},"examples\u002Fweekly-chart\u002Fcanvas-palettes.ts",382,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fcanvas-palettes.ts",{"path":87,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":88,"sourceHtmlUrl":89},"examples\u002Fweekly-chart\u002Fdiff-events.test.ts",1247,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fdiff-events.test.ts",{"path":91,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":92,"sourceHtmlUrl":93},"examples\u002Fweekly-chart\u002Fdiff-events.ts",715,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fdiff-events.ts",{"path":95,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":96,"sourceHtmlUrl":97},"examples\u002Fweekly-chart\u002Fdraw-chart.test.ts",4152,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fdraw-chart.test.ts",{"path":99,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":100,"sourceHtmlUrl":101},"examples\u002Fweekly-chart\u002Fdraw-chart.ts",4622,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fdraw-chart.ts",{"path":103,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":104,"sourceHtmlUrl":105},"examples\u002Fweekly-chart\u002Flayout-chart.test.ts",1503,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Flayout-chart.test.ts",{"path":107,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":108,"sourceHtmlUrl":109},"examples\u002Fweekly-chart\u002Flayout-chart.ts",1265,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Flayout-chart.ts",{"path":111,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":112,"sourceHtmlUrl":113},"examples\u002Fweekly-chart\u002Fto-view.ts",746,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fto-view.ts",{"path":115,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":116,"sourceHtmlUrl":117},"examples\u002Fweekly-chart\u002Fweekly-chart-surface.ts",951,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fweekly-chart-surface.ts",{"path":119,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002Fweekly-chart\u002Fweekly-chart.golden.test.ts",3701,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fexamples\u002Fweekly-chart\u002Fweekly-chart.golden.test.ts",{"path":123,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fapi-traps.md",10176,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Freferences\u002Fapi-traps.md",{"path":127,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Farchitecture.md",21445,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Freferences\u002Farchitecture.md",{"path":131,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Fdrawing.md",28772,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Freferences\u002Fdrawing.md",{"path":135,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fgame-boards.md",5345,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Freferences\u002Fgame-boards.md",{"path":139,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Ftesting-and-goldens.md",13345,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Freferences\u002Ftesting-and-goldens.md",{"path":143,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":144,"sourceHtmlUrl":145},"references\u002Ftimeline-and-clock.md",25288,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Freferences\u002Ftimeline-and-clock.md",{"path":147,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":148,"sourceHtmlUrl":149},"scripts\u002Fcheck-canvas-code.mjs",62903,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fscripts\u002Fcheck-canvas-code.mjs",{"path":151,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":152,"sourceHtmlUrl":153},"scripts\u002Fcheck-canvas-files.mjs",35838,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fscripts\u002Fcheck-canvas-files.mjs",{"path":155,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":156,"sourceHtmlUrl":157},"scripts\u002Fcheck-lib.mjs",119923,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fscripts\u002Fcheck-lib.mjs",{"path":159,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":160,"sourceHtmlUrl":161},"scripts\u002Flib\u002Fcanvas-contrast.mjs",10742,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fscripts\u002Flib\u002Fcanvas-contrast.mjs",{"path":163,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":164,"sourceHtmlUrl":165},"scripts\u002Flib\u002Fcanvas-scope.mjs",12859,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fscripts\u002Flib\u002Fcanvas-scope.mjs",{"path":167,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":168,"sourceHtmlUrl":169},"scripts\u002Flib\u002Fplist.mjs",10771,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fscripts\u002Flib\u002Fplist.mjs",{"path":171,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":172,"sourceHtmlUrl":173},"scripts\u002Flib\u002Fsource-scan.mjs",35908,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fscripts\u002Flib\u002Fsource-scan.mjs",{"path":175,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":176,"sourceHtmlUrl":177},"scripts\u002Fselftest.mjs",713,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Fscripts\u002Fselftest.mjs",{"path":179,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":180,"sourceHtmlUrl":181},"templates\u002Fcontracts\u002Fcanvas-surfaces.json",188,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fcontracts\u002Fcanvas-surfaces.json",{"path":183,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":184,"sourceHtmlUrl":185},"templates\u002Fcontracts\u002Fcanvas-surfaces.schema.json",2960,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fcontracts\u002Fcanvas-surfaces.schema.json",{"path":187,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":188,"sourceHtmlUrl":189},"templates\u002Fscripts\u002Fquality\u002Fcheck-worklet-boundary.test.ts",2575,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fscripts\u002Fquality\u002Fcheck-worklet-boundary.test.ts",{"path":191,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":192,"sourceHtmlUrl":193},"templates\u002Fscripts\u002Fquality\u002Fcheck-worklet-boundary.ts",4640,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fscripts\u002Fquality\u002Fcheck-worklet-boundary.ts",{"path":195,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":196,"sourceHtmlUrl":197},"templates\u002Fscripts\u002Fquality\u002Fworklet-transform.test.ts",448,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fscripts\u002Fquality\u002Fworklet-transform.test.ts",{"path":199,"resourceType":200,"resourceTypeDesc":201,"sizeBytes":202,"sourceHtmlUrl":203},"templates\u002Fsrc\u002Fcanvas\u002Fcanvas-layout-probe.test.tsx","OTHER","其他",4212,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fcanvas-layout-probe.test.tsx",{"path":205,"resourceType":200,"resourceTypeDesc":201,"sizeBytes":206,"sourceHtmlUrl":207},"templates\u002Fsrc\u002Fcanvas\u002Fcanvas-layout-probe.tsx",5063,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fcanvas-layout-probe.tsx",{"path":209,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":210,"sourceHtmlUrl":211},"templates\u002Fsrc\u002Fcanvas\u002Fcanvas-layout.test.ts",4230,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fcanvas-layout.test.ts",{"path":213,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":214,"sourceHtmlUrl":215},"templates\u002Fsrc\u002Fcanvas\u002Fcanvas-layout.ts",6201,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fcanvas-layout.ts",{"path":217,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":218,"sourceHtmlUrl":219},"templates\u002Fsrc\u002Fcanvas\u002Fcanvas-types.ts",5482,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fcanvas-types.ts",{"path":221,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":222,"sourceHtmlUrl":223},"templates\u002Fsrc\u002Fcanvas\u002Fcue-scheduler.test.ts",2090,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fcue-scheduler.test.ts",{"path":225,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":226,"sourceHtmlUrl":227},"templates\u002Fsrc\u002Fcanvas\u002Fcue-scheduler.ts",1660,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fcue-scheduler.ts",{"path":229,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":230,"sourceHtmlUrl":231},"templates\u002Fsrc\u002Fcanvas\u002Fdescribe-error.test.ts",506,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fdescribe-error.test.ts",{"path":233,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":234,"sourceHtmlUrl":235},"templates\u002Fsrc\u002Fcanvas\u002Fdescribe-error.ts",269,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fdescribe-error.ts",{"path":237,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":238,"sourceHtmlUrl":239},"templates\u002Fsrc\u002Fcanvas\u002Fdraw-kit.test.ts",2592,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fdraw-kit.test.ts",{"path":241,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":242,"sourceHtmlUrl":243},"templates\u002Fsrc\u002Fcanvas\u002Fdraw-kit.ts",2172,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fdraw-kit.ts",{"path":245,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":246,"sourceHtmlUrl":247},"templates\u002Fsrc\u002Fcanvas\u002Fdraw-text.test.ts",3357,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fdraw-text.test.ts",{"path":249,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":250,"sourceHtmlUrl":251},"templates\u002Fsrc\u002Fcanvas\u002Fdraw-text.ts",2708,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fdraw-text.ts",{"path":253,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":254,"sourceHtmlUrl":255},"templates\u002Fsrc\u002Fcanvas\u002Fpaint-surface-png.ts",2215,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fpaint-surface-png.ts",{"path":257,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":258,"sourceHtmlUrl":259},"templates\u002Fsrc\u002Fcanvas\u002Fpresent-change.test.ts",1804,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fpresent-change.test.ts",{"path":261,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":262,"sourceHtmlUrl":263},"templates\u002Fsrc\u002Fcanvas\u002Fpresent-change.ts",1663,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fpresent-change.ts",{"path":265,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":266,"sourceHtmlUrl":267},"templates\u002Fsrc\u002Fcanvas\u002Frecord-picture.test.ts",3091,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Frecord-picture.test.ts",{"path":269,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":270,"sourceHtmlUrl":271},"templates\u002Fsrc\u002Fcanvas\u002Frecord-picture.ts",1895,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Frecord-picture.ts",{"path":273,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":274,"sourceHtmlUrl":275},"templates\u002Fsrc\u002Fcanvas\u002Frun-scene-frame.test.ts",3559,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Frun-scene-frame.test.ts",{"path":277,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":278,"sourceHtmlUrl":279},"templates\u002Fsrc\u002Fcanvas\u002Frun-scene-frame.ts",3082,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Frun-scene-frame.ts",{"path":281,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":282,"sourceHtmlUrl":283},"templates\u002Fsrc\u002Fcanvas\u002Fscene-clock-state.test.ts",5404,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fscene-clock-state.test.ts",{"path":285,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":286,"sourceHtmlUrl":287},"templates\u002Fsrc\u002Fcanvas\u002Fscene-clock-state.ts",6122,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fscene-clock-state.ts",{"path":289,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":290,"sourceHtmlUrl":291},"templates\u002Fsrc\u002Fcanvas\u002Fscene-clock-traces.test.ts",6079,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fscene-clock-traces.test.ts",{"path":293,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":294,"sourceHtmlUrl":295},"templates\u002Fsrc\u002Fcanvas\u002Fscene.test.ts",3274,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fscene.test.ts",{"path":297,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":298,"sourceHtmlUrl":299},"templates\u002Fsrc\u002Fcanvas\u002Fscene.ts",2099,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fscene.ts",{"path":301,"resourceType":200,"resourceTypeDesc":201,"sizeBytes":302,"sourceHtmlUrl":303},"templates\u002Fsrc\u002Fcanvas\u002Fsurface-canvas.test.tsx",4181,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fsurface-canvas.test.tsx",{"path":305,"resourceType":200,"resourceTypeDesc":201,"sizeBytes":306,"sourceHtmlUrl":307},"templates\u002Fsrc\u002Fcanvas\u002Fsurface-canvas.tsx",4221,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fsurface-canvas.tsx",{"path":309,"resourceType":200,"resourceTypeDesc":201,"sizeBytes":310,"sourceHtmlUrl":311},"templates\u002Fsrc\u002Fcanvas\u002Fsurface-host.test.tsx",3337,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fsurface-host.test.tsx",{"path":313,"resourceType":200,"resourceTypeDesc":201,"sizeBytes":314,"sourceHtmlUrl":315},"templates\u002Fsrc\u002Fcanvas\u002Fsurface-host.tsx",1905,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fsurface-host.tsx",{"path":317,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":318,"sourceHtmlUrl":319},"templates\u002Fsrc\u002Fcanvas\u002Ftimeline\u002Fparticles.test.ts",1629,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Ftimeline\u002Fparticles.test.ts",{"path":321,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":322,"sourceHtmlUrl":323},"templates\u002Fsrc\u002Fcanvas\u002Ftimeline\u002Fparticles.ts",2746,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Ftimeline\u002Fparticles.ts",{"path":325,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":326},"templates\u002Fsrc\u002Fcanvas\u002Ftimeline\u002Fsample.test.ts","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Ftimeline\u002Fsample.test.ts",{"path":328,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":329,"sourceHtmlUrl":330},"templates\u002Fsrc\u002Fcanvas\u002Ftimeline\u002Fsample.ts",3368,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Ftimeline\u002Fsample.ts",{"path":332,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":333,"sourceHtmlUrl":334},"templates\u002Fsrc\u002Fcanvas\u002Ftimeline\u002Ftrack.ts",1997,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Ftimeline\u002Ftrack.ts",{"path":336,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":337,"sourceHtmlUrl":338},"templates\u002Fsrc\u002Fcanvas\u002Fuse-canvas-lifecycle.test.ts",2510,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fuse-canvas-lifecycle.test.ts",{"path":340,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":341,"sourceHtmlUrl":342},"templates\u002Fsrc\u002Fcanvas\u002Fuse-canvas-lifecycle.ts",1943,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fuse-canvas-lifecycle.ts",{"path":344,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":345,"sourceHtmlUrl":346},"templates\u002Fsrc\u002Fcanvas\u002Fuse-committed-change.test.ts",2821,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fuse-committed-change.test.ts",{"path":348,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":349,"sourceHtmlUrl":350},"templates\u002Fsrc\u002Fcanvas\u002Fuse-committed-change.ts",2367,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fuse-committed-change.ts",{"path":352,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":353,"sourceHtmlUrl":354},"templates\u002Fsrc\u002Fcanvas\u002Fuse-scene-clock.ts",6377,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fuse-scene-clock.ts",{"path":356,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":357,"sourceHtmlUrl":358},"templates\u002Fsrc\u002Fcanvas\u002Fuse-surface-player.test.ts",6195,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fuse-surface-player.test.ts",{"path":360,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":361,"sourceHtmlUrl":362},"templates\u002Fsrc\u002Fcanvas\u002Fuse-surface-player.ts",7433,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fcanvas\u002Fuse-surface-player.ts",{"path":364,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":365,"sourceHtmlUrl":366},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002F__SURFACE__-surface.test.ts",1066,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002F__SURFACE__-surface.test.ts",{"path":368,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":369,"sourceHtmlUrl":370},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002F__SURFACE__-surface.ts",1841,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002F__SURFACE__-surface.ts",{"path":372,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":373,"sourceHtmlUrl":374},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fbuild-timeline.test.ts",2120,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fbuild-timeline.test.ts",{"path":376,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":377,"sourceHtmlUrl":378},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fbuild-timeline.ts",3335,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fbuild-timeline.ts",{"path":380,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":381,"sourceHtmlUrl":382},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-contrast.json",218,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-contrast.json",{"path":384,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":385,"sourceHtmlUrl":386},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-ids.test.ts",395,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-ids.test.ts",{"path":388,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":389,"sourceHtmlUrl":390},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-ids.ts",493,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-ids.ts",{"path":392,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":393,"sourceHtmlUrl":394},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-model.ts",1179,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-model.ts",{"path":396,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":397,"sourceHtmlUrl":398},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-palettes.json",418,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-palettes.json",{"path":400,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":401,"sourceHtmlUrl":402},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-palettes.ts",482,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fcanvas-palettes.ts",{"path":404,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":405,"sourceHtmlUrl":406},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fdraw-__SURFACE__.test.ts",5097,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fdraw-__SURFACE__.test.ts",{"path":408,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":409,"sourceHtmlUrl":410},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fdraw-__SURFACE__.ts",6910,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fdraw-__SURFACE__.ts",{"path":412,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":413,"sourceHtmlUrl":414},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Flayout-__SURFACE__.test.ts",2136,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Flayout-__SURFACE__.test.ts",{"path":416,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":417,"sourceHtmlUrl":418},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Flayout-__SURFACE__.ts",838,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Flayout-__SURFACE__.ts",{"path":420,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":421,"sourceHtmlUrl":422},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fto-view.test.ts",1295,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fto-view.test.ts",{"path":424,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":425,"sourceHtmlUrl":426},"templates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fto-view.ts",873,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Ffeatures\u002F__FEATURE__\u002Fcanvas\u002Fto-view.ts",{"path":428,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":429,"sourceHtmlUrl":430},"templates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.test.ts",2830,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.test.ts",{"path":432,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":433,"sourceHtmlUrl":434},"templates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.ts",1501,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Fsrc\u002Fhooks\u002Fuse-is-app-active.ts",{"path":436,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":437,"sourceHtmlUrl":438},"templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-phone-portrait-0.5.png",13138,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-phone-portrait-0.5.png",{"path":440,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":441,"sourceHtmlUrl":442},"templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-phone-portrait-0.png",7715,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-phone-portrait-0.png",{"path":444,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":445,"sourceHtmlUrl":446},"templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-phone-portrait-1.png",8765,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-phone-portrait-1.png",{"path":448,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":449,"sourceHtmlUrl":450},"templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-small-0.5.png",10128,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-small-0.5.png",{"path":452,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":453,"sourceHtmlUrl":454},"templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-small-0.png",5810,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-small-0.png",{"path":456,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":457,"sourceHtmlUrl":458},"templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-small-1.png",6571,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-small-1.png",{"path":460,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":461,"sourceHtmlUrl":462},"templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-tablet-landscape-0.5.png",33731,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-tablet-landscape-0.5.png",{"path":464,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":465,"sourceHtmlUrl":466},"templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-tablet-landscape-0.png",20820,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-tablet-landscape-0.png",{"path":468,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":469,"sourceHtmlUrl":470},"templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-tablet-landscape-1.png",24041,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__image_snapshots__\u002F__SURFACE__-tablet-landscape-1.png",{"path":472,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":473,"sourceHtmlUrl":474},"templates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__SURFACE__.golden.test.ts",3262,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fcanvas\u002F__SURFACE__.golden.test.ts",{"path":476,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":477,"sourceHtmlUrl":478},"templates\u002Ftest\u002Fgoldens\u002Fskia-golden.ts",686,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftemplates\u002Ftest\u002Fgoldens\u002Fskia-golden.ts",{"path":480,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":481,"sourceHtmlUrl":482},"tests\u002Fbases\u002Fapp\u002Fapp.config.ts",503,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Fapp.config.ts",{"path":484,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":485,"sourceHtmlUrl":486},"tests\u002Fbases\u002Fapp\u002Fcontracts\u002Fcanvas-surfaces.json",267,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Fcontracts\u002Fcanvas-surfaces.json",{"path":488,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":489,"sourceHtmlUrl":490},"tests\u002Fbases\u002Fapp\u002Fjest.config.js",480,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Fjest.config.js",{"path":492,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":493,"sourceHtmlUrl":494},"tests\u002Fbases\u002Fapp\u002Fpackage.json",559,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Fpackage.json",{"path":496,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":497,"sourceHtmlUrl":498},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftimer\u002Fcanvas\u002Fcanvas-contrast.json",99,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftimer\u002Fcanvas\u002Fcanvas-contrast.json",{"path":500,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":501,"sourceHtmlUrl":502},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftimer\u002Fcanvas\u002Fcanvas-palettes.json",120,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftimer\u002Fcanvas\u002Fcanvas-palettes.json",{"path":504,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":505,"sourceHtmlUrl":506},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftimer\u002Fcanvas\u002Fcanvas-palettes.ts",294,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftimer\u002Fcanvas\u002Fcanvas-palettes.ts",{"path":508,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":509,"sourceHtmlUrl":510},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftimer\u002Fcanvas\u002Fdraw-timer.ts",839,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftimer\u002Fcanvas\u002Fdraw-timer.ts",{"path":512,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":513,"sourceHtmlUrl":514},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftimer\u002Fsim\u002Ftimer-sim.ts",251,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Ffeatures\u002Ftimer\u002Fsim\u002Ftimer-sim.ts",{"path":516,"resourceType":200,"resourceTypeDesc":201,"sizeBytes":517,"sourceHtmlUrl":518},"tests\u002Fbases\u002Fapp\u002Fsrc\u002Fui\u002Fapp-text.tsx",290,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Fsrc\u002Fui\u002Fapp-text.tsx",{"path":520,"resourceType":200,"resourceTypeDesc":201,"sizeBytes":521,"sourceHtmlUrl":522},"tests\u002Fbases\u002Fapp\u002Ftest\u002Frender-with-providers.tsx",299,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Ftest\u002Frender-with-providers.tsx",{"path":524,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":525,"sourceHtmlUrl":526},"tests\u002Fbases\u002Fapp\u002Ftsconfig.json",112,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Fbases\u002Fapp\u002Ftsconfig.json",{"path":528,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":529,"sourceHtmlUrl":530},"tests\u002Ffixtures\u002Fcheck-canvas-code\u002FCASES.json",71025,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Ffixtures\u002Fcheck-canvas-code\u002FCASES.json",{"path":532,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":14,"sourceHtmlUrl":533},"tests\u002Ffixtures\u002Fcheck-canvas-code\u002Fgood\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Ffixtures\u002Fcheck-canvas-code\u002Fgood\u002FEXPECT.txt",{"path":535,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":536,"sourceHtmlUrl":537},"tests\u002Ffixtures\u002Fcheck-canvas-code\u002FSUITE.json",296,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Ffixtures\u002Fcheck-canvas-code\u002FSUITE.json",{"path":539,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":540,"sourceHtmlUrl":541},"tests\u002Ffixtures\u002Fcheck-canvas-files\u002FCASES.json",27912,"https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Ffixtures\u002Fcheck-canvas-files\u002FCASES.json",{"path":543,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":14,"sourceHtmlUrl":544},"tests\u002Ffixtures\u002Fcheck-canvas-files\u002Fgood\u002FEXPECT.txt","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Ffixtures\u002Fcheck-canvas-files\u002Fgood\u002FEXPECT.txt",{"path":546,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":536,"sourceHtmlUrl":547},"tests\u002Ffixtures\u002Fcheck-canvas-files\u002FSUITE.json","https:\u002F\u002Fgithub.com\u002Fzakariaf\u002FReactNative-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fskia-canvas-rendering\u002Ftests\u002Ffixtures\u002Fcheck-canvas-files\u002FSUITE.json",[549,556,562,569,576,583],{"skillNo":550,"name":551,"nameZh":6,"description":552,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":553,"categories":554,"keywords":555,"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":557,"name":551,"nameZh":6,"description":558,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":559,"categories":560,"keywords":561,"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":563,"name":564,"nameZh":6,"description":565,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":566,"categories":567,"keywords":568,"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":570,"name":571,"nameZh":6,"description":572,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":573,"categories":574,"keywords":575,"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":577,"name":578,"nameZh":6,"description":579,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":580,"categories":581,"keywords":582,"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":584,"name":585,"nameZh":6,"description":586,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":587,"categories":588,"keywords":589,"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",[],[]]