Skip to content
Agentmart
Submit a tool

expo-design-system-scaffolder

Scaffolds Expo / React Native design system components that obey the expo-design-system rules by construction — a variant-driven pressable primitive, a…

Skill by pproenca

IndexedMIT★ 218
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/pproenca-expo-design-system-scaffolder

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Scaffolds Expo / React Native design system components that obey the expo-design-system rules by construction — a variant-driven pressable primitive, a slot-based card surface, a typed text primitive, a labeled form field, a FlashList entity screen, a theme token group, and a Storybook variant catalog. Generated code uses Unistyles v3 variants instead of style props, ref-as-prop, design tokens, built-in accessibility, and web/iOS parity (`_web` hover/focus/cursor on interactive primitives), so it follows expo-design-system without rework. Output is TSX/TS using react-native-unistyles. Trigger whenever the user wants to create, add, generate, or scaffold a new shared UI component, primitive, design token group, or screen for the clinic mobile app — even if they don't mention the design system.

Use cases: design, frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/expo-design-system-scaffolder

What's inside

Skill name
expo-design-system-scaffolder
Description
Scaffolds Expo / React Native design system components that obey the expo-design-system rules by construction — a variant-driven pressable primitive, a slot-based card surface, a typed text primitive, a labeled form field, a FlashList entity screen, a theme token group, and a Storybook variant catalog. Generated code uses Unistyles v3 variants instead of style props, ref-as-prop, design tokens, built-in accessibility, and web/iOS parity (`_web` hover/focus/cursor on interactive primitives), so it follows expo-design-system without rework. Output is TSX/TS using react-native-unistyles. Trigger whenever the user wants to create, add, generate, or scaffold a new shared UI component, primitive, design token group, or screen for the clinic mobile app — even if they don't mention the design system.
License
MIT
Instructions
71 lines in SKILL.md · view on GitHub

Files (13)

  • SKILL.md
  • card-surface.tsx.template · assets/templates/
  • component-index.ts.template · assets/templates/
  • component-story.tsx.template · assets/templates/
  • form-field.tsx.template · assets/templates/
  • list-screen.tsx.template · assets/templates/
  • text-primitive.tsx.template · assets/templates/
  • token-group.ts.template · assets/templates/
  • variant-component.tsx.template · assets/templates/
  • config.json
  • gotchas.md
  • metadata.json
  • conventions.md · references/

SKILL.md (first lines)

# Expo Design System Scaffolder

Parameterized templates that generate Expo / React Native design system components which start
correct instead of being retrofitted. Every template uses Unistyles v3 variants (never a `style`
escape hatch), `ref`-as-prop, design tokens, built-in accessibility, and web/iOS parity (`_web`
hover/focus/cursor on interactive primitives), and cites the
[`expo-design-system`](../../expo-design-system/SKILL.md) rule IDs it satisfies.

## When to Apply

Use this skill when the user wants to:

- **Create or add a new shared component** — a button, card, text, input, or other primitive
- Scaffold a **new screen** that lists a domain entity (appointments, patients, notes)
- Add a **new design token group** (colors, etc.) to the Unistyles theme
- Add a **Storybook story** that catalogs a component's variants
- Start a new feature and want its components to follow the design system from the first commit
- Set up or update the design system **index** so agents discover and reuse existing components before building new ones

## Available Templates

To scaffold: read the template, substitute the placeholders, and write the result under the
design system package (or `app/` for the screen). Placeholders are single-brace identifier tokens
(e.g., `{ComponentName}`); literal TSX and Unistyles braces (e.g., `{ variant }`, `{item.title}`)
stay as-is.

| Template | Generates | Placeholders |
|----------|-----------|--------------|
| [`variant-component.tsx.template`](assets/templates/variant-component.tsx.template) | Pressable primitive with `variant`/`size` variants, press/disabled states, web hover/focus/cursor, accessibility, `ref` prop | `{ComponentName}` `{file_path}` |
| [`card-surface.tsx.template`](assets/templates/card-surface.tsx.template) | Composite surface with `leading`/`trailing`/children slots, `tone`/`inset` variants, elevation token | `{ComponentName}` `{file_path}` |
| [`text-primitive.tsx.template`](assets/templates/text-primitive.tsx.template) | Typed text component with `variant`/`tone`, no raw style, capped font scaling | `{ComponentName}` `{file_path}` |
| [`form-field.tsx.template`](assets/templates/form-field.tsx.template) | Labeled input: controlled/uncontrolled, `ref` prop, error variant, web focus ring, accessibility | `{ComponentName}` `{file_path}` |
| [`list-screen.tsx.template`](assets/templates/list-screen.tsx.template) | Entity list composed from primitives: FlashList, memoized row, web row hover/cursor, safe-area insets | `{ScreenName}` `{Entity}` `{entity}` `{entity_plural}` `{route_path}` `{file_path}` |
| [`token-group.ts.template`](assets/templates/token-group.ts.template) | Raw → semantic → component token group to merge into the Unistyles theme | `{token_group}` `{file_path}` |
| [`component-story.tsx.template`](assets/templates/component-story.tsx.template) | Storybook story rendering every variant side by side | `{ComponentName}` `{file_path}` |
| [`component-index.ts.template`](assets/templates/component-index.ts.template) | The design system's single public entry **and** inventory catalog — agents read it before styling to reuse what exists (reuse-first) | `{file_path}` |

Common placeholders:

- `{ComponentName}` — PascalCase component, e.g. `AppButton`, `AppCard`, `AppText`, `AppTextField`
- `{ScreenName}` — PascalCase screen with a `Screen` suffix, e.g. `AppointmentsScreen`
- `{Entity}` / `{entity}` / `{entity_plural}` — PascalCase, camelCase, and plural, e.g. `Appointment` / `appointment` / `appointments`
- `{route_path}` — route segment pushed for a row, e.g. `appointments`
- `{token_group}` — camelCase token group name, e.g. `statusBadge`
- `{file_path}` — the destination path, written into the header comment

## How to Use

1. Pick the template for what you are building.
2. Choose values for its placeholders (see the table and each template's header comment).
3. Substitute the tokens and write the file under `design_system_dir` (or `app_dir` for the screen).
4. Generate a matching story with `component-story.tsx.template` so the variants are cataloged.
5. Append the new component to the design system index (`component-index.ts.template`) — an `export`
   plus a one-line catalog entry — so the next agent finds and reuses it instead of rebuilding it.
6. Fill in the data layer the screen imports (`use{Entity}List`, the `domain` type) — the scaffold
   owns the view; you own the data.
7. Read [references/conventions.md](references/conventions.md) for the rules each template enforces
   and when to deviate.

## Setup

`config.json` is optional. Override on first use if your project differs:

- `design_system_dir` — design system package source (default `packages/design-system/src`)
- `app_dir` — Expo Router routes directory for the screen template (default `app`)

## Related Skills

- **`expo-design-system`** — the rule pack these templates follow; each generated file cites it.
- **`expo-react-native-coder`** — feature development around the scaffolded components.

From pproenca/dot-skills, MIT.

More from pproenca/dot-skills

Signals

Stars
218
Forks
19
Open issues
3
Last commit (this folder)
Jul 5, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from pproenca

Cite this page

expo-design-system-scaffolder skill. Agent Mart. https://agentmart.dev/skills/pproenca-expo-design-system-scaffolder (last updated 2026-10-24)