·json-typed-attributes
{}

json-typed-attributes

Definieren Sie typisierte Attribute, die durch JSON-Felder in Rails-Modellen unterstützt werden. Verwenden Sie es, wenn Modelle eine flexible Datenspeicherung mit Typumwandlung, Validierungen und Formularintegration benötigen. Unterstützt die Typen Ganzzahl, Dezimalzahl, Zeichenfolge, Text, Boolescher Wert, Datum und Array.

11Installationen·0Trend·@rolemodel

Installation

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

So installieren Sie json-typed-attributes

Installieren Sie den KI-Skill json-typed-attributes schnell in Ihrer Entwicklungsumgebung über die Kommandozeile

  1. Terminal öffnen: Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Installationsbefehl ausführen: Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/rolemodel/rolemodel-skills --skill json-typed-attributes
  3. Installation überprüfen: Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code, Cursor oder OpenClaw

Quelle: rolemodel/rolemodel-skills.

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:

Definieren Sie typisierte Attribute, die durch JSON-Felder in Rails-Modellen unterstützt werden. Verwenden Sie es, wenn Modelle eine flexible Datenspeicherung mit Typumwandlung, Validierungen und Formularintegration benötigen. Unterstützt die Typen Ganzzahl, Dezimalzahl, Zeichenfolge, Text, Boolescher Wert, Datum und Array. Quelle: rolemodel/rolemodel-skills.

Fakten (zitierbereit)

Stabile Felder und Befehle für KI/Such-Zitate.

Installationsbefehl
npx skills add https://github.com/rolemodel/rolemodel-skills --skill json-typed-attributes
Kategorie
{}Datenanalyse
Verifiziert
Erstes Auftreten
2026-02-22
Aktualisiert
2026-03-10

Browse more skills from rolemodel/rolemodel-skills

Schnelle Antworten

Was ist json-typed-attributes?

Definieren Sie typisierte Attribute, die durch JSON-Felder in Rails-Modellen unterstützt werden. Verwenden Sie es, wenn Modelle eine flexible Datenspeicherung mit Typumwandlung, Validierungen und Formularintegration benötigen. Unterstützt die Typen Ganzzahl, Dezimalzahl, Zeichenfolge, Text, Boolescher Wert, Datum und Array. Quelle: rolemodel/rolemodel-skills.

Wie installiere ich json-typed-attributes?

Öffnen Sie Ihr Terminal oder Kommandozeilen-Tool (Terminal, iTerm, Windows Terminal, etc.) Kopieren Sie diesen Befehl und führen Sie ihn aus: npx skills add https://github.com/rolemodel/rolemodel-skills --skill json-typed-attributes Nach der Installation wird der Skill automatisch in Ihrer KI-Programmierumgebung konfiguriert und ist bereit zur Verwendung in Claude Code, Cursor oder OpenClaw

Wo ist das Quell-Repository?

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