rad-model

Standardize attributes, identities, and test builders for Datomic-backed applications.

1|Updated Aug 16, 2018
One-click install
npx skills add https://github.com/saskenuba/dotfiles --skill rad-model
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rad-model
Source: https://github.com/saskenuba/dotfiles/tree/main/ai/.claude/skills/rad-model
Command: npx skills add https://github.com/saskenuba/dotfiles --skill rad-model

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The RAD model provides a clear framework for defining attributes, identities, and test builders to model a Datomic-backed data layer, reducing ambiguity and boilerplate when designing entities.

Core Features & Use Cases

  • Understand how defattr definitions, ao/identities, and entity groupings drive entity schemas.
  • Use the optional test-builder pattern (new-MODELNAME) to quickly assemble realistic test data.
  • Translate the data model into supporting artifacts like validations, resolvers, and import/export logic using the RAD approach.

Quick Start

Explore the model_rad sources (eg, src/main/myapp/model_rad) and try creating a sample new-product builder to instantiate a test product.

Frequently Asked Questions about rad-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize Datomic attributes and entity identities for Fulcro RAD?

Standardize Datomic attributes and entity identities by using defattr definitions and grouping them with ao/identities. This RAD model framework reduces boilerplate when designing entity schemas for Fulcro RAD applications.

How do I generate test data builders for a Datomic schema?

Generate test data builders for a Datomic schema by applying the optional new-MODELNAME test-builder pattern. This RAD modeling approach allows you to quickly instantiate realistic test data for your entities.

What is the best way to model a Datomic data layer for downstream code generation?

The best way to model a Datomic data layer for code generation is to standardize attributes and identities using the RAD model. This approach drives the downstream generation of schema definitions, resolvers, and form validations.

Does Fulcro RAD support generating form validations and resolvers from a single data model?

Yes, Fulcro RAD supports generating form validations and resolvers from a single data model. By standardizing defattr usage and entity groupings, the RAD model translates directly into these supporting artifacts.

Why do I need ao/identities grouping when defining entities in a Datomic schema?

You need ao/identities grouping when defining entities in a Datomic schema to drive clear entity schemas and reduce ambiguity. This RAD model framework standardizes how attributes are clustered into coherent entities.

Can I use the RAD model to create import and export logic for Datomic applications?

Yes, you can use the RAD model to create import and export logic for Datomic applications. The standardized data model translates into supporting artifacts including validations, resolvers, and import/export logic.