Composition Data Modeling
CommunityModel and transform composition data efficiently.
Authornategarelik
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides patterns for modeling composition data — the hierarchical structure from product to elements — to support schemas, databases, APIs, and transformations.
Core Features & Use Cases
- TypeScript types & Prisma schema: Clear patterns for types and schema how they map to a composition.
- Flattening & transforms: Helpers to flatten trees and calculate element totals.
- Use Case: Design a Composition API response that returns flattened node arrays and depth totals.
Quick Start
Start by integrating the provided TypeScript types into your project, then create a sample Composition object and verify flattening and totals functions.
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: Composition Data Modeling Download link: https://github.com/nategarelik/composition/archive/main.zip#composition-data-modeling 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.