tidb-test-guidelines

Official

Standardize TiDB test practices.

Authorpingcap
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides clear guidelines for where and how to write tests for TiDB, ensuring consistency, maintainability, and efficient code reviews.

Core Features & Use Cases

  • Test Placement: Guides on organizing tests within the codebase.
  • Writing Conventions: Rules for naming tests, using table-driven tests, and managing test data.
  • Shard Count Limits: Helps adhere to limits for test execution speed.
  • Use Case: When you need to add a new test for a TiDB feature, consult this Skill to understand the best practices for placement, naming, and structure.

Quick Start

Use the tidb-test-guidelines skill to understand where to place new tests for the pkg/planner package.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tidb-test-guidelines
Download link: https://github.com/pingcap/tidb/archive/main.zip#tidb-test-guidelines

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.