Add Model Property

Add properties to source models and regenerate client and server models.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/biggs3d/Tools --skill add-model-property
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Add Model Property
Source: https://github.com/biggs3d/Tools/tree/main/.ai-guidance/.claude/skills/add-model-property
Command: npx skills add https://github.com/biggs3d/Tools --skill add-model-property

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides end-to-end guidance to add a new property to a data model, regenerate client/server models, and update ViewModels, while enforcing no edits to generated files.

Core Features & Use Cases

  • Edit source models under /model/*.model/src/ and update property definitions.
  • Run model generation to propagate changes to client and server.
  • Update entity ViewModels and label converters to accommodate new property.

Quick Start

Edit a source model to add the new property, run model generation, then update the corresponding Entity ViewModel and server/client code accordingly.

Frequently Asked Questions about Add Model Property

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

FAQPage Schema
How do I add a new property to an existing data model?

Add a new property to your data model by editing the source model file in /model/*.model/src/, selecting a valid property type (ValueProperty<T>, CommandedProperty<T>, RangedProperty<T>, EnumType, or string[]), then running model generation to propagate changes to client and server automatically.

What property types are supported when extending a model?

Supported property types include ValueProperty<T>, CommandedProperty<T>, RangedCommandedProperty<T>, RangedProperty<T>, EnumType, and string[]. Use unitful property names and ensure type selection matches your data structure requirements.

How do I propagate model changes to client and server code?

After editing source models in /model/*.model/src/, run model generation to automatically propagate property changes to both client and server models. Update corresponding Entity ViewModels and label converters afterward.

Can I edit generated model files directly?

No, do not edit generated files. Only modify source models under /model/*.model/src/, then run model generation. This enforces consistency and prevents manual changes from being overwritten.

What steps follow after adding a model property?

After running model generation, update the corresponding Entity ViewModel and server/client code to handle the new property. This ensures the property integrates fully across your MVC stack.