Generates UI icons, brand marks, adaptive app icons, splash screens, and store art from Skia path data in code. Use when adding icons, logos, or brand art to an Expo app.
Ships in react-native. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Makes every icon and every piece of brand art in an Expo app come from code: UI icons are layers on a
24-unit grid flattened into one Skia path each and shown by <Icon> as tinted native images; one brand
mark (layer data in theme colour roles) draws the in-app tile, the iOS light, dark and tinted icons, the
Android adaptive and themed layers, the splash and the Play icon. Two checkers prove the icon set, the
source bans, the rendered PNGs against each platform's rules, the config wiring and the mark.
<Icon>. No icon font or
vector-icon package, no emoji, no image file or image import in app source (real photos and a
deliberately chosen package go into contracts/app-art.json allow-lists). react-native-svg is fine
for charts and illustrations; a UI icon drawn with it instead of Icon is a review finding (no
import scan can tell the two apart). Why: one rasterized path per icon laid out 4.8x faster than a
canvas per icon, the design owns every glyph, and emoji differ per OS and are read aloud by name.
(no-icon-library, no-emoji, no-image-file)src/ui/icons/icon-paths.ts is generated from design/icon-layers.json by
scripts/art/build-icon-paths.ts, never edited by hand. It carries its // GENERATED by line,
holds exactly the layers' icons and directional list, and every path stays on the 24 grid and in
step with its layers; --check runs in the verify gate. Why: the layers are the design source, and
a hand-edited path drifts silently. (icon-layers-missing, icon-paths-missing,
icon-layers-invalid, generated-header, icon-module-load, icon-set, icon-path-syntax,
icon-path-grid, icon-path-stale)Icon is the only renderer. It rasterizes once per name and pixel size, tints with a theme
colour, is hidden from VoiceOver and TalkBack (the control around it carries the label), and is the
only place raw Image and the right-to-left flip live. Which icons flip is rtl-and-direction's rule
(directional-icons). Why: colour changes never re-rasterize, and no call site can forget a label
or a flip.star-fill under star-edge), each tinted from
the theme; three or more colours make it a picture. Why: an icon is a one-colour mask.BRAND_MARK in
src/ui/icons/brand-mark.ts lives on a 48 grid with 2 units clear at the edges (strokes included),
at most 8 layers, and theme colour roles (never hex); BrandTile, every app icon, the splash and
the store icon draw it. Why: a second drawing drifts on the first redesign, and roles make the mark
follow dark mode and the palette. (brand-mark-missing, brand-mark-shape)drawMark takes the Skia API as a parameter, so the app, the CanvasKit goldens and the Node
scripts run the same code. Why: each canvas costs about 0.18 MB and 2.8 ms to mount, and a Skia
value import breaks the Node scripts.scripts/art/render-app-art.ts and are committed.
iOS: 1024 px, light opaque and full bleed, dark transparent, tinted opaque grayscale, the mark in the
central 62 %. Android: the foreground and the themed monochrome layer on transparency inside the
66 dp safe circle, the background layer opaque. Splash: the mark on transparency; Android 12+ shows
the image at imageWidth dp (at most 288) on a 288 dp icon masked to a 192 dp circle, so the mark
stays within 96 / imageWidth of the image from its centre (0.48 at the default 200). Play: 512 px, opaque, at most 1024 KB. --check runs
in the verify gate. Why: stores and launchers reject or crop art that breaks these, and a re-render
must not change bytes. Hand-made art follows the same platform rules (checked by eye).
(art-missing, art-format, art-light-opaque, art-dark-clear, art-tinted-gray,
art-safe-area, art-android-foreground, art-android-background, art-android-monochrome,
art-splash-clear, art-splash-width, art-store-opaque)expo-splash-screen is installed before its plugin
entry exists. Production iOS uses iosAppearanceIcon(), every variant's Android layers live in
assets/icons/<variant>/ (app-variants-and-environment badges the testing copies), and the splash
is splashPlugin() on the palette's grounds. The checker reads the config as text;
npx expo config --type public per variant is the proof. Why: an unnamed file never ships, and a
plugin entry without its package stops npx expo config. (art-unwired)Icon, tests. An app that cannot take Skia reads "If the app does not use Skia".@shopify/react-native-skia (2.6.2) and
npx expo install expo-splash-screen if missing. Copy from templates/, each to the path its first
line names (JSON files to their path under templates/): design/icon-layers.json,
contracts/app-art.json and its schema, scripts/art/ (build-icon-paths, render-icon-sheet,
render-app-art, app-art-config, app-art-contract, art-cli, load-headless-skia and their tests) and
src/ui/icons/ (icon-paths, icon-raster, icon, brand-mark-art, brand-mark, brand-tile, picture,
mark-paths and their tests). They import the canonical theme (@/theme/*), useDirection
(@/i18n/direction-context) and @test/render-with-providers, which design-system-structure,
rtl-and-direction and unit-and-component-tests create. Nothing to add to jest.setup.ts: its
central Skia mock already covers the rasterizer.icon={(look) => <Icon name="plus" {...look} />}.design/icon-layers.json, node scripts/art/build-icon-paths.ts, then
node scripts/art/render-icon-sheet.ts and look at reports/art/icon-sheet.png.brand-mark.ts with the app's mark; draw empty states with Picture and layer data in
the feature folder.node scripts/art/render-app-art.ts, look at all images at 1024
and 256 px, let app-variants-and-environment redraw the badged development and preview icons,
wire iosAppearanceIcon() and splashPlugin() into app.config.ts, then
npx expo config --type public per variant. Commit the images with the change that drew them.
Uploading store art is outward-facing: stop and ask the developer.npx tsc --noEmit for both programs,
npx eslint <changed paths> --max-warnings 0, npx jest src/ui/icons scripts/art --ci,
node scripts/art/build-icon-paths.ts --check, node scripts/art/render-app-art.ts --check, then
the two checkers below. When multi-package, run each in every app folder. Once per app, put both
--check runs in the verify gate: add "art:check": "node scripts/art/build-icon-paths.ts --check && node scripts/art/render-app-art.ts --check" to package.json scripts and append "art:check"
to verifyExtraSteps in quality-gates.json (quality-gates' rule; a gated file, so the commit
carries the Gate-Change trailer: git-commits-and-reporting).build-icon-paths.ts --check and render-app-art.ts --check exit 0; both are in the app's
verify gate (quality-gates).npx expo config --type public shows the drawn icons per variant and the splash on the palette
grounds; expo-splash-screen is a dependency.--max-warnings 0) and the unit and golden Jest projects pass for the touched code.node ${CLAUDE_SKILL_DIR}/scripts/check-icons.mjs . prints RESULT: PASS (before the app has
an icon set it prints no icon set yet ... and checks only the source bans)node ${CLAUDE_SKILL_DIR}/scripts/check-app-art.mjs . prints RESULT: PASS (expected only
while adopting: SKIP src/theme/theme-types.ts [brand-mark-shape] not yet created (design-system-structure creates it); NOT APPLICABLE until the renderer exists or
contracts/app-art.json declares rendered art: a contract holding only icons allow-lists
does not adopt the pipeline)icon-paths.ts to fix an icon. The next generation overwrites it and the
checker flags it as stale; change the layers and regenerate.Icon or a Picture.@expo/vector-icons because the template had it. Two icon systems, glyphs the design does not
own; draw the icon into the set.<Path> because the screen already draws a chart with it. It
bypasses the set, the tint, the RTL flip and the hidden-from-screen-readers default; use Icon.Icon.Icon.BRAND_MARK and
the palette so the icon, splash and in-app tile stay one design in both schemes.| File | What it is | Read/run when |
|---|---|---|
| references/icon-system.md | Why rasterized paths, the layer model, build pipeline, Icon, sizes, multi-colour glyphs, mirroring, tests, adding an icon, apps without Skia | Workflow step 1 |
| references/icon-catalogue.md | The 19 shipped icons: names, use, flips, layers | Picking or adding an icon |
| references/brand-mark-and-pictures.md | The mark's grid, layers and colour roles, designing a mark, BrandTile, Picture, shared draw code, canvas budget, sprites | Workflow step 5 |
| references/app-icon-and-splash.md | Outputs, the contract, iOS, Android, splash and store rules, the renderer, Expo config and variants, Icon Composer, review | Workflow step 6 |
| references/skia-notes.md | Where Skia runs, headless loading, APIs, declarative drawing, Jest projects, text | Any Skia question |
templates/design/icon-layers.json | The icon source layers (19 neutral icons, the directional list) | Workflow steps 2 and 4 |
templates/contracts/ | app-art.json and its schema: where each image lives, optional images, glyph area, check-icons' allow-lists (an app that needs only the allow-lists keeps just the icons key) | Workflow steps 2 and 6 |
templates/scripts/art/ | build-icon-paths.ts, render-icon-sheet.ts, render-app-art.ts, app-art-config.ts (iosAppearanceIcon, splashPlugin), app-art-contract.ts, art-cli.ts (--help, bad-flag errors, exit codes), load-headless-skia.ts, and their tests | Workflow steps 2, 4 and 6 |
templates/src/ui/icons/ | icon-paths.ts (generated), icon-raster.ts, icon.tsx, brand-mark-art.ts, brand-mark.ts (demo mark), brand-tile.tsx, picture.tsx, mark-paths.tsx, with unit and golden tests | Workflow steps 2, 3 and 5 |
assets/shared.json | The shared files this skill copies in (check-lib, app-modules, the canonical theme types for the fixtures) | When adding a shared file |
scripts/check-icons.mjs | Checker: icon set vs layers (names, directional list, syntax, grid, coverage), generated header, and the icon-library, emoji and image bans in app source | Workflow step 8 |
scripts/check-app-art.mjs | Checker: the rendered PNGs per platform rule, the splash width, the config wiring and dependency, the brand mark | Workflow step 8 |
scripts/lib/ | art-contract.mjs (reads contracts/app-art.json), svg-path.mjs (SVG path reader), icon-coverage.mjs (a path vs its layers, without Skia), app-modules.mjs (synced: imports the app's plain TypeScript) | Never directly |
scripts/check-lib.mjs | Shared script helper, synced from the library (do not edit here) | Never by hand |
scripts/selftest.mjs | Proves both checkers on the templates and planted bugs | After changing a checker |
tests/ | bases/app/ (the fixture app) and fixtures/ (good, pass, bad and error cases; images generated at run time) | When adding a rule |
design-system-structure - the palette and colour roles the icons and the mark use.ui-component-library - the controls that take icons through slots.rtl-and-direction - which icons flip (directional-icons).app-variants-and-environment - per-variant icon folders and the badged testing icons.skia-canvas-rendering - canvases, boards, text on canvases.accessibility-as-code - labels on the controls around icons; decorative canvases.unit-and-component-tests - the central Skia mock; golden-and-snapshot-tests - the golden project.performance-budgets - how many canvases a screen may hold.media-images-and-files - real photos and user images.eas-build-and-submit, ios-release-testflight, android-release-play - the builds and store listings that carry the art.assets/shared.json (opens in a new tab)references/app-icon-and-splash.md (opens in a new tab)references/brand-mark-and-pictures.md (opens in a new tab)references/icon-catalogue.md (opens in a new tab)references/icon-system.md (opens in a new tab)references/skia-notes.md (opens in a new tab)scripts/check-app-art.mjs (opens in a new tab)scripts/check-icons.mjs (opens in a new tab)scripts/check-lib.mjs (opens in a new tab)scripts/lib/app-modules.mjs (opens in a new tab)scripts/lib/art-contract.mjs (opens in a new tab)scripts/lib/icon-coverage.mjs (opens in a new tab)scripts/lib/svg-path.mjs (opens in a new tab)scripts/selftest.mjs (opens in a new tab)templates/contracts/app-art.json (opens in a new tab)templates/contracts/app-art.schema.json (opens in a new tab)templates/design/icon-layers.json (opens in a new tab)templates/scripts/art/app-art-config.test.ts (opens in a new tab)templates/scripts/art/app-art-config.ts (opens in a new tab)templates/scripts/art/app-art-contract.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
expo-icons, skia-paths, app-icon-generation, brand-art, splash-screen
73 skills in this plugin
/accessibility-as-codeEnforces a11y labels, 44pt targets, 200% text, VoiceOver, TalkBack. Use when adding a pressable, swipe or a11y label, text clips when large, contrast fails or Reduce Motion is missed. Not for RTL (rtl-and-direction)./adaptive-layoutLays screens out by window, not device: breakpoints, master-detail panes, readable widths, grids. Use when making screens responsive or for tablets, iPad, foldables, rotation, split screen, orientation lock. Not for tab bars (navigation-and-routing)./admob-ads-and-consentBuilds AdMob ads behind a port - banners, interstitials, rewarded, UMP consent then ATT, pacing, ADS_MODE test IDs. Use when touching ads, consent, ATT, ad IDs or rewarded perks. Not for purchases (in-app-purchases)./analytics-and-consentGates analytics on opt-in consent: no SDK before a yes, typed events without personal data, ATT. Use when adding analytics, events, screen views or a usage-data toggle. Not for crashes (crash-reporting-and-observability)./android-emulator-buildAssembles Release APKs with Gradle on an AVD started by name (pinned JDK and SDK) and inspects them. Use when trying the app on the Android emulator, or Gradle, adb, an AVD or the SDK fails. Not for Play uploads (android-release-play)./android-release-playShips Android App Bundles to Google Play: upload key, Play App Signing, AAB gate, versionCode, tracks, rollout. Use when releasing or signing for Play, or an upload, rollout or version code fails. Not for eas.json (eas-build-and-submit)./react-native:icons-app-icon-and-splashfrom react-native
npx claudepluginhub zakariaf/reactnative-skills --plugin react-nativeOther plugins' skills for the same job