objectstack-data

Design ObjectStack business data schemas with Zod, CEL formulas, and seed datasets.

22|6|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/objectstack-ai/framework --skill objectstack-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: objectstack-data
Source: https://github.com/objectstack-ai/framework/tree/main/skills/objectstack-data
Command: npx skills add https://github.com/objectstack-ai/framework --skill objectstack-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you design ObjectStack business data schemas so your objects, fields, permissions, validations, indexes, and seed datasets are explicit, consistent, and safe for AI agents and runtime execution.

Core Features & Use Cases

  • Object schema design: Define object identity, field layouts, and capability flags in ObjectStack’s Zod-driven data protocol.
  • Field modeling & relationships: Choose correct field types (including lookup vs master_detail vs tree) and model relationships with the right constraints.
  • Governance & safety: Add declarative validations (including state machines) and row-level security (RLS) to enforce access rules at the data layer.
  • Performance & lifecycle: Configure indexes and lifecycle hooks (before/after events) plus seed datasets using defineDataset() for fixtures and bootstrap data.
  • Use cases: When creating or modifying *.object.ts and *.seed.ts files, modeling relationships, configuring per-object access control, implementing lifecycle hooks, or preparing demo/reference datasets.

Quick Start

Use the objectstack-data skill to design the fields, validations, permissions, indexes, and seed data for a new business object called support_case in your ObjectStack project.

Frequently Asked Questions about objectstack-data

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

FAQPage Schema
How do I design ObjectStack data schemas with validations and row-level security?

Design ObjectStack data schemas by defining objects, fields, and relationships, then applying declarative validations and row-level security rules to enforce access control directly at the data layer.

What is the best way to model lookup vs master_detail relationships in ObjectStack?

Modeling ObjectStack relationships requires choosing correct field types like lookup, master_detail, or tree, and applying the right constraints to ensure data integrity across related objects.

How do I configure lifecycle hooks and indexes for ObjectStack business objects?

Configure ObjectStack lifecycle hooks by defining before/after events, and set up indexes to optimize performance and data access patterns within your object schema definitions.

Can I use Zod schemas to define state machines and seed datasets in ObjectStack?

Yes, ObjectStack uses Zod-driven data protocols to define object schemas and state machines, while the defineDataset() function prepares deterministic seed datasets for fixtures and bootstrap data.

What are the boundaries of ObjectStack data modeling when configuring object files?

ObjectStack data modeling strictly covers schema, validations, permissions, indexes, and seed data, intentionally avoiding query, API, and UI responsibilities handled by other skills.