What problem does it solve?
This Skill eliminates the risk of inconsistent, non-compliant code contributions to the pingcap/tidb project by providing a standardized, experience-backed coding playbook, removing the need to reinvent implementation patterns or debug avoidable pitfalls from scratch.
Core Features & Use Cases
- Standardized Implementation Heuristics: Clear rules for storage SQL, service/handler logic, runtime visibility guards, and data semantics to align with TiDB project conventions.
- Built-in Quality Guardrails: Test design patterns, completion checklists, and common pitfall warnings to ensure cross-layer consistency and pass code reviews faster.
- Use Case: When contributing new features or bug fixes to pingcap/tidb, use this Skill to validate your implementation against proven patterns, avoid common errors like incorrect visibility guards or flawed duration aggregation, and meet project quality standards.
Quick Start
Use the tidb-coding-reference skill to guide your implementation of a new TiDB storage method and associated HTTP handler, ensuring it follows project conventions for SQL semantics, error handling, and test coverage.