frontend-data-api-hooks
OfficialBuild CRUD React hooks with less wiring.
Authorslingr-stack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill removes the repetitive Apollo and GraphQL wiring needed to fetch and mutate data in Drumr React components, so developers can focus on business logic instead of query setup.
Core Features & Use Cases
- Unified API Hooks: Use
useApiFindById,useApiFindBy,useApiCreate,useApiUpdate,useApiDelete,useApiRefresh, anduseApiActionfor declarative data access. - Flexible Response Shapes: Choose plain data or rich field wrappers per call with
format: 'data'orformat: 'rich'. - Production Guardrails: Benefit from auto-executing queries, lazy mutations, implicit skip behavior, pagination, typed generics, and clear failure handling.
- Use Case: A dashboard widget can load records, edit a single field, refresh metadata, and run an action without manually building GraphQL documents or effect-based fetching.
Quick Start
Use this skill to implement Drumr React components with the appropriate unified API hook, choosing either data or rich format and the correct operation for your fetch or mutation.
Dependency Matrix
Required Modules
None requiredComponents
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-data-api-hooks Download link: https://github.com/slingr-stack/qa-test-drumr/archive/main.zip#frontend-data-api-hooks Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.