frontend-data-contracts

Installation
SKILL.md

Frontend Data Contracts (typed network boundary)

Portable skill — readable by Claude Code, OpenCode, Codex, Cursor, Windsurf, and others. This skill describes a discipline at the network edge — one client, one envelope, one error type, validated types — not a state library or a styling system. It pairs with the frontend-architecture skill (the client lives in shared/api-client/) and is the foundation the frontend-optimistic-mutations skill builds on.

The goal: the moment data crosses from the network into the app, it stops being any-shaped wire JSON and becomes a trusted, typed domain value — or it becomes a single, typed error. There is exactly one place this transformation happens, and nothing untyped escapes it.


0. The five core ideas

Installs
3
GitHub Stars
9
First Seen
Jun 14, 2026
frontend-data-contracts — stareezy-1/frontend-architecture-skill