eas-observe — скилл для Claude Code: метрики EAS Observe
Помогает подключить expo-observe к Expo-приложению, снять метрики запуска и навигации через EAS CLI и разобрать медленный старт.
npx skills add expo/skills --skill eas-observe -a claude-codeЧто делает eas-observe
Скилл ведёт по четырём справочникам: установка expo-observe в проект, запросы метрик из терминала, чтение вывода и интеграция Observe внутрь сторонней библиотеки. В setup описано, как обернуть корневой layout (AppMetricsRoot на SDK 55, ObserveRoot на SDK 56+), отметить приложение интерактивным через markInteractive() или хук useObserve(), добавить события Observe.logEvent, отчёты об ошибках и нативную отправку крашей.
Для запросов есть команды eas observe:metrics-summary, observe:metrics, observe:routes, observe:events, observe:session, observe:versions, observe:errors и observe:event — с флагами, алиасами метрик и форматами JSON. Отдельный справочник объясняет пороги и параметры TTI (frameRate.*, device.*, network.*), чтобы отличить плавный, но медленный старт от блокировки главного потока.
EAS Observe — платный сервис Expo: бесплатный план допускает до 10 000 активных пользователей в месяц с урезанным набором функций, дальше нужна подписка. Нативная библиотека не входит в Expo Go, поэтому потребуется development- или production-сборка. Скилл ставится в Claude, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode.
Какие задачи решает
- подключить expo-observe к Expo-проекту и обернуть корневой layout
- отметить момент, когда приложение стало интерактивным
- снять метрики запуска и навигации из терминала
- разобрать, почему старт медленный: частота кадров, устройство или сеть
- добавить свои события и отчёты об ошибках
Примеры запросов агенту
- Подключи expo-observe к проекту и оберни корневой layout
- Покажи метрики запуска за последнюю сессию через
eas observe:metrics-summary - Почему у части устройств медленный TTI? Разбери параметры frameRate и network
Как установить eas-observe
1Через Skills CLI (Vercel)
npx skills add expo/skills --skill eas-observe -a claude-code2Вручную: положить файлы
~/.claude/skills/eas-observe/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/eas-observe/
1Через Skills CLI (Vercel)
npx skills add expo/skills --skill eas-observe -a codex2Вручную: положить файлы
.agents/skills/eas-observe/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add expo/skills --skill eas-observe -a cursor2Вручную: положить файлы
.cursor/skills/eas-observe/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install expo/skills eas-observe2Вручную: положить файлы
.github/skills/eas-observe/SKILL.md1Через Skills CLI (Vercel)
npx skills add expo/skills --skill eas-observe -a gemini-cli2Командой платформы
gemini skills install https://github.com/expo/skills --path plugins/expo/skills/eas-observeВручную: положить файлы
.devin/skills/eas-observe/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add expo/skills --skill eas-observe -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о eas-observe
Как установить eas-observe в Claude Code?
Выполните npx skills add expo/skills --skill eas-observe -a claude-code, затем проверьте, что файл появился по пути ~/.claude/skills/eas-observe/SKILL.md.
Что делает eas-observe?
Проводит по подключению expo-observe к Expo-приложению, запросам метрик через eas observe:* и чтению результатов — от холодного и тёплого запуска до TTR, TTI и загрузки обновлений.
Нужен ли платный план EAS?
EAS Observe — платный сервис Expo. Бесплатный план даёт до 10 000 активных пользователей в месяц и ограниченный набор функций, дальше требуется подписка.
Заработает ли это в Expo Go?
Нет, нативная библиотека в Expo Go отсутствует. Нужна development- или production-сборка.
Исходный текст
SKILL.md · MIT
--- name: eas-observe description: Use for anything related to EAS Observe - adding `expo-observe` to an Expo project (AppMetricsRoot/ObserveRoot HOC, markInteractive and ObserveInteractiveMarker, the useObserve hook, the Expo Router / React Navigation integrations for per-route metrics, user-defined events via `Observe.logEvent`, error reporting via ObserveErrorBoundary and `Observe.reportError`, native crash reporting, source map upload for symbolicated stack traces, and runtime config such as sampleRate and dispatchInDebug), querying via the EAS CLI (`eas observe:metrics-summary`, `observe:metrics`, `observe:routes`, `observe:events`, `observe:session`, `observe:versions`, `observe:errors`, `observe:event`), interpreting the resulting metrics (cold/warm launch, TTR, TTI, navigation cold/warm TTR, update download, and the TTI frameRate/device/network params for triaging slow startups), or shipping an Observe integration inside a third-party package. version: 1.2.1 license: MIT --- # EAS Observe > **EAS service - costs apply.** EAS Observe is an Expo Application Services product. The free EAS plan allows up to 10,000 monthly active users, with a limited set of features; higher usage requires a paid subscription. For details, see https://expo.dev/pricing#plan-features. EAS Observe tracks startup, navigation, and custom-event performance from production Expo apps, and records JavaScript errors and native crashes. It needs a development or production build — the native library is not in Expo Go. > **Source of truth:** https://docs.expo.dev/eas/observe/ — always consult the canonical docs when API details matter, especially get-started, configuration, integrations, and the metrics reference. EAS Observe is evolving; this skill's references are written to stay accurate but may lag the docs. ## Which reference to read The four reference files in `./references/` cover what people typically need this skill for: - **Adding EAS Observe to a project** → [`./references/setup.md`](./references/setup.md). Install, wrap the root layout (`AppMetricsRoot` on SDK 55, `ObserveRoot` on SDK 56+), mark the app interactive (global `markInteractive()` on SDK 55, the `useObserve()` hook or `<ObserveInteractiveMarker />` on SDK 56+), optional per-route navigation metrics through the Expo Router / React Navigation integrations, user-defined events via `Observe.logEvent` (SDK 56+), error reporting, and runtime configuration (sampling, dispatch, environments, custom endpoint). - **Querying metrics from the terminal** → [`./references/queries.md`](./references/queries.md). The `eas observe:*` commands — `metrics-summary`, `metrics`, `routes`, `events`, `session`, `versions`, `errors`, `event` — with flags, metric aliases, table layouts, JSON shapes, and common workflows. - **Reading a dashboard or CLI output** → [`./references/metrics.md`](./references/metrics.md). Target thresholds per metric, what the automatic TTI params mean (`frameRate.*`, `device.*`, `network.*`), and diagnostic patterns for telling slow-but-smooth startup apart from main-thread contention, hard blocks, or throttled devices. - **Shipping an Observe integration in a library** → [`./references/third-party.md`](./references/third-party.md). For package authors only (SDK 57+): optional peer dependency, config declaration merging, `Observe.registerIntegration()`, and event naming. ## Quick links to the docs - Get started: https://docs.expo.dev/eas/observe/get-started/ - Dashboard guide: https://docs.expo.dev/eas/observe/dashboard/ - Querying with EAS CLI: https://docs.expo.dev/eas/observe/eas-cli/ - Metrics reference: https://docs.expo.dev/eas/observe/reference/metrics/ - Expo Router integration: https://docs.expo.dev/eas/observe/integrations/expo-router/ - React Navigation integration: https://docs.expo.dev/eas/observe/integrations/react-navigation/ - User-defined events: https://docs.expo.dev/eas/observe/events/ - Error reporting: https://docs.expo.dev/eas/observe/errors/ - Configuration: https://docs.expo.dev/eas/observe/configuration/ - Third-party integrations: https://docs.expo.dev/eas/observe/integrations/third-party/ - EAS Update download performance: https://docs.expo.dev/eas/observe/eas-update/ - Troubleshooting: https://docs.expo.dev/eas/observe/reference/troubleshooting/ ## Submitting Feedback If you encounter errors, misleading or outdated information in this skill, report it so Expo can improve: ```bash npx --yes @expo/agent-cli@latest feedback --category skills --subject "eas-observe" "<actionable feedback>" ``` Only submit when you have something specific and actionable to report. Include as much relevant context as possible. If an agent repeatedly fails at an Expo task or the user has to step in, submit a brief report of the task, expected result, and what went wrong using `--category evals` and the relevant Expo package or command as `--subject`.
© expo · MIT · expo/skills