Creating Ash Resources

Community

Build robust data models with Ash.

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 Product entity to your e-commerce backend. This Skill will guide you through defining the Product resource, its attributes (like name, price, organization_id), its relationship to Organization, 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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.