frontend-api

Official

Type-safe frontend API calls, done right.

Authorslingr-stack
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill removes the guesswork from building frontend API calls by showing how to compose type-safe GraphQL operations, choose the right UI or data builder, and handle responses correctly in app code.

Core Features & Use Cases

  • Frontend CRUD and Actions: Build create, read, update, delete, and custom action flows for React views, hooks, and services.
  • Type-Safe Query Construction: Use generated @gql types, explicit generics, field selection, pagination, and auto-expansion for references and compositions.
  • Error-Aware UI Handling: Map validation, permission, and not-found unions into field-level or form-level feedback instead of treating every failure the same.
  • Use Case: A frontend engineer can generate a paginated task list, open a detail view, submit an update form, and branch on union responses without writing raw GraphQL strings.

Quick Start

Use the frontend-api skill to generate a type-safe React data flow for fetching, listing, and updating records with pagination and validation handling.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: frontend-api
Download link: https://github.com/slingr-stack/qa-test-drumr/archive/main.zip#frontend-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.