data-model-designer

Design construction data models and generate PostgreSQL schemas.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/zangxin75/openclaw-skills --skill data-model-designer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-model-designer
Source: https://github.com/zangxin75/openclaw-skills/tree/main/data-model-designer
Command: npx skills add https://github.com/zangxin75/openclaw-skills --skill data-model-designer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Addresses challenges in construction data management, including fragmented data, inconsistent structures, and difficulties in data integration by providing a systematic approach to data model design.

Core Features & Use Cases

  • Entity & Relationship Definition: Define entities, fields, data types, and relationships between them.
  • Schema Generation: Generate SQL DDL statements for various dialects and JSON Schema representations.
  • ER Diagramming: Create visual Entity-Relationship diagrams using Mermaid syntax.
  • Model Validation: Validate the data model for common issues like missing primary keys or undefined entities.
  • Use Case: Design a comprehensive data model for a new construction project, including entities for projects, activities, cost items, and change orders, then generate the corresponding PostgreSQL schema.

Quick Start

Use the data-model-designer skill to create a PostgreSQL schema for a new construction project.

Frequently Asked Questions about data-model-designer

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

FAQPage Schema
How do I design a data model for a construction project with fragmented data?

Schema generation for construction data produces SQL DDL statements for PostgreSQL and JSON Schema representations. It also generates visual Entity-Relationship diagrams using Mermaid syntax to map out project entities and their relationships.

How do I generate a PostgreSQL schema from a construction data model?

To generate a PostgreSQL schema, you define your construction entities and relationships, then produce the corresponding SQL DDL statements. This skill automates DDL generation specifically for PostgreSQL dialects based on your defined construction project model.

Can I validate a construction data model for missing primary keys or undefined entities?

Yes, construction data models can be validated for common structural issues like missing primary keys or undefined entities. Model validation checks your defined entities and relationships to ensure schema integrity before generating SQL DDL or JSON Schema outputs.

What is the best way to visualize entity relationships for construction project data?

The best way to visualize construction entity relationships is by generating ER diagrams using Mermaid syntax. This skill creates visual Entity-Relationship diagrams that map projects, activities, cost items, and change orders within your data model.

Does this data modeling approach support JSON Schema creation alongside SQL DDL?

Yes, this data modeling approach supports both JSON Schema creation and SQL DDL generation. You can define your construction entities once and output both PostgreSQL schemas and JSON Schema representations for integrated data management.