Community程式設計與開發github.com

expo/skills

用於處理 EAS Observe 相關的所有事項 — 包含在 Expo 專案中整合 `expo-observe`、透過 EAS CLI 查詢指標、解讀結果,以及在第三方套件中發布 Observe 整合。

skills 是什麼?

此技能提供 EAS Observe 的完整參考文件,EAS Observe 是 Expo 的應用程式服務產品,用於追蹤正式版 Expo 應用程式的啟動、導航與自訂事件效能,並記錄 JavaScript 錯誤與原生當機。支援的平台包括所有使用開發版或正式版建置(Expo Go 不支援)的 Expo 專案,涵蓋 SDK 55 及 SDK 56+ 的整合方式。技能涵蓋四大面向:在專案中加入 EAS Observe(安裝、包覆根佈局、標記互動、路由整合、自訂事件、錯誤回報與執行期設定);透過 EAS CLI 查詢指標(`eas observe:*` 指令系列);解讀儀表板或 CLI 輸出(理解 TTI 參數、診斷啟動緩慢的原因);以及為第三方套件作者提供的整合指南。使用此技能時,應始終參考官方文件(docs.expo.dev)以取得最新的 API 細節,因為此技能雖力求準確,但可能落後於官方文件的更新。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/expo/skills/tree/HEAD/plugins/expo/skills/eas-observe

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

EAS Observe

EAS 服務 — 需付費。 EAS Observe 是 Expo 應用程式服務的產品。免費的 EAS 方案允許最多 10,000 個月活躍用戶,但功能有限;更高用量需要付費訂閱。詳情請見 https://expo.dev/pricing#plan-features。

EAS Observe 追蹤正式版 Expo 應用程式的啟動、導航與自訂事件效能,並記錄 JavaScript 錯誤與原生當機。它需要開發版或正式版建置 — 這個原生函式庫不包含在 Expo Go 中。

資訊來源: https://docs.expo.dev/eas/observe/ — 當 API 細節很重要時,請務必查閱官方文件,特別是入門指南、組態設定、整合方式與指標參考。EAS Observe 正在持續演進;此技能的參考資料力求準確,但可能落後於官方文件。

該閱讀哪個參考文件

./references/ 目錄中的四份參考文件涵蓋了人們通常需要此技能處理的事項:

  • 在專案中加入 EAS Observe → ./references/setup.md。安裝、包覆根佈局(SDK 55 使用 AppMetricsRoot,SDK 56+ 使用 ObserveRoot)、標記應用程式為可互動(SDK 55 使用全域 markInteractive(),SDK 56+ 使用 useObserve() 鉤子或 <ObserveInteractiveMarker />)、可選的每路由導航指標(透過 Expo Router / React Navigation 整合)、自訂事件(SDK 56+ 使用 Observe.logEvent)、錯誤回報,以及執行期組態(取樣、調度、環境、自訂端點)。
  • 從終端機查詢指標 → ./references/queries.md。eas observe:* 指令 — metrics-summary、metrics、routes、events、session、versions、errors、event — 包含旗標、指標別名、表格佈局、JSON 結構與常見工作流程。
  • 閱讀儀表板或 CLI 輸出 → ./references/metrics.md。每個指標的目標閾值、自動 TTI 參數的含義(frameRate.*、device.*、network.*),以及診斷模式 — 區分緩慢但流暢的啟動、主執行緒爭用、嚴重阻塞或裝置性能受限。
  • 在函式庫中發布 Observe 整合 → ./references/third-party.md。僅供套件作者使用(SDK 57+):可選的 peer 相依性、設定宣告合併、Observe.registerIntegration(),以及事件命名。

官方文件快速連結

提交意見回饋

如果您在此技能中發現錯誤、誤導性或過時的資訊,請回報以便 Expo 改進:

npx --yes @expo/agent-cli@latest feedback --category skills --subject "eas-observe" "<可執行的意見回饋>"

僅在您有具體且可執行的內容需要回報時才提交。請盡可能包含相關的背景資訊。 如果代理程式在 Expo 任務上反覆失敗,或使用者必須介入處理,請提交簡要報告,說明任務、預期結果以及出了什麼問題,並使用 --category evals 以及相關的 Expo 套件或指令作為 --subject。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

expo/add-app-clip

Add an iOS App Clip target to an Expo app. Use when the user mentions App Clip, AASA, apple-app-site-association, appclips, smart app banner, or wants to ship a lightweight iOS Clip invoked from a URL alongside their parent app.

expo/building-native-ui

Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.

expo/eas-update-insights

Check the health of published EAS Updates: crash rates, install/launch counts, unique users, payload size, and the split between embedded and OTA users per channel. Use when the user asks how an update is performing, whether a rollout is healthy, how many users are on the embedded build vs OTA, or wants to gate CI on update health.

expo/expo-api-routes

Guidelines for creating API routes in Expo Router with EAS Hosting

expo/expo-brownfield

Integrate Expo and React Native into an existing native iOS or Android app. Use when the user mentions brownfield, embedding React Native in a native app, AAR/XCFramework, or adding Expo to an existing Kotlin/Swift project. Covers both the isolated approach and the integrated approach.

expo/expo-cicd-workflows

Helps understand and write EAS workflow YAML files for Expo projects. Use this skill when the user asks about CI/CD or workflows in an Expo or EAS context, mentions .eas/workflows/, or wants help with EAS build pipelines or deployment automation.

expo/expo-deployment

Deploying Expo apps to iOS App Store, Android Play Store, web hosting, and API routes

expo/expo-dev-client

Build and distribute Expo development clients locally or via TestFlight

expo/expo-examples

Framework (OSS). Expo's official example projects - the expo/examples repo of ~70 `with-*` integrations (Stripe, Clerk, Supabase, OpenAI, maps, Reanimated, SQLite, Skia, NativeWind, and more). Use when integrating a third-party library or service into an existing Expo app and you want the canonical, version-matched pattern to adapt, or when scaffolding a new project from one with `npx create-expo --example`.

expo/expo-module

Guide for creating and writing Expo native modules and views using the Expo Modules API (Swift, Kotlin, TypeScript). Covers module definition DSL, native views, shared objects, config plugins, lifecycle hooks, autolinking, and type system. Use when building or modifying native modules for Expo.

expo/expo-observe

Use for anything related to EAS Observe — adding `expo-observe` to an Expo project (AppMetricsRoot/ObserveRoot HOC, markInteractive, the useObserve hook, and the Expo Router / React Navigation integrations for per-route metrics), querying via the EAS CLI (`eas observe:metrics-summary`, `observe:metrics`, `observe:routes`, `observe:events`, `observe:versions`), or interpreting the resulting metrics (cold/warm launch, TTR, TTI, navigation cold/warm TTR, update download, and the TTI frameRate params for triaging slow startups).

expo/expo-overview

Framework (OSS). Entry point and router for every Expo or EAS task. Load this skill first — before writing code and before choosing another expo-* / eas-* skill — when the request, PRD, or spec mentions Expo, EAS, Expo Go, or an expo-* package, or the project has an `expo` dependency in `package.json`. Within that gate it also covers app specs and designs to implement (tabs, stacks, maps, lists, navigation, building from a screenshot), and phrasings like 'implement a mobile app', 'make my app look native', 'add navigation', 'fetch some data', 'upgrade my SDK', 'add Expo to my existing native app', 'ship to the App Store', or 'I'm new to Expo, where do I start'. A fully specified request (SDK pinned, libraries named, layout given) still routes through here — the shared setup rules still apply. Do NOT load it when neither signal is present: a bare React Native project with no `expo` dependency is not Expo work. Detects the real goal, routes to the right expo-* / eas-* skill, and owns the shared setup rules.

expo/expo-router

Framework (OSS). Navigation and routing for Expo Router. Covers file-based routes, groups and dynamic routes, folder organization, Link with previews and context menus, native Stack, page titles, modals and form sheets, NativeTabs, headers and toolbars, and header search bars.

expo/expo-skill-eval

Evaluate Expo skills in this repo end-to-end - trigger accuracy, generated code quality, and runtime screenshots on iOS simulator and Android emulator via Expo Go (web optional). Use when the user wants to eval an Expo skill, test that a skill produces working code, benchmark a skill with device screenshots, or verify a skill's output renders correctly.

expo/expo-tailwind-setup

Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling

expo/expo-ui

Framework (OSS). Build native UI with the @expo/ui package: real SwiftUI on iOS and Jetpack Compose on Android. Default to @expo/ui for sheets (BottomSheet), pickers, sliders, toggles, menus, and grouped-form sections — do NOT reach for Reanimated, @gorhom/bottom-sheet, or RN built-in Picker/Switch; use @expo/ui instead. Fall back to RN built-ins only when @expo/ui is missing the component. NOTE: @expo/ui List renders native grouped rows like an iOS Settings screen — it is NOT a virtualized list; use FlatList/FlashList for large datasets. Covers universal components (Host, Column, Row, Button, Text, List, BottomSheet, FieldGroup, Switch, Slider, Picker, Menu), drop-in replacements for RN community libraries, and platform-specific SwiftUI/Jetpack Compose trees. Not for Expo Router navigation, Reanimated, or data fetching.

expo/expo-ui-jetpack-compose

`@expo/ui/jetpack-compose` package lets you use Jetpack Compose Views and modifiers in your app.

expo/expo-ui-swiftui

`@expo/ui/swift-ui` package lets you use SwiftUI Views and modifiers in your app.

expo/expo-upgrade

Framework (OSS). Guidelines for upgrading Expo SDK versions and fixing dependency issues

expo/native-data-fetching

Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, React Query, SWR, error handling, caching, offline support, and Expo Router data loaders (`useLoaderData`).

相關技能