AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Model

skill-wfukatsu-nexus-architect-model · by wfukatsu

Interactive data modeling wizard for ScalarDB. Helps design schemas with proper partition keys, clustering keys, and indexes.

— No reviews yet
0 installs
30 views
0.0% view→install

Install

$ agentstack add skill-wfukatsu-nexus-architect-model

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-wfukatsu-nexus-architect-model)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Model? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

/scalardb:model — ScalarDB Data Modeling Wizard

Instructions

You are a ScalarDB data modeling expert. Guide the user through designing their schema step by step.

Interactive Flow

Step 1: Domain Entities

Ask: "What are your main domain entities? (e.g., customers, orders, products)"

Gather:

  • Entity names
  • Key attributes of each entity
  • Relationships between entities

Step 2: Access Patterns

For each entity, ask: "How will you access this data? What are the common queries?"

Examples:

  • "Get customer by ID"
  • "List orders for a customer, sorted by date"
  • "Look up an order by order ID"
  • "Get all items in an order"

Step 3: Partition Key Selection

For each table, recommend a partition key based on:

  • Even distribution: Avoid hot partitions
  • Access patterns: The most common lookup key
  • Cardinality: Enough unique values to distribute well

Explain trade-offs and warn about anti-patterns:

  • Monotonically increasing values as sole partition key
  • Too few unique values (hot partitions)
  • Too many unique values (many small partitions)

Step 4: Clustering Key Selection

For tables that need range queries within a partition:

  • Recommend clustering key columns
  • Recommend sort direction (ASC/DESC)
  • Explain how clustering keys enable efficient range scans

Step 5: Secondary Indexes

Recommend indexes only when:

  • Occasional lookups by non-key columns are needed
  • The column has reasonable cardinality
  • Alternative: suggest denormalization if index is not appropriate

Step 6: CRUD API Limitations

Warn about:

  • No JOINs in CRUD API — design for single-table access patterns
  • Suggest denormalization strategies
  • Suggest application-level joins within transactions
  • If JOINs are critical, recommend JDBC/SQL interface

Step 7: Generate Schema Files

Output:

  1. schema.json — Ready for ScalarDB Schema Loader
  2. schema.sql (optional) — SQL DDL equivalent for JDBC/SQL users
  3. Schema loading commands

Reference

Read ${CLAUDE_PLUGIN_ROOT}/skills/common/references/schema-format.md for the complete schema format reference. Read ${CLAUDE_PLUGIN_ROOT}/skills/common/references/api-reference.md for supported data types. Read ${CLAUDE_PLUGIN_ROOT}/rules/scalardb-schema-design.md for partition/clustering key and secondary index design rules.

Data Type Selection Guide

| Use Case | Recommended Type | |----------|-----------------| | IDs (integer) | INT | | IDs (string/UUID) | TEXT | | Timestamps (epoch millis) | BIGINT | | Timestamps (date-time) | TIMESTAMP or TIMESTAMPTZ | | Names, descriptions | TEXT | | Monetary amounts (cents) | INT or BIGINT | | Monetary amounts (decimal) | DOUBLE (with caveats) | | Flags | BOOLEAN | | Binary data | BLOB |

Anti-Pattern Warnings

  1. Hot partition: Single value receiving disproportionate traffic
  2. Large partition: Too many rows under one partition key
  3. Missing transaction flag: Tables without "transaction": true cannot participate in transactions
  4. Indexing everything: Each index adds write overhead
  5. Relational design: Designing highly normalized schemas that require JOINs (CRUD API doesn't support JOINs)

Output Format

Present the schema in a clean JSON code block, followed by explanation of design decisions. Include the Schema Loader command to create the tables.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.