shared-libraries-guidelines
CommunityStandardize shared libraries across apps.
AuthorZeroGravitySkin-Ron
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill consolidates guidelines for TypeScript shared libraries (types, validation, and utilities) to ensure consistency, reduce duplication, and enable reliable cross-project contracts across frontend, backend, and data-access layers.
Core Features & Use Cases
- Single Source of Truth: Centralizes types, validation schemas, and utilities.
- DB vs App Type Separation: Promotes safe mapping between DB schemas and application models.
- Type-First, Schema-Second: Encourages defining TS types first, then Zod schemas.
- Reusable Enum Schemas: Provides consistent enum definitions and validation.
- Cross-Project Consistency: Enables uniform contracts and naming across teams.
Quick Start
- Add new types under
libs/shared/types/src/lib/and export fromlibs/shared/types/src/index.ts. - Create or update Zod validation schemas under
libs/shared/validation/src/lib/and export fromlibs/shared/validation/src/index.ts. - Build and publish the shared libraries, then update consuming apps if there are breaking changes.
Dependency Matrix
Required Modules
None requiredComponents
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: shared-libraries-guidelines Download link: https://github.com/ZeroGravitySkin-Ron/Claude/archive/main.zip#shared-libraries-guidelines Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.