Install
$ agentstack add skill-wfukatsu-nexus-architect-model ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →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:
schema.json— Ready for ScalarDB Schema Loaderschema.sql(optional) — SQL DDL equivalent for JDBC/SQL users- 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
- Hot partition: Single value receiving disproportionate traffic
- Large partition: Too many rows under one partition key
- Missing transaction flag: Tables without
"transaction": truecannot participate in transactions - Indexing everything: Each index adds write overhead
- 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.
- Author: wfukatsu
- Source: wfukatsu/nexus-architect
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.