F

Facebook技能

add-ir-instruction
facebook
Guide for adding a new IR instruction to the Hermes compiler. Use when the user asks to add, create, or define a new IR instruction (Inst/Instruction) in the…
official
add-ir-instruction
facebook
當新增一則 IR 指令時,必須觸及一組特定的檔案。此技能說明每個檔案、應遵循的模式,以及重要的慣例。
official
add-shape-types-to-torch-model
facebook
Port a PyTorch model to use pyrefly's tensor shape type system (Tensor[B, C, H, W], Dim[T]). Use this skill whenever the user wants to add shape annotations to…
official
add-shape-types-to-torch-model
facebook
將 PyTorch 模型移植以使用 pyrefly 的張量形狀類型系統(Tensor[B, C, H, W]、Dim[T])。每當使用者想要為…添加形狀註解時,請使用此技能。
official
add-torch-shapes-example
facebook
Use when adding a new PyTorch model to Pyrefly's shape-tracking example corpus under tensor-shapes/pyrefly-torch-stubs/examples — i.e. importing a model as a…
official
add-torch-shapes-example
facebook
在將新的 PyTorch 模型加入 Pyrefly 的形狀追蹤範例語料庫(位於 tensor-shapes/pyrefly-torch-stubs/examples)時使用——即匯入模型作為…
official
api-health
facebook
Monitor API health for a Meta app — check rate limits, call volume, and API deprecations. Use to diagnose throttling, plan capacity, or prepare for API version…
official
api-integration
facebook
Guide a developer through setting up a Meta API integration from scratch — discovers the right APIs, fetches setup guides, authentication requirements,…
official
app-health-check
facebook
Run a comprehensive health check on a Meta app — audits settings, security, compliance, app review status, rate limits, and API deprecations in one pass. Use…
official
app-review-prep
facebook
Prepare a Meta app for App Review — checks current status, outstanding requirements, granted privileges, and submission history. Use before submitting an app…
official
binary-size-analysis
facebook
This skill should be used when the user wants to analyze hermesvm binary size changes across a range of commits. Use when the user mentions "binary size",…
official
binary-size-analysis
facebook
分析 hermesvm 共享庫在 git 提交範圍內每次提交的二進位大小變化。生成一份 Markdown 報告,包含每次提交的大小以及顯著增加和減少的摘要表格。
official
buck2-rule-basics
facebook
Guide users through writing their first Buck2 rule to learn fundamental concepts including rules, actions, targets, configurations, analysis, and select(). Use…
official
buck2-rule-basics
facebook
引導用戶撰寫他們的第一個 Buck2 規則,以學習基本概念,包括規則、動作、目標、配置、分析和 select()。使用…
official
camera-streaming
facebook
Stream, video frames, photo capture, resolution/frame rate configuration
official
camera-streaming
facebook
Session and Stream capability setup, video frames, photo capture, resolution and frame rate configuration
official
camera-streaming
facebook
會話與串流能力設定、視訊幀、照片擷取、解析度與幀率配置
official
camera-streaming
facebook
串流、視訊幀、照片擷取、解析度/影格率設定
official
click-target
facebook
Find and click a target object in XR. Use when testing UI interactions, clicking buttons, or verifying interactable elements work correctly.
official
click-target
facebook
在XR中尋找並點擊目標物件。用於測試UI互動、點擊按鈕或驗證可互動元素是否正常運作。
official
compliance-check
facebook
Check compliance status for a Meta app — surfaces open required actions, active violations, and recommendations with remediation guidance. Use to audit…
official
dat-conventions
facebook
Kotlin patterns, DatResult, session and capability conventions for DAT SDK Android development
official
dat-conventions
facebook
Swift patterns, async/await, naming conventions, key types for DAT SDK iOS development
official
dat-conventions
facebook
用於 DAT SDK Android 開發的 Kotlin 模式、DatResult、會話與能力慣例
official
dat-conventions
facebook
Swift 模式、async/await、命名慣例、DAT SDK iOS 開發的關鍵類型
official
debug-webhooks
facebook
Troubleshoot webhook issues for a Meta app — inspect active subscriptions, identify misconfiguration, and send test payloads to verify delivery. Use when…
official
debugging
facebook
Common issues, Developer Mode, version compatibility, and session and stream diagnosis
official
debugging
facebook
Common issues, Developer Mode, version compatibility, state machine diagnosis
official
debugging
facebook
常見問題、開發者模式、版本相容性,以及工作階段與串流診斷
official
debugging
facebook
常見問題、開發者模式、版本相容性、狀態機診斷
official
display-access
facebook
Display capability setup, display-capable device selection, UI DSL, icons, buttons, images, and video playback
official
display-access
facebook
顯示能力設定、可顯示裝置選擇、UI DSL、圖示、按鈕、圖片與影片播放
official
display-access
facebook
顯示能力設定、可顯示裝置選擇、UI DSL、圖示、按鈕、圖片與影片播放
official
display-access
facebook
Display capability setup, display-capable device selection, UI DSL, icons, buttons, images, and video playback
official
extract-errors
facebook
為React應用程式提取並管理錯誤碼。自動從React原始碼中提取錯誤訊息,並為新訊息分配唯一的錯誤碼。偵測「未知錯誤碼」警告,標記需要分配代碼的訊息。透過簡單的yarn指令驗證錯誤碼與當前程式碼庫保持同步。
official
feature-flags
facebook
管理跨渠道的 React 功能標誌、條件式閘道測試,以及除錯特定標誌的測試失敗。四個標誌檔案控制預設值與特定頻道的覆蓋設定(canary、www、React Native、測試渲染器),其中 __VARIANT__ 標誌模擬在兩種狀態下測試的閘道守護者。使用 @gate flagName 編譯指示可在標誌不可用時完全跳過測試,或使用內聯 gate() 在行為不同時分支斷言。新增標誌需要在主檔案及所有分支檔案中新增條目;...
official
fix
facebook
自動化程式碼格式化與語法檢查,在CI檢查前解決風格問題。依序執行Prettier進行程式碼格式化,以及linc進行語法驗證。識別自動修正後仍需手動修復的部分。在提交前捕捉格式化與語法錯誤,避免CI失敗。
official
flags
facebook
檢查並比較 React 發佈通道中的功能旗標狀態。檢視所有通道(www、www-modern、canary、next、experimental、rn 變體)的旗標,或使用 --diff 比較特定通道。輸出格式包括預設表格檢視、CSV 匯出及清理狀態分組。旗標狀態以符號表示:啟用(✅)、停用(❌)、變體測試(🧪)、僅分析(📊)。常見陷阱:__VARIANT__ 旗標在 www 上會以兩種狀態進行測試;使用 --diff 可找出有意義的差異。
official
flow
facebook
針對React程式碼在DOM與原生平台上的靜態型別檢查。四種渲染器選項涵蓋標準DOM、瀏覽器特定程式碼、React Native及Fabric環境。執行yarn flow時可附加渲染器參數;使用yarn flow-ci進行全面但較慢的檢查。報告型別錯誤時會標示檔案位置,協助快速識別與修正問題。需留意常見陷阱:未指定渲染器、未審查的$FlowFixMe抑制標記,以及錯誤的型別匯入。
official
gc-safe-coding
facebook
完整解釋與理由請參閱 doc/GCSafeCoding.md。
official
getting-started
facebook
SDK setup, Swift Package Manager integration, Info.plist configuration, and first connection to Meta glasses
official
getting-started
facebook
SDK setup, Gradle integration, AndroidManifest configuration, and first connection to Meta glasses
official
getting-started
facebook
SDK 設定、Gradle 整合、AndroidManifest 配置,以及首次連接 Meta glasses
official
getting-started
facebook
SDK 設定、Swift Package Manager 整合、Info.plist 配置,以及首次連接 Meta 眼鏡
official
iwsdk-planner
facebook
IWSDK project planning and best practices guide. Use when planning new IWSDK features, designing systems/components, reviewing IWSDK code architecture, or when…
official
iwsdk-planner
facebook
IWSDK 專案規劃與最佳實務指南。在規劃新的 IWSDK 功能、設計系統/元件、審查 IWSDK 程式碼架構,或當…
official
iwsdk-ui-panel
facebook
高效開發與迭代IWSDK UI面板。適用於處理PanelUI元件、除錯UI佈局,或改善IWSDK應用程式中的UI設計。
official
iwsdk-ui-panel
facebook
Develop and iterate on IWSDK UI panels efficiently. Use when working on PanelUI components, debugging UI layout, or improving UI design in IWSDK applications.
official
mockdevice-testing
facebook
MockDeviceKit for testing without physical glasses hardware
official
mockdevice-testing
facebook
MockDeviceKit for testing without physical glasses hardware
official
mockdevice-testing
facebook
用於無實體眼鏡硬體測試的MockDeviceKit
official
mockdevice-testing
facebook
用於無實體眼鏡硬體測試的MockDeviceKit
official
modify-jsi-features
facebook
Guide for adding new JSI functionality to the JavaScript Interface (JSI) layer. Use when the user asks to add, create, or implement new methods or features in…
official
modify-jsi-features
facebook
在 JavaScript 介面(JSI)層新增 JSI 功能的指南。當使用者要求新增、建立或實作新方法或功能時使用。
official
modify-shaped-array-dsl
facebook
Use when Pyrefly computes a wrong tensor shape (or is missing one that can't be expressed in a stub signature) and you need to add or fix a shape-DSL rule.…
official
modify-shaped-array-dsl
facebook
Use when Pyrefly computes a wrong tensor shape (or is missing one that can't be expressed in a stub signature) and you need to add or fix a shape-DSL rule.…
official
non-interactive-git-rebase
facebook
Use when needing to reorder, split, drop, or amend git commits that are not the top commit, without interactive editor access. Covers programmatic rebase via…
official
non-interactive-git-rebase
facebook
在需要重新排序、拆分、刪除或修改非頂層的 Git 提交,且無法使用互動式編輯器時使用。涵蓋透過程式化方式進行 rebase…
official
permissions-registration
facebook
App registration with Meta AI and device permission flows
official
permissions-registration
facebook
App registration with Meta AI, camera permission flows
official
permissions-registration
facebook
與 Meta AI 的應用程式註冊及裝置權限流程
official
permissions-registration
facebook
使用 Meta AI 進行應用程式註冊,相機權限流程
official
relay-best-practices
facebook
Relay 是一個專為 React 設計的 GraphQL 客戶端,強制執行共置、可組合且型別安全的資料擷取。其核心概念是每個元件應透過 GraphQL 片段精確宣告所需的資料,而 Relay 則負責其餘部分——包括擷取、快取、一致性與更新。
official
relay-e2e-test
facebook
Write and run markdown-driven e2e tests for Relay. Covers fixture format, server/client code patterns, interaction DSL, snapshots, and running tests.
official
relay-e2e-test
facebook
撰寫並執行以 Markdown 驅動的 Relay 端到端測試,涵蓋 fixture 格式、伺服器/客戶端程式碼模式、互動 DSL、快照以及測試執行。
official
relay-performance
facebook
Performance best practices for Relay applications. Use when optimizing data fetching, reducing re-renders, configuring caching, or improving time to first…
official
sample-app-guide
facebook
Building a complete DAT app with session creation, camera streaming, and photo capture
official
sample-app-guide
facebook
使用會話建立、相機串流與拍照功能,建構完整的 DAT 應用程式
official
sample-app-guide
facebook
使用相機串流與拍照功能建構完整的 DAT 應用程式
official
search-docs
facebook
Search Meta developer documentation for API guides, references, and tutorials. Use when looking up how a Meta API works, finding integration guides, or…
official
session-lifecycle
facebook
Device session states, pause/resume, availability monitoring
official
session-lifecycle
facebook
Session state, stream state, pause and resume behavior, and device availability monitoring
official
session-lifecycle
facebook
會話狀態、串流狀態、暫停與恢復行為,以及裝置可用性監控
official
session-lifecycle
facebook
裝置會話狀態、暫停/恢復、可用性監控
official
test
facebook
在React程式碼庫中跨多個發行通道與配置執行測試。支援六個發行通道:source(預設)、experimental、www、www with variant false、stable 與 classic,各自具有不同的功能旗標配置。接受測試模式、TDD 的監控模式,以及用於測試不同程式碼路徑的變體旗標。需要明確的測試模式參數以避免執行整個測試套件;使用 --silent 旗標來顯示失敗資訊,並使用 --no-watchman 進行沙箱隔離...
official
test-all
facebook
Parallel test orchestrator. Runs all 9 test suites concurrently via Task sub-agents and the iwsdk CLI. Handles build, example setup, dev servers, agent launch,…
official
test-all
facebook
平行測試協調器。透過 Task 子代理與 iwsdk CLI 同時執行所有 9 個測試套件。處理建置、範例設定、開發伺服器、代理啟動…
official
test-audio
facebook
Test audio system (AudioSource loading, playback state, stop, spatial audio) against the audio example using the iwsdk CLI.
official
test-audio
facebook
使用 iwsdk CLI 測試音訊範例中的音訊系統(AudioSource 載入、播放狀態、停止、空間音訊)。
official
test-ecs-core
facebook
Test ECS core functionality (system registration, components, Transform sync, pause/step/resume, system toggle, entity discovery, snapshots) against the poke…
official
test-ecs-core
facebook
測試ECS核心功能(系統註冊、元件、Transform同步、暫停/逐步執行/恢復、系統切換、實體發現、快照)以對抗poke…
official
test-environment
facebook
Test environment system (DomeGradient, IBLGradient, default lighting, component schemas) against the poke example using the iwsdk CLI.
official
test-environment
facebook
使用 iwsdk CLI 對照 poke 範例測試環境系統(DomeGradient、IBLGradient、預設照明、元件架構)。
official
test-grab
facebook
Test grab system (distance grab, one-hand grab, two-hand grab) against the grab example using the iwsdk CLI.
official
test-grab
facebook
使用 iwsdk CLI 對抓取範例進行測試抓取系統(距離抓取、單手抓取、雙手抓取)的測試。
official
test-interactions
facebook
Test XR interactions (ray, poke/touch, dual-mode, audio, UI panel) against the poke example using the iwsdk CLI.
official
test-interactions
facebook
使用 iwsdk CLI 針對 poke 範例測試 XR 互動(光線、點擊/觸碰、雙模式、音訊、UI 面板)。
official
test-level
facebook
Test level system (LevelRoot, LevelTag, default lighting, scene hierarchy) against the poke example using the iwsdk CLI.
official
test-level
facebook
使用 iwsdk CLI 對照 poke 範例測試等級系統(LevelRoot、LevelTag、預設照明、場景層級)。
official
test-locomotion
facebook
Test locomotion system (slide, snap turn, teleport, jump) against the locomotion example using the iwsdk CLI.
official
test-locomotion
facebook
使用 iwsdk CLI 測試移動系統(滑行、快轉、傳送、跳躍)對照移動範例。
official
test-physics
facebook
Test Havok physics system (gravity, rigid bodies, static vs dynamic) against the physics example using the iwsdk CLI.
official
test-physics
facebook
使用 iwsdk CLI 測試 Havok 物理系統(重力、剛體、靜態與動態)與物理範例的對比。
official
test-ui
facebook
Test UI system (PanelUI, ScreenSpace) against the poke example using the iwsdk CLI.
official
test-ui
facebook
使用 iwsdk CLI 針對 poke 範例測試 UI 系統(PanelUI、ScreenSpace)。
official
verify
facebook
針對React貢獻的預提交驗證,包含並行型別檢查與測試。依序執行格式化與語法檢查,於首次失敗時停止以提早發現問題。透過子代理程式並行執行型別檢查及雙重測試套件(原始碼與www),以提升效率。接受可選的測試模式參數,用以篩選執行的測試。當任何步驟失敗時,提供詳細的失敗報告與建議修正方式。
official
webhook-setup
facebook
Set up webhooks for a Meta app end-to-end — discover available topics, subscribe to fields, and verify with a test payload. Use when configuring webhooks for…
official
xr-mode-test
facebook
Test XR session lifecycle and mode transitions. Use when verifying XR enter/exit behavior, testing mode-dependent features, or debugging session state issues.
official
xr-mode-test
facebook
測試XR工作階段生命週期與模式轉換。用於驗證XR進入/退出行為、測試依賴模式的功能,或除錯工作階段狀態問題時使用。
official