relay-best-practices
Pass
Audited by Gen Agent Trust Hub on Apr 23, 2026
Risk Level: SAFE
Full Analysis
- [Documentation Retrieval]: The skill guides the agent to fetch documentation from the official Relay GitHub repository maintained by Facebook. This ensures the agent has access to accurate and up-to-date framework information from a trusted source.
- [Build Tool Integration]: Instructions include using
npx relay-compiler, which is the standard CLI tool for Relay. This is used for generating type definitions and runtime artifacts from GraphQL literals as part of the normal development process. - [Architectural Patterns]: The skill emphasizes patterns like data masking and co-location, which are core security and maintainability features of the Relay framework. It also provides guidance on handling field-level errors using GraphQL directives, which is standard practice for robust application development.
Audit Metadata