DB Migrations
kurealnum/dotfiles
A skill your agent uses when generating or regenerating Drizzle migration files, changing database schema tables or columns, resolving migration sequence conflicts after rebase, reviewing migration…
CockroachDB distributed SQL expert covering multi-region deployment, survivability goals, schema design for distributed systems, online schema changes, transaction contention management, follower…
$ npx skills add FerroxLabs/wayland --skill cockroachdb-engineer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install FerroxLabs/wayland cockroachdb-engineer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/FerroxLabs/wayland.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer .claude/skills/cockroachdb-engineer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cockroachdb-engineer" agent skill from https://github.com/FerroxLabs/wayland/tree/main/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer into .claude/skills/cockroachdb-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cockroachdb-engineer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/FerroxLabs/wayland/tree/main/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add FerroxLabs/wayland --skill cockroachdb-engineer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install FerroxLabs/wayland cockroachdb-engineer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FerroxLabs/wayland.git skills-src && mkdir -p .agents/skills && cp -r skills-src/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer .agents/skills/cockroachdb-engineer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cockroachdb-engineer" agent skill from https://github.com/FerroxLabs/wayland/tree/main/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer into .agents/skills/cockroachdb-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cockroachdb-engineer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add FerroxLabs/wayland --skill cockroachdb-engineer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install FerroxLabs/wayland cockroachdb-engineer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FerroxLabs/wayland.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer .cursor/skills/cockroachdb-engineer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cockroachdb-engineer" agent skill from https://github.com/FerroxLabs/wayland/tree/main/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer into .cursor/skills/cockroachdb-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cockroachdb-engineer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/FerroxLabs/wayland.git --path src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add FerroxLabs/wayland --skill cockroachdb-engineer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install FerroxLabs/wayland cockroachdb-engineer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FerroxLabs/wayland.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer .gemini/skills/cockroachdb-engineer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cockroachdb-engineer" agent skill from https://github.com/FerroxLabs/wayland/tree/main/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer into .gemini/skills/cockroachdb-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cockroachdb-engineer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install FerroxLabs/wayland cockroachdb-engineerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add FerroxLabs/wayland --skill cockroachdb-engineer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/FerroxLabs/wayland.git skills-src && mkdir -p .github/skills && cp -r skills-src/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer .github/skills/cockroachdb-engineer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cockroachdb-engineer" agent skill from https://github.com/FerroxLabs/wayland/tree/main/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer into .github/skills/cockroachdb-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cockroachdb-engineer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add FerroxLabs/wayland --skill cockroachdb-engineer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install FerroxLabs/wayland cockroachdb-engineer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/FerroxLabs/wayland.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer .opencode/skills/cockroachdb-engineer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cockroachdb-engineer" agent skill from https://github.com/FerroxLabs/wayland/tree/main/src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer into .opencode/skills/cockroachdb-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cockroachdb-engineer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cockroachdb-engineerCockroachDB distributed SQL expert covering multi-region deployment, survivability goals, schema design for distributed systems, online schema changes, transaction contention management, follower…
Cockroachdb Engineer is an agent skill from FerroxLabs/wayland. CockroachDB distributed SQL expert covering multi-region deployment, survivability goals, schema design for distributed systems, online schema changes, transaction contention management, follower reads, locality-optimized partitioning, and operational best practices for globally distributed SQL databases. Use when the user asks about cockroachdb engineer, cockroachdb engineer best practices, or needs guidance on cockroachdb engineer implementation. Do NOT use when the user needs a different specialized skill or…
Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering Database schema design, Database migrations and SQL. It works with SQL. The repository describes itself as: Wayland - The AI Agent That Perceives. Reasons. Acts. Evolves. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 4c030c7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
nodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cockroachdb Engineer loads about 4k tokens when it runs. Until then it costs about 146 tokens; SKILL.md has 360 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from FerroxLabs/wayland at commit 4c030c7, republished under its Apache-2.0 licence (© FerroxLabs). 360 words, ~3,966 tokens.
.claude/skills/cockroachdb-engineer/SKILL.md (or your agent's skills folder).You are an expert CockroachDB Engineer who designs and operates globally distributed SQL databases. You understand the Raft consensus protocol underpinning CockroachDB, design schemas that minimize cross-region latency, configure multi-region survivability, manage transaction contention, and leverage CockroachDB's unique capabilities for building resilient, globally distributed applications.
CockroachDB is a distributed SQL database that:
- Stores data in sorted key-value ranges (64 MB default)
- Replicates each range via Raft consensus (3 or 5 replicas)
- Supports serializable isolation (strongest level)
- Performs online, non-blocking schema changes
- Scales horizontally by adding nodes
Key concepts:
Range: A contiguous chunk of sorted key-value data (~64 MB)
Replica: A copy of a range stored on a node
Leaseholder: The replica that serves reads and coordinates writes
Raft leader: The replica that coordinates Raft consensus for writes
Gateway: The node that receives the SQL query from the clientSingle-region (3 AZs):
┌─── AZ-1 ───┐ ┌─── AZ-2 ───┐ ┌─── AZ-3 ───┐
│ Node 1 │ │ Node 3 │ │ Node 5 │
│ Node 2 │ │ Node 4 │ │ Node 6 │
└─────────────┘ └─────────────┘ └─────────────┘
Write latency: ~2ms (consensus within region)
Survives: 1 AZ failure
Multi-region (3 regions):
┌── US-East ──┐ ┌── EU-West ──┐ ┌── AP-South ─┐
│ 3 nodes │ │ 3 nodes │ │ 3 nodes │
└─────────────┘ └─────────────┘ └─────────────┘
Write latency: 100-300ms (cross-region consensus)
Survives: entire region failure-- ZONE survivability: survive AZ/zone failure (faster writes)
ALTER DATABASE mydb SET PRIMARY REGION = 'us-east1';
ALTER DATABASE mydb ADD REGION 'us-west1';
ALTER DATABASE mydb ADD REGION 'europe-west1';
ALTER DATABASE mydb SET SURVIVE ZONE FAILURE;
-- REGION survivability: survive entire region failure (slower writes)
ALTER DATABASE mydb SET SURVIVE REGION FAILURE;
-- Requires at least 3 regions and 5 replicas per range-- REGIONAL BY TABLE: All data in the table's home region
-- Best for: tables accessed primarily from one region
ALTER TABLE audit_logs SET LOCALITY REGIONAL BY TABLE IN 'us-east1';
-- Write latency: low (within region)
-- Read from other regions: high (cross-region)
-- REGIONAL BY ROW: Each row lives in its specified region
-- Best for: user data that should be close to the user
ALTER TABLE users ADD COLUMN region crdb_internal_region AS (
CASE
WHEN country IN ('US', 'CA', 'MX') THEN 'us-east1'
WHEN country IN ('GB', 'DE', 'FR') THEN 'europe-west1'
ELSE 'us-east1'
END
) STORED;
ALTER TABLE users SET LOCALITY REGIONAL BY ROW AS region;
-- Write latency: low (in user's home region)
-- Read from home region: low
-- Read from other regions: high (unless using follower reads)
-- GLOBAL: Replicated to all regions, optimized for reads
-- Best for: reference data, configuration, feature flags
ALTER TABLE countries SET LOCALITY GLOBAL;
-- Read latency: low (from any region, uses follower reads)
-- Write latency: high (must propagate to all regions)| Table Type | Locality | Write Latency | Local Read | Remote Read |
|---|---|---|---|---|
| User profiles | REGIONAL BY ROW | Low (home region) | Low | High |
| Orders | REGIONAL BY ROW | Low (home region) | Low | High |
| Product catalog | GLOBAL | High (all regions) | Low | Low |
| Config/settings | GLOBAL | High (all regions) | Low | Low |
| Audit logs | REGIONAL BY TABLE | Low (single region) | Low (home) | High |
| Analytics | REGIONAL BY TABLE | Low (single region) | Low (home) | High |
-- GOOD: UUID primary keys distribute data uniformly
CREATE TABLE users (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
email STRING NOT NULL UNIQUE,
name STRING NOT NULL,
country STRING NOT NULL,
created_at TIMESTAMPTZ DEFAULT now()
);
-- BAD: Sequential IDs create hot ranges (all inserts go to the last range)
CREATE TABLE users (
id SERIAL PRIMARY KEY, -- AVOID in distributed CockroachDB
...
);
-- ACCEPTABLE: Hash-sharded sequential index
-- Use when you need sequential ordering but want distribution
CREATE TABLE events (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
event_type STRING NOT NULL,
payload JSONB,
INDEX idx_events_time (created_at DESC) USING HASH WITH (bucket_count = 8)
);-- Store related data together for efficient joins
-- Use composite primary keys to co-locate parent and child rows
CREATE TABLE orders (
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
customer_id UUID NOT NULL REFERENCES users(id),
status STRING NOT NULL DEFAULT 'pending',
total DECIMAL(10,2),
created_at TIMESTAMPTZ DEFAULT now(),
INDEX idx_customer_orders (customer_id, created_at DESC)
);
CREATE TABLE order_items (
order_id UUID NOT NULL REFERENCES orders(id),
line_number INT NOT NULL,
product_id UUID NOT NULL,
quantity INT NOT NULL,
unit_price DECIMAL(10,2) NOT NULL,
PRIMARY KEY (order_id, line_number)
-- order_items for the same order are stored in the same range
-- because they share the order_id prefix in the primary key
);
-- Querying order + items requires minimal cross-range reads:
SELECT o.*, oi.*
FROM orders o
JOIN order_items oi ON o.id = oi.order_id
WHERE o.id = $1;-- CockroachDB performs schema changes online without locking the table
-- No downtime for: ADD COLUMN, ADD INDEX, ADD CONSTRAINT, DROP COLUMN
-- Add column with default (backfills asynchronously)
ALTER TABLE users ADD COLUMN phone STRING;
-- Add index (built in background, does not block reads or writes)
CREATE INDEX CONCURRENTLY idx_users_email ON users (email);
-- Monitor schema change progress
SELECT job_id, description, status, fraction_completed
FROM [SHOW JOBS]
WHERE job_type = 'SCHEMA CHANGE'
ORDER BY created DESC;
-- Schema change best practices:
-- 1. Add new columns as nullable or with defaults (fast)
-- 2. Avoid adding NOT NULL without a default on large tables (slow backfill)
-- 3. Create indexes CONCURRENTLY (default behavior)
-- 4. Run one schema change at a time per table
-- 5. Test schema changes on staging with production-sized dataCockroachDB uses serializable isolation by default.
When two transactions modify the same rows, one must retry.
Contention scenarios:
1. Two transactions UPDATE the same row simultaneously
2. Multiple transactions INSERT with the same unique key
3. Hot rows that many transactions read-then-write (counters)
Contention indicators:
SHOW STATISTICS -> look for transaction retries
SELECT * FROM crdb_internal.node_txn_stats;-- Strategy 1: Use SELECT FOR UPDATE to acquire locks explicitly
-- This makes contention blocking (wait) instead of aborting (retry)
BEGIN;
SELECT balance FROM accounts WHERE id = $1 FOR UPDATE;
-- Other transactions targeting this row will wait here
UPDATE accounts SET balance = balance - $amount WHERE id = $1;
COMMIT;
-- Strategy 2: Minimize transaction scope
-- BAD: Long transaction holding locks
BEGIN;
SELECT * FROM inventory WHERE product_id = $1 FOR UPDATE;
-- ... call external API here (takes 500ms) ...
UPDATE inventory SET quantity = quantity - 1 WHERE product_id = $1;
COMMIT;
-- GOOD: Do external work outside the transaction
result = callExternalAPI();
BEGIN;
UPDATE inventory SET quantity = quantity - 1
WHERE product_id = $1 AND quantity > 0;
COMMIT;
-- Strategy 3: Use AS OF SYSTEM TIME for read-only workloads
-- Reads historical snapshot, no contention with writers
SELECT * FROM reports AS OF SYSTEM TIME '-10s';
-- Strategy 4: Automatic retry in application
-- CockroachDB returns SQLSTATE 40001 for serialization failures
-- Application should catch and retry the entire transactionimport psycopg2
import time
def run_transaction(conn, fn, max_retries=5):
"""Execute a transaction function with automatic retry on contention."""
for attempt in range(max_retries):
try:
with conn.cursor() as cur:
result = fn(cur)
conn.commit()
return result
except psycopg2.errors.SerializationFailure:
conn.rollback()
sleep_time = (2 ** attempt) * 0.01 # Exponential backoff
time.sleep(sleep_time)
except Exception:
conn.rollback()
raise
raise Exception(f"Transaction failed after {max_retries} retries")
# Usage
def transfer_funds(cur):
cur.execute("SELECT balance FROM accounts WHERE id = %s FOR UPDATE", (from_id,))
balance = cur.fetchone()[0]
if balance < amount:
raise ValueError("Insufficient funds")
cur.execute("UPDATE accounts SET balance = balance - %s WHERE id = %s", (amount, from_id))
cur.execute("UPDATE accounts SET balance = balance + %s WHERE id = %s", (amount, to_id))
run_transaction(conn, transfer_funds)-- Follower reads serve data from the nearest replica (not just the leaseholder)
-- Trades recency for lower latency in multi-region deployments
-- Bounded staleness: read from nearest replica within time bound
SELECT * FROM products
AS OF SYSTEM TIME with_max_staleness('10s');
-- Returns data that is at most 10 seconds old
-- Reads from nearest replica, avoiding cross-region round trip
-- Exact staleness: read at a specific historical timestamp
SELECT * FROM products
AS OF SYSTEM TIME '-30s';
-- Use cases for follower reads:
-- - Product catalog browsing (10s staleness is fine)
-- - Dashboard analytics (30s staleness acceptable)
-- - Search result pages (data freshness less critical)
-- - Report generation (can use older snapshots)
-- Do NOT use follower reads for:
-- - Account balance checks before transactions
-- - Inventory availability before purchase
-- - Anything requiring read-your-own-writes consistencyMetric | Healthy Range | Action if Exceeded
--------------------------|-------------------|-----------------------------
SQL statement latency p99 | <100ms (regional) | Check contention, slow queries
Transaction retry rate | <5% | Reduce contention, add FOR UPDATE
Range unavailable count | 0 | Node or AZ failure, check status
Replication lag | <10s | Network issues, overloaded nodes
LSM read amplification | <20 | Compaction backlog, increase IOPS
Node liveness | All nodes live | Check node health, restart if needed-- Cluster health
SELECT node_id, address, is_live, is_available
FROM crdb_internal.gossip_nodes;
-- Slow queries
SELECT query, count, mean_service_lat, max_service_lat
FROM crdb_internal.node_statement_statistics
ORDER BY mean_service_lat DESC
LIMIT 20;
-- Range distribution across nodes
SELECT node_id, count(*) as range_count
FROM crdb_internal.ranges_no_leases
GROUP BY node_id
ORDER BY range_count DESC;
-- Active transactions and contention
SELECT * FROM crdb_internal.cluster_contention_events
ORDER BY count DESC
LIMIT 20;Schema:
[ ] UUID primary keys (avoid sequential/SERIAL)
[ ] Related rows co-located via composite primary keys
[ ] Hash-sharded indexes for sequential data patterns
[ ] JSONB columns for semi-structured data (avoid excessive indexing)
[ ] Foreign keys used judiciously (each FK check is a distributed read)
Multi-Region:
[ ] Primary region chosen based on majority of users/traffic
[ ] Table locality set per table based on access patterns
[ ] GLOBAL tables for read-heavy reference data
[ ] REGIONAL BY ROW for per-user data with region affinity
[ ] Survivability goal matches business requirements (zone vs region)
Transactions:
[ ] Application-level retry loop for serialization failures (40001)
[ ] SELECT FOR UPDATE for read-modify-write patterns
[ ] Transaction scope minimized (no external calls inside transactions)
[ ] Follower reads enabled for stale-tolerant read workloads
Operations:
[ ] Connection pooling configured (recommended: 4 connections per vCPU)
[ ] Schema changes tested with production-scale data on staging
[ ] Backup schedule configured (BACKUP SCHEDULE)
[ ] Monitoring dashboards for latency, contention, replication lag
[ ] Capacity planning: nodes sized for 50% utilization headroomUse this skill when:
Do NOT use this skill when:
# Cockroachdb Engineer Analysis
## Context Assessment
[Situation summary and constraints]
## Recommended Approach
[Primary recommendation with rationale]
## Implementation Steps
1. [Step with specific details]
2. [Step with specific details]
3. [Step with specific details]
## Trade-offs and Considerations
- [Key trade-off 1]
- [Key trade-off 2]
## Next Steps
- [Immediate action item]
- [Follow-up action item]Input: "Help me implement cockroachdb engineer for a medium-scale production application"
Output: A structured analysis covering current state assessment, recommended cockroachdb engineer approach with specific patterns, implementation roadmap with milestones, and risk mitigation strategies tailored to the application scale and constraints.
© FerroxLabs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer of FerroxLabs/wayland.
Open the folder on GitHubat commit 4c030c7
Cockroachdb Engineer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cockroachdb Engineer this skillFerroxLabs/wayland | 608 | — | ~4k | Automated safety check: Pass | Apache-2.0 | |
| DB Migrationskurealnum/dotfiles | 290 | — | ~820 | Automated safety check: Pass | None | |
| Migrationkortix-ai/suna | 20k | — | ~1.2k | Automated safety check: Pass | Custom licence | |
| Cursor BYOK Database Schemaleookun/cursor-byok | 3.2k | — | ~1.3k | Automated safety check: Pass | MIT | |
| DB ContextSilvioBaratto/optimizer | 176 | — | ~6.4k | Automated safety check: Notes | Custom licence | |
| DatabasesMicrock/ordinary-claude-skills | 401 | — | ~1.9k | Automated safety check: Notes | MIT |
kurealnum/dotfiles
A skill your agent uses when generating or regenerating Drizzle migration files, changing database schema tables or columns, resolving migration sequence conflicts after rebase, reviewing migration…
kortix-ai/suna
How to change the database schema in this repo. An agent skill from kortix-ai/suna.
leookun/cursor-byok
Guides SQLite schema changes in the Cursor BYOK server, keeping SQLx migrations, the Rust store, API contracts and fixtures aligned.
SilvioBaratto/optimizer
Complete knowledge of the optimizer PostgreSQL database: 57 ingestion tables, schema, relationships, live row counts, query patterns, and conventions.
Microck/ordinary-claude-skills
Work with MongoDB (document database, BSON documents, aggregation pipelines, Atlas cloud) and PostgreSQL (relational database, SQL queries, psql CLI, pgAdmin).
TriliumNext/Trilium
A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…
FerroxLabs/wayland
Install, start, connect, and troubleshoot visualization companion projects for Aion/OpenClaw, with Star-Office-UI as the default recommendation.
FerroxLabs/wayland
OpenClaw usage expert: Helps you install, deploy, configure, and use OpenClaw personal AI assistant.
FerroxLabs/wayland
Set up TVControl end to end: install the connector, start TradingView Desktop with its control port open, load a watchlist export, add the indicators they use, and leave a working chart.
FerroxLabs/wayland
End-to-end guide for designing, running, and analyzing A/B tests including experiment design, statistical significance, sample size calculation, common pitfalls, and advanced testing patterns.
FerroxLabs/wayland
Complete academic writing guide covering thesis and dissertation structure, journal article format using IMRaD, literature review methodology, citation management, the peer review process, and…
FerroxLabs/wayland
Web accessibility expertise covering WCAG 2.2 conformance, audit methodology, ARIA patterns, keyboard navigation, screen reader testing, focus management, form accessibility, and automated vs manual…
Works with
Categories
CockroachDB distributed SQL expert covering multi-region deployment, survivability goals, schema design for distributed systems, online schema changes, transaction contention management, follower…. Cockroachdb Engineer is an agent skill from FerroxLabs/wayland. CockroachDB distributed SQL expert covering multi-region deployment, survivability goals, schema design for distributed systems, online schema changes, transaction contention management, follower reads, locality-optimized partitioning, and operational best practices for globally distributed SQL databases.
Cockroachdb Engineer fits situations like: the user asks about cockroachdb engineer; cockroachdb engineer best practices; needs guidance on cockroachdb engineer implementation; the user needs a different specialized skill.
Run `npx skills add FerroxLabs/wayland --skill cockroachdb-engineer -a claude-code`. Or copy the skill folder (src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer in FerroxLabs/wayland) into .claude/skills/cockroachdb-engineer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add FerroxLabs/wayland --skill cockroachdb-engineer -a codex`. Or copy the skill folder (src/process/resources/skills-library/bodies/skills/backend-systems/cockroachdb-engineer in FerroxLabs/wayland) into .agents/skills/cockroachdb-engineer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add FerroxLabs/wayland --skill cockroachdb-engineer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cockroachdb-engineer, .gemini/skills/cockroachdb-engineer, .github/skills/cockroachdb-engineer and .opencode/skills/cockroachdb-engineer in your project.
Going by SKILL.md and its folder, Cockroachdb Engineer needs the command-line tools its instructions call (node). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cockroachdb Engineer is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cockroachdb Engineer: DB Migrations (kurealnum/dotfiles, 290 stars), Migration (kortix-ai/suna, 20k stars), Cursor BYOK Database Schema (leookun/cursor-byok, 3.2k stars) and DB Context (SilvioBaratto/optimizer, 176 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
FerroxLabs (a GitHub user) maintains it in FerroxLabs/wayland, which has 608 GitHub stars. The repository holds 1,194 skills in this directory. The repository was last updated on October 6, 2026.
Source: FerroxLabs/wayland on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.