mcpbeat

facebook Skills

72 skills published by facebook across 12 repositories. Together they weigh 292 102 tokens — that is what loading all of them at once would cost you in context.

72 skills 292 102 tokens total

Relay Best Practices
relay

>- Best practices for writing idiomatic Relay code. ALWAYS use this skill when writing or modifying React components that use Relay for data fetching. Covers fragments, queries, mutations, pagination, and common anti-patterns. Use when you see `useFragment`, `useLazyLoadQuery`, `usePreloadedQuery`, `useMutation`, `usePaginationFragment`, `graphql` template literals, `react-relay` imports, or `__generated__/*.graphql` files. Also use when asked to explain Relay concepts, debug Relay issues, or review Relay code.

5k tokens
Relay E2e Test
relay

Write and run markdown-driven e2e tests for Relay. Covers fixture format, server/client code patterns, interaction DSL, snapshots, and running tests.

2k tokens
Relay Performance
relay

>- Performance best practices for Relay applications. Use when optimizing data fetching, reducing re-renders, configuring caching, or improving time to first meaningful paint. Covers query placement, @defer, pagination, fetch policies, garbage collection, fragment granularity, and server-side filtering. Companion to the relay-best-practices skill which covers correctness and architecture.

2k tokens
Add Ir Instruction
hermes

> 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 Hermes intermediate representation. Covers all required files and the patterns for each.

2k tokens
Binary Size Analysis
hermes

> 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", "size analysis", "size regression", "size increase", or asks to measure how commits affect the hermesvm library size.

3k tokens
Gc Safe Coding
hermes

> Rules for writing and reviewing GC-safe C++ code in the Hermes VM runtime. Use when writing, modifying, or reviewing C++ runtime VM code that uses internal Hermes VM APIs (as opposed to code using JSI). This includes working with GC-managed types (HermesValue, Handle, PinnedValue, JSObject, StringPrimitive, etc.), Locals, GCScope, PseudoHandle, CallResult, or any function with _RJS suffix. Typically in lib/VM/, include/hermes/VM/, API/hermes/, or API/napi/.

2k tokens
Modify Jsi Features
hermes

> 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 the JSI Runtime interface. Covers all required files across JSI core, Hermes implementation, and SynthTrace replay support.

4k tokens
Non Interactive Git Rebase
hermes

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 GIT_SEQUENCE_EDITOR, commit splitting with automated hunk selection, and metadata changes (author, message, dates) on any commit in a range.

2k tokens
Architecture
pyre-check

Use when you need to understand the Pyre or Pysa codebase architecture, find where specific functionality is implemented, or navigate the source directory structure. Use when working on OCaml code, debugging type checking or taint analysis issues, or exploring the codebase.

1k tokens
Commit Conventions
pyre-check

Use when creating commits or diffs to apply the correct title prefix, reviewer, and test plan based on the area of the codebase being changed.

142 tokens
Pysa False Negative Debugger
pyre-check

Use when debugging a Pysa false negative (missing taint issue), comparing two Pysa output directories, or finding where taint flow is lost.

3k tokens
Pysa Integration Tests
pyre-check

Use when running, debugging, updating, or creating Pysa end-to-end integration tests. Use when taint analysis tests fail, when expected output files need updating, or when working with .models, .cg, .hofcg, .overrides files under `source/interprocedural_analyses/taint/test/integration`.

1k tokens
Pysa Json Models
pyre-check

Use when reading, writing, or debugging Pysa JSON model output (.models files). Use when working with taint models that describe sources, sinks, TITO, sanitizers, or issues in JSON format.

3k tokens
Creating Endpoints
sapling

> This guide explains how to create new EdenAPI/SLAPI endpoints, covering both streaming and non-streaming patterns.

2k tokens
Edenfs Systemd Triage
sapling

Triage systemd-managed EdenFS issues on Linux devservers and OnDemands. Use when investigating EdenFS service failures, unexpected restarts, systemctl errors, edenfs_upgrade/edenfs_restarter problems, or when a user reports EdenFS is down on a systemd-enabled host. Also use when someone asks how systemd-managed EdenFS works, how to monitor it, or how to check its health. Use when asked to build a timeline of EdenFS lifecycle events, show edenfs restart history, or understand how edenfs reached its current state. Trigger on mentions of edenfs systemd, edenfs@ service, edenfs_upgrade timer, edenfs auto-restart, eden status --debug, systemctl edenfs, edenfs lifecycle management, edenfs timeline, edenfs restart history, or "what happened to edenfs".

12k tokens
Eden Research
sapling

> Load FIRST before searching code in eden/. Contains component-to-file maps, key type names, and architecture diagrams for EdenFS, Sapling, and Mononoke. Tells you exactly which files to read for any task. References contain per-component quick reference tables.

2k tokens
Structured Error Logging
sapling

> Add or review structured error logging in EdenFS daemon (C++) — the ErrorLogger / EdenErrorInfo system that feeds the edenfs_errors table. Use when exception_wrapper / .thenError), instrumenting a failure path, or debugging a wrong stack trace or wrong component. Covers throw-site trace rules, component choice, errorType, noise filtering, gating, and testing.

2k tokens
Write Hook
sapling

Create a Mononoke server-side hook with 3-diff split (tests, wiring, implementation), unit tests, and integration tests

3k tokens
Add Shape Types To Torch Model
pyrefly

> Port a PyTorch model to use pyrefly's tensor shape type system (Tensor[[B, C, H, W]], Int[T]). Use this skill whenever the user wants to add shape annotations to a PyTorch model, type a model with tensor dimensions, port a model to use shape tracking, or annotate model forward methods with tensor shapes. Also use when the user mentions tensor shape ports, Int types for PyTorch, or pyrefly shape checking on a model file. Invoke BEFORE starting any model port — the skill's gated workflow prevents common failure modes.

24k tokens scripts
Modify Shaped Array Dsl
pyrefly

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. Requires a Pyrefly checkout (fbsource or a clone); not usable from a pip/site-packages install.

1k tokens
MCP
memlab
7k tokens
Buck2 Rule Basics
buck2

Guide users through writing their first Buck2 rule to learn fundamental concepts including rules, actions, targets, configurations, analysis, and select(). Use this skill when users want to learn Buck2 basics hands-on or need help understanding rule writing.

17k tokens
Openzl Codec Design
openzl

Design patterns and requirements for OpenZL codecs (located under `src/openzl/codecs/`). **USE AUOMATICALLY** when creating, modifying, or reviewing codecs in OpenZL.

3k tokens
Openzl Component Registry
openzl

Design documentation for the OpenZL component registry located under tests/registry. **USE AUTOMATICALLY** whenever editing files under tests/registry/.

60 tokens
Openzl Gpu Test Frames
openzl

How to mint real OpenZL frames and chunks for GPU decoder tests using the contrib/gpu/testkit utilities (frame_factory, multichunk_frame, frame_verifier), and how to extract a codec's encoded streams via reflection for differential GPU decode. USE when writing or reviewing GPU-decoder tests that need OpenZL-encoded fixtures.

2k tokens
Unitbench Openzl Scenarios
openzl

Use when creating benchmark scenarios for new openzl codec nodes in unitBench - adding kernel-level encode/decode benchmarks or graph-level compress/decompress benchmarks for codecs like bitsplit, delta, transpose, entropy, etc.

2k tokens
Debug Agent Hw Test
fboss

Debug FBOSS AgentHwTest failures - build, run, analyze logs, crash debug, vendor diag shell, hypothesis-driven debugging. Use when running sai_agent_hw_test or multi_switch_agent_hw_test and investigating test failures.

21k tokens scripts
Fboss Code Standards
fboss

FBOSS coding standards and patterns. Auto-loaded when writing code in fboss/ to catch architecture violations, SAI/SDK misuse, thrift_cow pitfalls, platform config errors, and testing gaps. For explicit multi-reviewer review, use /fboss-review instead.

12k tokens
Fboss Review
fboss

Comprehensive FBOSS code review with 11 parallel reviewers (5 generic + 6 FBOSS-specific). Covers reliability, engineering, code quality, silent failures, agent architecture, SAI/SDK, FSDB/thrift_cow, platform/config, testing, and cross-cutting design. Self-contained alternative to /review-diff for FBOSS diffs. Findings shown to user only, never auto-posted.

5k tokens
Camera Streaming
meta-wearables-dat-ios

Stream, video frames, photo capture, resolution/frame rate configuration

952 tokens
Dat Conventions
meta-wearables-dat-ios

Swift patterns, async/await, naming conventions, key types for DAT SDK iOS development

1k tokens
Debugging
meta-wearables-dat-ios

Common issues, Developer Mode, version compatibility, state machine diagnosis

1k tokens
Display Access
meta-wearables-dat-ios

Display capability setup, display-capable device selection, UI DSL, icons, buttons, images, and video playback

2k tokens
Getting Started
meta-wearables-dat-ios

SDK setup, Swift Package Manager integration, Info.plist configuration, and first connection to Meta glasses

1k tokens
Live Debugging MCP
meta-wearables-dat-ios

Use this whenever debugging an iOS DAT app with local DAT Inspector MCP tools, live device events, Meta AI app/device boundary issues, permissions, registration, sessions, streaming, callbacks, or user reports that the app cannot communicate with glasses.

1k tokens
Mockdevice Testing
meta-wearables-dat-ios

MockDeviceKit for testing without physical glasses hardware

854 tokens
Permissions Registration
meta-wearables-dat-ios

App registration with Meta AI, camera permission flows

748 tokens
Sample App Guide
meta-wearables-dat-ios

Building a complete DAT app with camera streaming and photo capture

1k tokens
Session Lifecycle
meta-wearables-dat-ios

Device session states, pause/resume, availability monitoring

891 tokens
Click Target
immersive-web-sdk

Find and click a target object in XR. Use when testing UI interactions, clicking buttons, or verifying interactable elements work correctly.

805 tokens
Iwsdk Debug
immersive-web-sdk

Debug continuous behavior in WebXR scenes — physics, animations, collisions, game loops, or any real-time interaction that happens too fast for an agent to observe. Uses ECS pause/step/snapshot/diff to freeze time and inspect state frame by frame.

1k tokens
Iwsdk Depth Occlusion
immersive-web-sdk

Guide for implementing depth sensing and occlusion in IWSDK projects. Use when adding depth-based occlusion to hide virtual objects behind real-world surfaces, configuring DepthSensingSystem, choosing occlusion modes, or troubleshooting objects that disappear or fail to occlude.

1k tokens
Iwsdk Grab
immersive-web-sdk

Grab an object in the WebXR scene using emulated controllers. Use when the user wants to pick up, move, or test grabbing an object. Supports OneHandGrabbable and TwoHandsGrabbable components which use proximity-based grip (squeeze button), not trigger.

932 tokens
Iwsdk Migrate 0 5
immersive-web-sdk

Migrate an existing IWSDK 0.4.x application to IWSDK 0.5.0. Use when upgrading across the 0.5 boundary, replacing Meta Spatial Editor or GLXF, removing retired Vite plugins, moving UIKitML to runtime-loaded assets, adopting native scene JSON, or resolving 0.5 migration errors.

5k tokens
Iwsdk Physics
immersive-web-sdk

Guide for implementing physics in IWSDK projects. Use when adding physics simulation, configuring rigid bodies, collision shapes, applying forces, creating grabbable physics objects, or troubleshooting physics behavior.

6k tokens
Iwsdk Planner
immersive-web-sdk

IWSDK experience pipeline and planning guide. Use when building a new IWSDK app/game end-to-end, planning new IWSDK features, designing systems/components, reviewing IWSDK code architecture, or when the user asks about IWSDK patterns, ECS design, signals, or reactive programming. Runs a phased ideation → design → grounding → architecture → build → verify → ship pipeline, orchestrating sub-agents per phase where the harness supports them.

30k tokens
Iwsdk Ray
immersive-web-sdk

Ray-based interactions in the WebXR scene — click objects, press UI buttons, or distance-grab with DistanceGrabbable. Use when the user wants to point at and interact with something at a distance, click a UI button, or test ray-based selection.

1k tokens
Iwsdk Scene Composer
immersive-web-sdk

Compose editable static IWSDK scenes from text, images, or hybrid references using a shared application asset manifest, v1 scene JSON, modular scene files, and the managed editor's validation and rendering tools. Use for 3D environments, props, architecture, staged scenes, procedural Three.js assets, custom PBR or shader materials, glTF assets, prefabs, patterns, lighting, camera matching, or visual review.

16k tokens
Iwsdk UI
immersive-web-sdk

Create, place, preview, debug, and connect manifest-backed IWSDK UIKitML assets. Use for spatial panels, browser HUDs, UIKitML layout, fonts, editor previews, or runtime element behavior.

2k tokens
Iwsdk UI Panel
immersive-web-sdk

Create, place, preview, debug, and connect manifest-backed IWSDK UIKitML assets. Use for spatial panels, browser HUDs, UIKitML layout, fonts, editor previews, or runtime element behavior.

2k tokens
Test All
immersive-web-sdk

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, polling, retries, and result aggregation.

2k tokens
Test Audio
immersive-web-sdk

Test audio system (AudioSource loading, playback state, stop, spatial audio) against the audio example using the iwsdk CLI.

2k tokens
Test Ecs Core
immersive-web-sdk

Test ECS core functionality (system registration, components, Transform sync, pause/step/resume, system toggle, entity discovery, snapshots) against the poke example using the iwsdk CLI.

3k tokens
Test Environment
immersive-web-sdk

Test environment system (authored DomeGradient and IBLGradient, component schemas) against the poke example using the iwsdk CLI.

2k tokens
Test Grab
immersive-web-sdk

Test grab system (distance grab, one-hand grab, two-hand grab) against the grab example using the iwsdk CLI.

3k tokens
Test Interactions
immersive-web-sdk

Test XR interactions (ray, poke/touch, dual-mode, audio, UI panel) against the poke example using the iwsdk CLI.

4k tokens
Test Level
immersive-web-sdk

Test level system (LevelRoot, LevelTag, authored environment, scene hierarchy) against the poke example using the iwsdk CLI.

2k tokens
Test Locomotion
immersive-web-sdk

Test locomotion system (slide, snap turn, teleport, jump) against the locomotion example using the iwsdk CLI.

3k tokens
Test Physics
immersive-web-sdk

Test Havok physics system (gravity, rigid bodies, static vs dynamic) against the physics example using the iwsdk CLI.

2k tokens
Test UI
immersive-web-sdk

Test UIKitML asset and ScreenSpace UI behavior against the poke example using the iwsdk CLI.

2k tokens
Xr Mode Test
immersive-web-sdk

Test XR session lifecycle and mode transitions. Use when verifying XR enter/exit behavior, testing mode-dependent features, or debugging session state issues.

424 tokens
Camera Streaming
meta-wearables-dat-android

Session and Stream capability setup, video frames, photo capture, resolution and frame rate configuration

822 tokens
Dat Conventions
meta-wearables-dat-android

Kotlin patterns, DatResult, session and capability conventions for DAT SDK Android development

996 tokens
Debugging
meta-wearables-dat-android

Common issues, Developer Mode, version compatibility, and session and stream diagnosis

1k tokens
Display Access
meta-wearables-dat-android

Display capability setup, display-capable device selection, UI DSL, icons, buttons, images, and video playback

3k tokens
Getting Started
meta-wearables-dat-android

SDK setup, Gradle integration, AndroidManifest configuration, and first connection to Meta glasses

1k tokens
Live Debugging MCP
meta-wearables-dat-android

Use this whenever debugging an Android DAT app with local DAT Inspector MCP tools, live device events, Meta AI app/device boundary issues, permissions, registration, sessions, streaming, or user reports that the app cannot communicate with glasses.

1k tokens
Mockdevice Testing
meta-wearables-dat-android

MockDeviceKit for testing without physical glasses hardware

1k tokens
Permissions Registration
meta-wearables-dat-android

App registration with Meta AI and device permission flows

693 tokens
Sample App Guide
meta-wearables-dat-android

Building a complete DAT app with session creation, camera streaming, and photo capture

805 tokens
Session Lifecycle
meta-wearables-dat-android

Session state, stream state, pause and resume behavior, and device availability monitoring

752 tokens
Iwsdk Planner
immersive-web-sdk

IWSDK experience pipeline and planning guide. Use when building a new IWSDK app/game end-to-end, planning new IWSDK features, designing systems/components, reviewing IWSDK code architecture, or when the user asks about IWSDK patterns, ECS design, signals, or reactive programming. Runs a phased ideation → design → grounding → architecture → build → verify → ship pipeline, orchestrating sub-agents per phase where the harness supports them.

30k tokens