create-object-type

Create NovaDB object types with attributes and linked forms via CMS API calls.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/novadb/claude-plugins --skill create-object-type
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-object-type
Source: https://github.com/novadb/claude-plugins/tree/main/consulting/skills/create-object-type
Command: npx skills add https://github.com/novadb/claude-plugins --skill create-object-type

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the multi-step process of creating a new NovaDB object type, its optional attribute definitions, and a corresponding form, eliminating manual API calls and linkage steps.

Core Features & Use Cases

  • Controlled Type Creation: Create a type (typeRef=0) with localized names and descriptions.
  • Attribute Definition Support: Create attribute definition objects (typeRef=10) with data types, required flags, and allowed types.
  • Form Creation and Linking: Build a form (typeRef=50), add attribute ObjRef entries with proper sortReverse ordering, and link the form to the type for create and detail views.
  • Use Case: Provision a new domain entity such as Product with localized labels, attributes, and an editor form in one coordinated workflow.

Quick Start

Create a new NovaDB object type named Product with an English display name and optional attribute definitions on the target branch.

Frequently Asked Questions about create-object-type

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

FAQPage Schema
How do I create a new NovaDB object type with attributes and a form?

To create a NovaDB object type, you provision a type with typeRef=0, optionally create attribute objects with typeRef=10, build a form with typeRef=50, and link the form to the type using deterministic CMS API calls with proper ObjRef ordering.

What is the process for linking a form to a NovaDB object type for detail views?

Linking a form to a NovaDB object type involves creating the form object, adding attribute ObjRef entries with correct sortReverse multi-value ordering, and updating the type to reference the form for its create and detail views.

Can I define required attributes and data types when creating NovaDB CMS objects?

Yes, when creating attribute definition objects with typeRef=10 in NovaDB CMS, you can specify data types, set required flags, and define allowed types using CmsValue entries for attribute metadata.

Why are my NovaDB attribute references not ordering correctly on the form?

Attribute reference ordering issues occur when proper ObjRef multi-value ordering is not applied; you must use the sortReverse parameter during the novadb_cms_update_objects call to ensure correct sequence.

Do I need to verify NovaDB object creation with a fetch call after provisioning?

Yes, confirming object creation with a fetch call using novadb_cms_get_object is required to verify that the type, attributes, and form linkage were successfully committed to the branch.

What's the best way to provision a new domain entity in NovaDB with localized names?

The best way to provision a domain entity in NovaDB is using a coordinated workflow that creates the type with localized CmsValue names and descriptions, provisions attributes, and links an editor form in one process.