Agent Skillsexpo/skills › eas-observe

eas-observe

GitHub

EAS Observe 技能,用于在 Expo 项目中集成性能监控 SDK、通过 CLI 查询生产指标及解读数据。涵盖启动/导航性能追踪、自定义事件上报、错误边界配置及第三方库集成,辅助开发者诊断应用性能瓶颈。

plugins/expo/skills/eas-observe/SKILL.md expo/skills

Trigger Scenarios

需要在 Expo 项目中集成 EAS Observe 进行性能监控 使用 eas observe CLI 命令查询或分析应用性能指标

Install

npx skills add expo/skills --skill eas-observe -g -y
More Options

Non-standard path

npx skills add https://github.com/expo/skills/tree/main/plugins/expo/skills/eas-observe -g -y

Use without installing

npx skills use expo/skills@eas-observe

指定 Agent (Claude Code)

npx skills add expo/skills --skill eas-observe -a claude-code -g -y

安装 repo 全部 skill

npx skills add expo/skills --all -g -y

预览 repo 内 skill

npx skills add expo/skills --list

SKILL.md

Frontmatter
{
    "name": "eas-observe",
    "license": "MIT",
    "version": "1.1.0",
    "description": "EAS service (paid). 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`, 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`), 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."
}

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. 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. 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. The six eas observe:* commands — metrics-summary, metrics, routes, events, session, versions — with flags, metric aliases, table layouts, JSON shapes, and common workflows.
  • Reading a dashboard or CLI output./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. For package authors only (SDK 57+): optional peer dependency, config declaration merging, Observe.registerIntegration(), and event naming.

Quick links to the docs

Known gaps between the docs and the shipped code

Verified against eas-cli 21.8.0 and expo-observe 57.0.9. Trust this skill's references over the docs on these points, but re-check with --help and the installed package before relying on them:

  • All six CLI commands are on the Querying with EAS CLI page. Older doc builds list only four and omit observe:routes and observe:session.
  • Navigation metric aliases are nav_cold_ttr, nav_warm_ttr, and nav_tti. There are no bare cold_ttr / warm_ttr aliases in the CLI.
  • Sorting uses --sort <slowest|fastest|newest|oldest>. There is no --order flag.
  • ObserveErrorBoundary, Observe.reportError, and configure({ errorHandlingEnabled }) are exported but undocumented. Observe still has no crash reporting; use Sentry or BugSnag for that.

Submitting Feedback

If you encounter errors, misleading or outdated information in this skill, report it so Expo can improve:

npx --yes submit-expo-feedback@latest --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 AI agent repeatedly failed or the user had to take over an Expo task, load the expo-skill-feedback skill and follow its eval-candidate flow instead of reusing the command above.

Version History

  • d1c68a2 Current 2026-08-19 21:52

    对齐最新文档和 CLI 规范;新增 EAS CLI 观测使用指南链接;更新引用文件结构以适配新版 SDK 特性。

  • 09eb052 2026-07-24 22:01

Same Skill Collection

.claude/skills/expo-skill-eval/SKILL.md
plugins/expo-experiments/skills/expo-migrate-module/SKILL.md
plugins/expo/skills/eas-update-insights/SKILL.md
plugins/expo/skills/eas-workflows/SKILL.md
plugins/expo/skills/expo-app-clip/SKILL.md
plugins/expo/skills/expo-brownfield/SKILL.md
plugins/expo/skills/expo-data-fetching/SKILL.md
plugins/expo/skills/expo-dev-client/SKILL.md
plugins/expo/skills/expo-dom/SKILL.md
plugins/expo/skills/expo-examples/SKILL.md
plugins/expo/skills/expo-module/SKILL.md
plugins/expo/skills/expo-native-ui/SKILL.md
plugins/expo/skills/expo-project-structure/SKILL.md
plugins/expo/skills/expo-router/SKILL.md
plugins/expo/skills/expo-tailwind-setup/SKILL.md
plugins/expo/skills/expo-upgrade/SKILL.md
plugins/expo/skills/expo-web-to-native/SKILL.md
plugins/expo/skills/eas-app-stores/SKILL.md
plugins/expo/skills/eas-hosting/SKILL.md
plugins/expo/skills/eas-simulator/SKILL.md
plugins/expo/skills/expo-animation/SKILL.md
plugins/expo/skills/expo-design-system/SKILL.md
plugins/expo/skills/expo-skill-feedback/SKILL.md
plugins/expo/skills/expo-ui/SKILL.md

Metadata

Files
0
Version
d1c68a2
Hash
ddf82673
Indexed
2026-07-24 22:01

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 10:39
浙ICP备14020137号-1 $Гость$