Creating Ash Resources
CommunityBuild robust data models with Ash.
Software Engineering#postgresql#multi-tenancy#data modeling#elixir#ash framework#resource definition
Authorshotleybuilder
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive guide to creating new domain resources using the Ash Framework, ensuring proper data modeling, multi-tenancy, and integration with PostgreSQL and ElectricSQL.
Core Features & Use Cases
- Declarative Resource Definition: Learn to define resources, attributes, relationships, and actions in a declarative Elixir syntax.
- Multi-Tenancy Enforcement: Understand how to implement organization-scoped data isolation, a critical requirement for most applications.
- Use Case: You need to add a new
Productentity to your e-commerce backend. This Skill will guide you through defining theProductresource, its attributes (likename,price,organization_id), its relationship toOrganization, and the necessary CRUD actions, ensuring it's ready for sync and secure.
Quick Start
Use the creating ash resources skill to define a new Product resource with name, price, and organization_id attributes.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: Creating Ash Resources Download link: https://github.com/shotleybuilder/sertantai-legal/archive/main.zip#creating-ash-resources 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.