09-data-fetching

Community

Unify API access with a typed data layer.

Authorkennypallchizaca-coder
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Calling APIs directly from UI components leads to duplication, inconsistent error handling, and fragile authentication flows. This skill introduces a centralized, typed API layer with a single client and per-feature repositories to standardize data access, error handling, and testing across the app.

Core Features & Use Cases

  • Centralized API client configured from environment settings with base URL, timeout, and credentials behavior.
  • Per-feature repositories that map endpoints to strongly typed response interfaces, enabling safer composition and easier testing.
  • Resource-based loading with cancellation, retries, and built-in loading/error state across REST, GraphQL, or internal APIs.
  • Robust global error handling for 401/403 and server errors, plus tests to protect contracts and interceptor behavior.

Quick Start

Configure a shared API client from environment config and expose feature repositories with typed responses.

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: 09-data-fetching
Download link: https://github.com/kennypallchizaca-coder/agentic-full-stack-skills/archive/main.zip#09-data-fetching

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 471,000+ vetted skills library on demand.