add-attribute-to-type

Official

Add a new attribute to all type forms

Authornovadb
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Adding a new attribute to an existing NovaDB object type and ensuring it appears consistently across the create form and all detail forms can be tedious and error-prone when done manually. This Skill automates the read-create-update sequence required to create an attribute definition and append it to form content while preserving existing field order and metadata.

Core Features & Use Cases

  • Read current type and forms: Fetches the object type to locate create and detail form IDs using attributes 5001 and 5002.
  • Create attribute definition: Builds a localized attribute definition (names, data type, constraints) and creates it via the API.
  • Update forms safely: Reads form content (attribute 5053), appends the new attribute as individual CmsValue entries with proper sortReverse ordering, and writes the complete list back.
  • Use case: Add a new searchable or display field to an existing content type during a schema migration or feature rollout without breaking existing forms.

Quick Start

Add a new attribute named summary to the article type on branch main and return the created attribute definition and the form ID it was added to.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: add-attribute-to-type
Download link: https://github.com/novadb/claude-plugins/archive/main.zip#add-attribute-to-type

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.