rest-api
Installation
SKILL.md
REST API Standards
Standards for fetching REST API data using TanStack Query with OpenTelemetry tracing.
When to Use
Use REST API only when data is NOT available in GraphQL schema. Always verify GraphQL schema first.
Use these standards when:
- Creating new API endpoints not in GraphQL
- Fetching from legacy REST endpoints
- Integrating with external APIs
- Implementing infinite scroll pagination
- Setting up cache invalidation
Why: GraphQL provides better type safety and reduces over-fetching, but REST is needed for legacy endpoints and external APIs.