crud-ops
Show ScalarDB CRUD operation patterns — builder syntax for Get, Scan, Insert, Upsert, Update, Delete with examples.
Skill by Ryuking1228
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ryuking1228-crud-ops
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
crud-ops- Description
- Show ScalarDB CRUD operation patterns — builder syntax for Get, Scan, Insert, Upsert, Update, Delete with examples. Use when writing or reviewing code against the ScalarDB CRUD (transactional) API, or when the user asks how to express a read/write in ScalarDB without SQL.
- License
- MIT
- Instructions
- 165 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
# /scalardb:crud-ops — ScalarDB CRUD Operations Guide
## Instructions
You are a ScalarDB CRUD operations expert. Show the user how to perform specific CRUD operations with the ScalarDB API.
**Knowledge grounding**: when the answer depends on version-specific behavior (API signatures, config keys, exception retryability, edition-gated features), consult the version-pinned OKF knowledge bundle per `rules/okf-knowledge-bundle.md` and cite the concept's `resource` URL — do not rely on memory.
## Interactive Flow
### Step 1: Determine the operation
Ask: "What operation do you need help with?" if not specified.
Options:
- **Get** — Retrieve a single record by primary key or index
- **Scan** — Retrieve multiple records (partition scan, range scan, scan all, index scan)
- **Insert** — Insert a new record (fails if exists)
- **Upsert** — Insert or update a record
- **Update** — Update an existing record (does nothing if not exists)
- **Delete** — Delete a record
- **Batch** — Execute multiple operations atomically
- **Key construction** — Build single and composite keys
### Step 2: Gather context
Ask about their schema:
- Namespace and table name
- Partition key column(s) and type(s)
- Clustering key column(s) and type(s) if applicable
- Value columns they want to read/write
### Step 3: Generate code
Generate the complete code example including:
- Builder pattern usage
- Key construction
- Result extraction
- Proper exception handling
- Transaction lifecycle (begin, operation, commit, rollback)
## Reference
Read `${CLAUDE_PLUGIN_ROOT}/skills/common/references/api-reference.md` for the complete API reference.
Read `${CLAUDE_PLUGIN_ROOT}/rules/scalardb-crud-patterns.md` for CRUD API coding rules.
## Quick Reference Examples
### Get by Primary Key
```java
Optional<Result> result = tx.get(
Get.newBuilder()
.namespace("ns").table("tbl")
.partitionKey(Key.ofInt("id", 1))
.clusteringKey(Key.ofInt("ck", 2))
.build());
```
### Get by Index
```java
Optional<Result> result = tx.get(
Get.newBuilder()
.namespace("ns").table("tbl")
.indexKey(Key.ofText("order_id", orderId))
.build());
```
### Scan (Partition)
```java
List<Result> results = tx.scan(
Scan.newBuilder()
.namespace("ns").table("tbl")
.partitionKey(Key.ofInt("pk", 1))
.ordering(Scan.Ordering.desc("ck"))
.limit(100)
.build());
```
### Scan (Range)
```java
List<Result> results = tx.scan(
Scan.newBuilder()
.namespace("ns").table("tbl")
.partitionKey(Key.ofInt("pk", 1))
.start(Key.ofInt("ck", 10)).startInclusive(true)
.end(Key.ofInt("ck", 20)).endInclusive(false)
.build());
```
### Scan All
```java
List<Result> results = tx.scan(
Scan.newBuilder()
.namespace("ns").table("tbl")
.all()
.limit(100)
.build());
// Requires: scalar.db.cross_partition_scan.enabled=true
```
### Insert
```java
tx.insert(
Insert.newBuilder()
.namespace("ns").table("tbl")
.partitionKey(Key.ofInt("id", 1))
.textValue("name", "Alice")
.intValue("age", 30)
.build());
```
### Upsert
```java
tx.upsert(
Upsert.newBuilder()
.namespace("ns").table("tbl")
.partitionKey(Key.ofInt("id", 1))
.textValue("name", "Alice")
.intValue("age", 31)
.build());
```From Ryuking1228/ai-dev-codex-version, MIT.
More from Ryuking1228/ai-dev-codex-version
- 0.560score
deliver-backlog
Ryuking1228
Orchestrate the implementation skill group over a backlog: drive each Issue under an Epic through implement → review → (human approval) → merge, in order…
SkillAFreshness: AClaude Code +9 - 0.560score
capture-followup
Ryuking1228
Capture follow-up work discovered during backlog delivery — deferred tasks, out-of-scope findings, doc drift, split-off scope, waived acceptance criteria —…
SkillAFreshness: AClaude Code +9 - 0.560score
analyze-ui
Ryuking1228
Analyze the user interface of an existing system: every screen with what it asks for (inputs, validation), what it shows (outputs, messages), what it lets a…
SkillAFreshness: AClaude Code +9 - 0.559score
ai-dev-loop-backlog-delivery
Ryuking1228
Implement and review an approved AI Dev Loop backlog through pull request creation and explicit merge gates.
SkillAFreshness: AClaude Code +9 - 0.559score
ai-dev-loop-new-app
Ryuking1228
Build a new React, FastAPI, and PostgreSQL application end to end.
SkillAFreshness: AClaude Code +9 - 0.557score
app-start
Ryuking1228
Build a new full-stack app with Codex, React, FastAPI and PostgreSQL; implement features, run locally, verify with automated tests, prepare deployment and…
SkillAFreshness: AClaude Code +9 - 0.556score
ai-dev-loop-architecture
Ryuking1228
Investigate and design an existing or greenfield system.
SkillAFreshness: AClaude Code +9 - 0.556score
ai-dev-loop-product-design
Ryuking1228
Turn a product idea into validated product direction and requirements.
SkillAFreshness: AClaude Code +9 - 0.520score
define-requirements
Ryuking1228
Define system requirements through document intake and interactive elicitation.
SkillBFreshness: BClaude Code +9 - 0.520score
design-api
Ryuking1228
Generate REST/GraphQL/gRPC/AsyncAPI specifications as the project's single, verifiable API contract — named schemas, every status code declared, RFC 9457…
SkillBFreshness: BClaude Code +9 - 0.517score
design-data-layer
Ryuking1228
Generic database design for non-ScalarDB projects.
SkillBFreshness: BClaude Code +9 - 0.517score
analyze
Ryuking1228
Extract ubiquitous language, actor-role-permission matrix, and domain-code mapping.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 28, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from Ryuking1228
- 0.560score
capture-followup
Ryuking1228
Capture follow-up work discovered during backlog delivery — deferred tasks, out-of-scope findings, doc drift, split-off scope, waived acceptance criteria —…
SkillAFreshness: AClaude Code +9 - 0.560score
deliver-backlog
Ryuking1228
Orchestrate the implementation skill group over a backlog: drive each Issue under an Epic through implement → review → (human approval) → merge, in order…
SkillAFreshness: AClaude Code +9 - 0.560score
analyze-ui
Ryuking1228
Analyze the user interface of an existing system: every screen with what it asks for (inputs, validation), what it shows (outputs, messages), what it lets a…
SkillAFreshness: AClaude Code +9 - 0.559score
ai-dev-loop-backlog-delivery
Ryuking1228
Implement and review an approved AI Dev Loop backlog through pull request creation and explicit merge gates.
SkillAFreshness: AClaude Code +9 - 0.559score
ai-dev-loop-new-app
Ryuking1228
Build a new React, FastAPI, and PostgreSQL application end to end.
SkillAFreshness: AClaude Code +9 - 0.557score
app-start
Ryuking1228
Build a new full-stack app with Codex, React, FastAPI and PostgreSQL; implement features, run locally, verify with automated tests, prepare deployment and…
SkillAFreshness: AClaude Code +9
Cite this page
crud-ops skill. Agent Mart. https://agentmart.dev/skills/ryuking1228-crud-ops (last updated 2026-10-24)