api-tier-architecture

Official

3-tier API architecture for web and mobile.

Authorplanetaryescape
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a robust cross-platform API architecture template that unifies web and mobile data access through a 3-tier model: Convex WebSocket for real-time updates, SSE for near-real-time mobile streams, and REST for reliable fallbacks. It also consolidates platform detection, hybrid hooks, and a DAL pattern to ensure secure, scalable data access across layers.

Core Features & Use Cases

  • Cross-platform data access: Unified data fetching across desktop web and mobile devices using Convex WebSocket, SSE, and REST.
  • Platform-aware data hooks: Hybrid hooks that switch data strategies based on client capabilities and context.
  • DAL-driven server access: Data access layer enforces ownership, validation, and consistent response envelopes.
  • Use Case: Build a feature that streams real-time inventory updates to a web dashboard while providing reliable REST fallbacks for offline mobile clients.

Quick Start

Set up a 3-tier API architecture with Convex WebSocket, SSE, and REST, wire in platform detection and DAL, and create a hybrid data hook for cross-platform data fetching.

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: api-tier-architecture
Download link: https://github.com/planetaryescape/blah.chat/archive/main.zip#api-tier-architecture

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