Agent skill · Data & Analytics

frontend-data-contracts

A portable, framework-agnostic discipline for type safety at the network edge of any React or React Native app. Establishes one typed API client as the single fetch boundary, a parse-don't-validate rule that turns wire JSON into trusted domain types before it enters the app, a single...

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill frontend-data-contracts --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 14 KB
Bundled scripts: none
Path: skills/frontend-data-contracts/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Frontend Data Contracts (typed network boundary) ## When to Use Use this skill when you need a portable, framework-agnostic discipline for type safety at the network edge of any React or React Native app. Establishes one typed API client as the single fetch boundary, a parse-don't-validate rule that turns wire JSON into trusted domain types before it enters the app, a single... > 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 1. **One client is the only fetch boundary.** A single typed `apiClient` wrap

What's inside
Steps it walks through
  1. When to Use
  2. 0. The five core ideas
  3. 1. Directory layout
  4. 2. One client, the only fetch boundary
  5. 3. Parse, don't validate (the boundary transform)
  6. 4. One response envelope
  7. 5. Branded (nominal) identifiers
  8. 6. One normalized error type
  9. 6.1 Where side effects live
  10. 6.2 Per-field errors → form fields
  11. 7. Library adapters
  12. 8. Conventions checklist (enforce in review)
  13. 9. How to apply this skill
  14. Publishing / installing this skill
More from agentic-awesome-skills
All skills →
About this skill
What does the frontend-data-contracts skill do?

A portable, framework-agnostic discipline for type safety at the network edge of any React or React Native app. Establishes one typed API client as the single fetch boundary, a parse-don't-validate rule that turns wire JSON into trusted domain types before it enters the app, a single...

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill frontend-data-contracts --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going