ecto-schemas
OfficialModel Elixir database entities with precision.
Software Engineering#data integrity#associations#elixir#ecto#schemas#embedded schemas#database modeling
AuthorTheBushidoCollective
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you effectively model your database entities in Elixir applications using Ecto schemas, defining field types, associations, and embedded schemas for robust data structures. It automates the process of database schema definition.
Core Features & Use Cases
- Basic Schema Definition: Define database table structures with fields, types (string, integer, decimal, boolean, datetime, enum, map, array, binary), and
timestamps(). - Associations: Model relationships like
belongs_to,has_many,has_one, andmany_to_manyto connect your data entities. - Embedded Schemas: Store nested JSON-like data directly within a parent schema, simplifying complex data structures without extra tables.
- Use Case: You're building a blog platform and need to define
Post,Comment, andUserentities. Use this Skill to quickly set up their schemas, definePost has_many Comments,Comment belongs_to Post, and embed anAddressschema directly into theUserfor billing information, ensuring data integrity and clear relationships.
Quick Start
Use the ecto-schemas skill to define an Ecto schema for a Product with fields for name (string), price (decimal), and quantity (integer).
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: ecto-schemas Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#ecto-schemas 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.