shared-api-types

Installation
SKILL.md

Shared API Types & Schemas

This skill outlines the standards for using the @eridu/api-types package. This package is the Single Source of Truth for API contracts between Backend, Frontend, and external services.

When to Use

Use Case Location Reason
API Responses packages/api-types Ensures FE and BE agree on response shape
API Requests packages/api-types Ensures inputs are validated consistently
Shared Enums packages/api-types Consistency (e.g., ShowStatus, UserRole)
Internal Service Logic apps/erify_api/... Keep implementation details private
DB Models prisma/schema.prisma DB layer should be separate from API layer

Directory Structure

Organize by Domain Resource:

Related skills
Installs
1
GitHub Stars
1
First Seen
Mar 31, 2026