CtrlK
BlogDocsLog inGet started
Tessl Logo

vitess

Vitess best practices, query optimization, and connection troubleshooting for PlanetScale Vitess databases. Load when working with Vitess databases, sharding, VSchema configuration, keyspace management, or MySQL scaling issues.

Install with Tessl CLI

npx tessl i github:planetscale/database-skills --skill vitess
What are skills?

Overall
score

84%

Does it follow best practices?

Evaluation96%

1.10x

Agent success when using this skill

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

93%

8%

Multi-Tenant SaaS Database Sharding Design

VSchema design and sharding strategy

Criteria
Without context
With context

Shared primary vindex

100%

60%

Join co-location

100%

100%

xxhash vindex type

0%

100%

Vitess Sequences defined

100%

70%

Sequence in unsharded keyspace

30%

100%

auto_increment linked

100%

100%

Reference table for products

100%

100%

Reference table for tenants

100%

100%

Email lookup vindex

100%

100%

Lookup vindex owner set

100%

100%

No foreign keys in design

100%

100%

100%

7%

Optimize Slow Queries for a Sharded E-Commerce Database

Query optimization for sharded tables

Criteria
Without context
With context

Scatter query identified

100%

100%

Vindex filter added

100%

100%

Correlated subquery rewritten

100%

100%

Cursor-based pagination

100%

100%

OLAP mode for analytics

30%

100%

Lookup vindex recommended

100%

100%

Avoid SELECT star

100%

100%

ORDER BY for determinism

100%

100%

Cross-shard join identified

100%

100%

VEXPLAIN mentioned

100%

100%

Aggregation memory warning

100%

100%

95%

3%

Plan and Script a Production Schema Migration

Schema migration planning

Criteria
Without context
With context

Vitess DDL strategy set

100%

100%

No direct DDL

100%

100%

Postpone-completion used

70%

100%

SHOW VITESS_MIGRATIONS

100%

100%

Tablet throttler mentioned

100%

100%

Revert command included

100%

100%

Cancel command included

100%

100%

Complete command for postponed

100%

100%

Migration UUID captured

100%

100%

Audit log co-located

100%

100%

Sequence for audit log

38%

38%

100%

4%

Migrate a Legacy MySQL Application to Vitess

MySQL-to-Vitess migration compatibility

Criteria
Without context
With context

Stored procedure flagged

100%

100%

Trigger flagged

100%

100%

Event flagged

100%

100%

GET_LOCK flagged

100%

100%

LOCK TABLES flagged

100%

100%

SELECT FOR UPDATE warning

100%

100%

Foreign keys removed

100%

100%

AUTO_INCREMENT replaced

100%

100%

Booking logic rewritten

100%

100%

Clinic_id in booking query

100%

100%

Bulk update without LOCK

50%

100%

92%

22%

Plan a Reshard Operation for a Growing Keyspace

Reshard workflow and traffic switching

Criteria
Without context
With context

VDiff before switchtraffic

0%

100%

Reads switched first

100%

100%

Reverse traffic for rollback

100%

100%

Defer secondary keys

0%

100%

On-DDL stop flag

100%

100%

Correct shard ranges

100%

100%

Source shards specified

100%

100%

250GB shard target noted

0%

0%

Tablet throttler enabled

100%

100%

Complete command at end

100%

100%

Status monitoring included

100%

100%

Evaluated
Agent
Claude Code

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.