questpie-core/data-modeling

Define backend data models with a TypeScript builder API.

5|3|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/questpie/questpie --skill questpie-core-data-modeling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: questpie-core/data-modeling
Source: https://github.com/questpie/questpie/tree/main/packages/questpie/skills/questpie-core/data-modeling
Command: npx skills add https://github.com/questpie/questpie --skill questpie-core-data-modeling

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of defining and managing your backend data models, including collections, global settings, and field configurations, ensuring type-safety and consistency.

Core Features & Use Cases

  • Data Modeling: Define collections, globals, and fields using a type-safe builder API.
  • Relations: Establish relationships between different data models (belongs-to, many-to-many).
  • Localization: Support for per-locale content for fields and arrays.
  • Admin UI Configuration: Configure labels, icons, and form layouts for the admin interface.
  • Access Control: Define read, create, update, and delete permissions.
  • Use Case: You are building a blog. Use this Skill to define a 'posts' collection with fields for title, content, author, and publication date, and a 'categories' collection, then link them with a many-to-many relation.

Quick Start

Use the questpie-core/data-modeling skill to define a new collection named 'products' with a 'name' text field and a 'price' number field.

Frequently Asked Questions about questpie-core/data-modeling

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

FAQPage Schema
How do I define backend data models with relations in TypeScript?

Define backend data models using a type-safe TypeScript builder API that supports collections, globals, and fields. Establish belongs-to or many-to-many relations between collections to structure your database schema and generate type-safe APIs.

Can I configure access control and localization for schema fields?

Yes, schema fields support per-locale content localization and granular read, create, update, and delete access control permissions. Configure these settings directly within the TypeScript builder API during model definition.

Does this data modeling approach work with Drizzle ORM?

The data modeling system utilizes Drizzle ORM for underlying database interactions and schema-driven codegen. Define your collections and fields in TypeScript, and the ORM handles type-safe database operations and API generation.

How do I set up an admin UI for my backend data collections?

Configure admin UI settings by defining labels, icons, and form layouts within your collection and global definitions. The TypeScript builder API automatically applies these configurations to generate the admin interface for your data models.

What is the best way to model a many-to-many relationship between collections?

Model many-to-many relationships by defining separate collections and linking them through the builder API. This approach ensures type-safety and modular backend development while automatically generating the necessary database schema and API endpoints.

Do I need TypeScript to use this backend data modeling skill?

Yes, TypeScript is required because the builder API relies on type-safe definitions for collections, globals, and fields. This ensures modular backend development, type-safe database interactions via Drizzle ORM, and schema-driven API codegen.