model

Guide ScalarDB schema design with partition and clustering key selection.

12|1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/wfukatsu/nexus-architect --skill model-wfukatsu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model
Source: https://github.com/wfukatsu/nexus-architect/tree/main/skills/model
Command: npx skills add https://github.com/wfukatsu/nexus-architect --skill model-wfukatsu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the complex challenge of designing effective ScalarDB schemas, guiding users through partition keys, clustering keys, and indexes with precision and efficiency.

Core Features & Use Cases

  • Interactive Wizard: Guides users through schema design step-by-step.
  • Domain Entity Mapping: Helps define entities and their relationships.
  • Partition Key Optimization: Recommends partition keys for even distribution and access patterns.
  • Clustering Key & Indexing: Assists in selecting clustering keys and secondary indexes.
  • CRUD API & Schema Generation: Warns about CRUD API limitations and generates schema files.

Quick Start

Run the /scalardb:model command to start the schema design wizard.

Frequently Asked Questions about model

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

FAQPage Schema
How do I design a ScalarDB schema for efficient data distribution?

Designing an efficient ScalarDB schema requires selecting partition keys for even data distribution and clustering keys for ordering. This Skill provides an interactive wizard to guide you through entity definition and key optimization based on your access patterns.

What is the role of clustering keys in ScalarDB data modeling?

Clustering keys in ScalarDB data modeling determine the sort order of records within a partition. This Skill assists in selecting appropriate clustering keys and secondary indexes to optimize query performance without degrading write throughput.

How do I map domain entities to a ScalarDB schema?

Mapping domain entities to a ScalarDB schema involves defining your entities and their relationships before translation. This Skill helps define these domain relationships and automatically generates the corresponding schema files for ScalarDB.

Are there CRUD API limitations I should know when designing ScalarDB schemas?

ScalarDB CRUD API limitations can restrict certain schema design choices and access patterns. This Skill explicitly warns you about these API constraints during the schema generation process to prevent structural mismatches with your application logic.

What is the best way to generate a schema file for ScalarDB?

The best way to generate a schema file for ScalarDB is through a guided step-by-step design process. This Skill acts as an interactive wizard, taking your domain definitions and partitioning logic to output a ready-to-use schema file.