·json-typed-attributes
{}

json-typed-attributes

Define typed attributes backed by JSON fields in Rails models. Use when models need flexible data storage with type casting, validations, and form integration. Supports integer, decimal, string, text, boolean, date, and array types.

11Installs·0Trend·@rolemodel

Installation

$npx skills add https://github.com/rolemodel/rolemodel-skills --skill json-typed-attributes

How to Install json-typed-attributes

Quickly install json-typed-attributes AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/rolemodel/rolemodel-skills --skill json-typed-attributes
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: rolemodel/rolemodel-skills.

SKILL.md

View raw

This skill helps you work with JSON-backed attributes in Rails models using the StoreJsonAttributes concern. It provides type casting, validation support, and seamless form integration.

Your model must have a JSON column to store the attributes. Common names are data, metadata, or settings:

Use storetypedattributes to define attributes with automatic type casting:

Define typed attributes backed by JSON fields in Rails models. Use when models need flexible data storage with type casting, validations, and form integration. Supports integer, decimal, string, text, boolean, date, and array types. Source: rolemodel/rolemodel-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/rolemodel/rolemodel-skills --skill json-typed-attributes
Category
{}Data Analysis
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from rolemodel/rolemodel-skills

Quick answers

What is json-typed-attributes?

Define typed attributes backed by JSON fields in Rails models. Use when models need flexible data storage with type casting, validations, and form integration. Supports integer, decimal, string, text, boolean, date, and array types. Source: rolemodel/rolemodel-skills.

How do I install json-typed-attributes?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/rolemodel/rolemodel-skills --skill json-typed-attributes Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/rolemodel/rolemodel-skills