cockroachdb

113 mods across 3 repositories, 32k stars between them.

cockroachdb/claude-plugin

Skill Claude CodeCodex

Guides preparation of compliance documentation for CockroachDB Cloud deployments, covering SOC 2, PCI DSS, ISO 27001, HIPAA, and GDPR certifications. Use when responding to compliance questionnaires, preparing for audits, locating certification documents, or assessing cluster configuration for compliance readiness.

4 1mo ago A 63 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Instructions file CodexOpenCode

AGENTS.md instructions for cockroachdb/cursor-plugin, covering agent instructions for cursor-plugin, what this repo is, rules that prevent breakage and writing style.

1 1mo ago A 360 tokens original Apache-2.0

cockroachdb/cursor-plugin

Instructions file

Claude Code instructions for cockroachdb/cursor-plugin, a project described as: CockroachDB development plugin for Cursor.

1 1mo ago A 5 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Cursor rule

Application-level best practices and anti-patterns when building applications on CockroachDB. Covers transaction retry logic, ORM configuration, schema design, connection management, online DDL, batching, session guardrails, and multi-region patterns. Based on real-world production patterns from…

1 1mo ago A 0 tokens original Apache-2.0

cockroachdb/cursor-plugin

Cursor rule

Advanced CockroachDB application development patterns for JPA/Hibernate, Spring, JavaEE, and set-based SQL. Covers JPA identity generators, Spring AOP transaction retry, JavaEE BMT/CMT retry interceptors, CTE-based set operations, Hibernate batch configuration, entity mapping optimization, and query parallelism for…

1 1mo ago A 0 tokens original Apache-2.0

cockroachdb/cursor-plugin

Cursor rule

CockroachDB operations, SRE, and runbook patterns. Covers cluster maintenance procedures, monitoring and alerting, diagnostic queries, troubleshooting contention and hardware issues, emergency procedures, backup/restore, version upgrades, changefeed management, capacity planning, and query parallelism for bulk…

1 1mo ago C 0 tokens original Apache-2.0

cockroachdb/cursor-plugin

Cursor rule

CockroachDB SQL best practices, anti-patterns, and distributed database patterns. These rules MUST be followed when writing SQL, schema definitions, or application code that interacts with CockroachDB. Covers 24 verified best practices from production workloads.

1 1mo ago A 0 tokens original Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Guides benchmarking and comparing explicit multi-statement transactions versus single-statement CTE transactions in CockroachDB, with fair test methodology, contention analysis, and performance interpretation. Use when comparing transaction formulations, benchmarking CockroachDB workloads under contention…

1 1mo ago A 73 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Guides application developers in designing correct and performant transaction patterns for CockroachDB, covering transaction lifetime, implicit vs explicit transactions, retry handling with exponential backoff, pushing invariants into SQL, selective pessimistic locking, set-based operations, connection pooling…

1 1mo ago A 102 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Guides developers in selecting and implementing multi-region patterns for CockroachDB applications, covering active-passive vs active-active architectures, REGIONAL BY ROW, GLOBAL tables, manual geo-partitioning with lease preferences, and live demo setup with validation queries. Use when designing multi-region…

1 1mo ago A 89 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Analyzes CockroachDB range distribution across tables and indexes using SHOW RANGES to identify range count, size patterns, leaseholder placement, and replication health. Use when investigating hotspots, uneven data distribution, range fragmentation, or validating zone configuration effects without DB Console access.

1 1mo ago A 60 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Estimates storage requirements for CockroachDB online schema change backfills using SHOW RANGES WITH DETAILS, KEYS, INDEXES. Use before CREATE INDEX, ADD COLUMN with INDEX/UNIQUE, ALTER PRIMARY KEY, CREATE MATERIALIZED VIEW, CREATE TABLE AS, REFRESH, or SET LOCALITY on tables with large per-index footprints, to avoid…

1 1mo ago A 83 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Audits optimizer table statistics for staleness, missing coverage, and data quality issues using SHOW STATISTICS. Use when diagnosing poor query performance, unexpected plan changes, or after bulk data changes to identify stale statistics requiring refresh via CREATE STATISTICS.

1 1mo ago A 55 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Monitors CockroachDB background job health by identifying failed, paused, and long-running jobs using SHOW JOBS and SHOW AUTOMATIC JOBS. Surfaces schema changes, backups/restores, automatic statistics collection, and SQL stats compaction jobs without DB Console access. Use when investigating schema change delays…

1 1mo ago A 74 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Ranks and analyzes statement fingerprints using aggregated SQL statistics from crdbinternal.statementstatistics to identify slow, resource-intensive, or error-prone query patterns. Use when investigating historical performance trends, identifying optimization opportunities, or diagnosing recurring slowness without DB…

1 1mo ago A 59 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Analyzes transaction fingerprints using aggregated statistics from crdbinternal.transactionstatistics to identify high-retry transactions, contention patterns, and commit latency issues. Provides historical transaction-level analysis to understand which statement combinations are causing retries, contention, or…

1 1mo ago A 80 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Diagnoses live CockroachDB cluster performance issues by identifying long-running queries, busy sessions, and active transactions using SQL-only interfaces. Use when users report cluster slowness, high CPU, or need to find runaway queries and their source applications without DB Console access.

1 1mo ago A 61 tokens copy · 100% Apache-2.0

molt-fetch

90

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Guide for using molt fetch to migrate data from PostgreSQL, MySQL, Oracle, or MSSQL to CockroachDB. Use when running molt fetch commands, configuring storage backends, handling fetch failures/resumption, or chaining fetch with verify.

1 1mo ago A 53 tokens copy · 100% Apache-2.0

molt-replicator

91

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Guide for using the CockroachDB replicator to continuously replicate changes from PostgreSQL, MySQL, or Oracle to CockroachDB after an initial molt fetch data load. Use when setting up CDC replication, configuring pglogical/mylogical/oraclelogminer, or managing the fetch → replicator cutover workflow.

1 1mo ago A 68 tokens copy · 100% Apache-2.0

molt-verify

92

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Guide for using molt verify to compare source and target databases for schema and row-level consistency after a migration. Use when running verify commands, tuning concurrency/sharding, handling schema mismatches, or validating data integrity post-migration.

1 1mo ago A 50 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Downloads and starts a local CockroachDB cluster for development using the official binary. Use when a developer needs a local CockroachDB instance, when no cluster is available, or when setting up a new development environment.

1 1mo ago C 49 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Manages TLS certificate and encryption key lifecycle across all tiers. Self-Hosted covers certificate expiry monitoring, node/CA/client cert rotation, and Kubernetes cert management. Advanced/BYOC covers managed TLS (no action) and CMEK (Customer-Managed Encryption Key) rotation in your KMS. Standard and Basic have…

1 1mo ago B 108 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Manages CockroachDB cluster capacity across all tiers. Self-Hosted covers node decommissioning for permanent removal and adding nodes for expansion. Advanced/BYOC covers scaling node count and machine size via Cloud Console, API, or Terraform. Standard covers adjusting provisioned compute (vCPUs). Basic auto-scales …

1 1mo ago A 95 tokens copy · 100% Apache-2.0

cockroachdb/cursor-plugin

Skill Claude CodeCodex

Reviews, audits, and modifies CockroachDB cluster settings. Self-Hosted has full control over all settings and start flags. Advanced/BYOC can modify most SQL-level settings but infrastructure settings are managed by CRL. Standard has limited settings access — session variables are the primary tuning mechanism. Basic…

1 1mo ago A 90 tokens copy · 100% Apache-2.0